Collapse All
Parallels Virtualization SDK
PrlVmCfg_GetTravelModeEnterThreshold Function
PHT_VM_CONFIGURATION

Returns the travel mode enter battery threshold (percentage).

Syntax
PRL_RESULT PrlVmCfg_GetTravelModeEnterThreshold(
    PRL_HANDLE hVmCfg, 
    PRL_UINT32_PTR pnThreshold
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
pnThreshold
[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.