Compartilhar via


GetDevicePowerState (Compact 2013)

3/26/2014

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

  • pReserved
    [in] Reserved; set to NULL.

Return Value

Returns TRUE if successful. Otherwise, it returns FALSE.

Requirements

Header

ceddk.h

Library

CEDDK.lib

See Also

Reference

Ceddk.dll Bus Access Functions
CEDEVICE_POWER_STATE
CreateBusAccessHandle