NDIS_DEVICE_POWER_STATE enumeration (ntddndis.h)

The NDIS_DEVICE_POWER_STATE enumeration defines device power state values. For more information about device power states, see:

Device Power States for Network Adapters
Device Power States
Device Working State D0
Device Low-Power States
Required Support for Device Power States

Syntax

typedef enum _NDIS_DEVICE_POWER_STATE {
  NdisDeviceStateUnspecified,
  NdisDeviceStateD0,
  NdisDeviceStateD1,
  NdisDeviceStateD2,
  NdisDeviceStateD3,
  NdisDeviceStateMaximum
} NDIS_DEVICE_POWER_STATE, *PNDIS_DEVICE_POWER_STATE;

Constants

 
NdisDeviceStateUnspecified
The device does not support power management.
NdisDeviceStateD0
Device power state D0.
NdisDeviceStateD1
Device power state D1.
NdisDeviceStateD2
Device power state D2.
NdisDeviceStateD3
Device power state D3.
NdisDeviceStateMaximum
The maximum value for this enumeration. Reserved for system use. Do not use this value in your driver. This value might change in future versions of NDIS header files and binaries.

Remarks

Depending on the capabilities of the network adapter and its miniport driver, the device might be able to generate a wake-up signal from device states D0 through D3.

Note  If the wake-up signal is generated from D0, the signal does not cause a system wake-up. However, the wake-up signal can be used to signal a run-time event.
 
NDIS_DEVICE_POWER_STATE enumeration values are used in the NDIS_PM_CAPABILITIES, NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS, and NET_PNP_EVENT structures, the NdisMIdleNotificationConfirm function, and the OID_PNP_CAPABILITIES, OID_PNP_QUERY_POWER, and OID_PNP_SET_POWER OID requests.

Requirements

   
Header ntddndis.h

See also

NDIS_PM_CAPABILITIES

NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS

NET_PNP_EVENT

NdisMIdleNotificationConfirm

OID_PNP_CAPABILITIES

OID_PNP_QUERY_POWER

OID_PNP_SET_POWER