Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_SetTpmType Function
PHT_VM_CONFIGURATION

Sets TPM type for the virtual machine.

Syntax
PRL_RESULT PrlVmCfg_SetTpmType(
    PRL_HANDLE hVm, 
    PRL_TPM_TYPE nTpmType
);
File

PrlApiVm.h

Parameters

nTpmType
TPM type value.
handle
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid PHT_VIRTUAL_MACHINE handle or NULL pointer to the output buffer was specified. 

PRL_ERR_SUCCESS - operation completed successfully 

Links
© 2021 Parallels International GmbH. All rights reserved.