Collapse All
Parallels Virtualization SDK
PrlVmCfg_GetTravelModeEnterCondition Function
PHT_VM_CONFIGURATION

Returns the travel mode enter condition.

Syntax
PRL_RESULT PrlVmCfg_GetTravelModeEnterCondition(
    PRL_HANDLE hVmCfg, 
    PRL_BATTERY_ENTER_CONDITION_PTR pnCondition
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
pnCondition
[out] A pointer to a variable the receives the result.
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.