Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This function requests that the bus driver return the current power state of the device.
Syntax
BOOL GetDevicePowerState (
HANDLE hBusAccess,
PCEDEVICE_POWER_STATE pPowerState,
PVOID pReserved
);
Parameters
- hBusAccess
[in] Handle obtained from CreateBusAccessHandle.
- pPowerState
[out] Power state specified by a filled in CEDEVICE_POWER_STATE structure.
- pReserved
[in] Reserved for future use. Set to NULL.
Return Value
Returns TRUE if successful. Otherwise, it returns FALSE.
Requirements
| Header | ceddk.h |
| Library | CEDDK.lib |
| Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
CEDDK Dynamic-Link Library Bus Access Functions
CreateBusAccessHandle