Collapse All
Parallels C API Reference
PrlVm_ToolsSetPowerSchemeSleepAbility Function
PHT_VIRTUAL_MACHINE

brief Allow/Forbid guest go to sleep mode by changing power scheme values.

Syntax
PRL_RESULT PrlVm_ToolsSetPowerSchemeSleepAbility(
    PRL_HANDLE hVm, 
    PRL_UINT32 uAbility
);
File

PrlApiVm.h

Remarks

param[in] A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine. param[in] uAbility - values of PRL_POWER_SCHEME_SLEEP_ABILITY enum

Links
Copyright © 1999-2015 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!