PDD_SetPowerState (Compact 2013)
3/26/2014
Set driver power state.
This method is called when IOCTL_POWER_SET is received by the MDD layer.
Syntax
DWORD PDD_SetPowerState(
LPVOID PDDContext,
CEDEVICE_POWER_STATE PowerState
);
Parameters
- PDDContext
[in] This is the return value of PDD_Init.
- PowerState
[in] Refer to the documentation for CEDEVICE_POWER_STATE.
Return Value
PDD specific. ERROR_SUCCESS represents success. Any other value will be treated as error
Requirements
Header |
Developer Implemented |
Library |
Developer Implemented |