Partager via


GetDevicePowerState (Windows CE 5.0)

Send Feedback

This function requests that the bus driver return the current power state of the device.

BOOL GetDevicePowerState (  HANDLE hBusAccess,  PCEDEVICE_POWER_STATE pPowerState,  PVOID pReserved);

Parameters

Return Values

Returns TRUE if successful. Otherwise, it returns FALSE.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: CEDDK.h.

See Also

CEDEVICE_POWER_STATE | CreateBusAccessHandle

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.