Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_IsProtected Function
PHT_VM_CONFIGURATION

Determines whether the virtual machine is in protected state

Syntax
PRL_RESULT PrlVmCfg_IsProtected(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL_PTR pbProtected
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
pbProtected
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that virtual machine is protected. PRL_FALSE indicates otherwise.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer to buffer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.