WDMUSB_POWER_STATE enumeration

The WDMUSB_POWER_STATE enumeration indicates the power state of a host controller or root hub.

Syntax


typedef enum _WDMUSB_POWER_STATE { 
  WdmUsbPowerNotMapped          = 0,
  WdmUsbPowerSystemUnspecified  = 100,
  WdmUsbPowerSystemWorking      = 101,
  WdmUsbPowerSystemSleeping1    = 102,
  WdmUsbPowerSystemSleeping2    = 103,
  WdmUsbPowerSystemSleeping3    = 104,
  WdmUsbPowerSystemHibernate    = 105,
  WdmUsbPowerSystemShutdown     = 106,
  WdmUsbPowerDeviceUnspecified  = 200,
  WdmUsbPowerDeviceD0           = 201,
  WdmUsbPowerDeviceD1           = 202,
  WdmUsbPowerDeviceD2           = 203,
  WdmUsbPowerDeviceD3           = 204
} WDMUSB_POWER_STATE;

Constants

WdmUsbPowerNotMapped

Power state information is not mapped.

WdmUsbPowerSystemUnspecified

Power state information is not available.

WdmUsbPowerSystemWorking

The system is in the working state.

WdmUsbPowerSystemSleeping1

The system is in the S1 power state.

WdmUsbPowerSystemSleeping2

The system is in the S2 power state.

WdmUsbPowerSystemSleeping3

The system is in the S3 power state.

WdmUsbPowerSystemHibernate

The system is hibernating.

WdmUsbPowerSystemShutdown

The system is shutdown.

WdmUsbPowerDeviceUnspecified

A device is not specified.

WdmUsbPowerDeviceD0

The host controller is in the D0 power state.

WdmUsbPowerDeviceD1

The host controller is in the D1 power state.

WdmUsbPowerDeviceD2

The host controller is in the D2 power state.

WdmUsbPowerDeviceD3

The host controller is in the D3 power state.

Remarks

The USB stack uses the WDMUSB_POWER_STATE enumeration to report the power state of the host controller after receiving a USBUSER_GET_POWER_STATE_MAP request. For more information about this request, see IOCTL_USB_USER_REQUEST.

Requirements

Header

Usbuser.h (include Usbuser.h)

See also

IOCTL_USB_USER_REQUEST
USB Constants and Enumerations

 

 

Send comments about this topic to Microsoft

Show: