Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_SetTravelModeEnterThreshold Function
PHT_VM_CONFIGURATION

Sets the travel mode enter battery threshold (percentage).

Syntax
PRL_RESULT PrlVmCfg_SetTravelModeEnterThreshold(
    PRL_HANDLE hVmCfg, 
    PRL_UINT32 nThreshold
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
nThreshold
The battery threshold (percentage).

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.