// ntddndis.h
typedef enum _NDIS_DEVICE_POWER_STATE {
NdisDeviceStateUnspecified,
NdisDeviceStateD0,
NdisDeviceStateD1,
NdisDeviceStateD2,
NdisDeviceStateD3,
NdisDeviceStateMaximum
} NDIS_DEVICE_POWER_STATE, *PNDIS_DEVICE_POWER_STATE;
View the official Windows Driver Kit DDI reference
No description available.
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
Required Support for Device Power States
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.
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.
NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS