Collapse All
Parallels Virtualization SDK
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-2017 Parallels International GmbH. All rights reserved.