다음을 통해 공유


SetDevicePowerState (Windows CE 5.0)

Send Feedback

This function requests that the bus driver set this device to the power state specified by PowerState.

BOOL SetDevicePowerState (  HANDLE hBusAccess,  CEDEVICE_POWER_STATE PowerState,  PVOID pReserved);

Parameters

  • hBusAccess
    [in] Handle obtained from CreateBusAccessHandle.
  • PowerState
    [in] Power state to set the device to, specified by the CEDEVICE_POWER_STATE structure.
  • pReserved
    [in] Reserved for future use. Set to NULL.

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.