Share via


OID_PNP_QUERY_POWER (Compact 2013)

3/26/2014

This object requests the miniport to indicate whether it can transition its network adapter to the low-power state specified in the InformationBuffer of an associated NdisRequest query. The following table shows the NDIS_DEVICE_POWER_STATE values that indicate low-power state.

  • NdisDeviceStateD1
    This specifies a device state of D1.
  • NdisDeviceStateD2
    This specifies a device state of D2.
  • NdisDeviceStateD3
    This specifies a device state of D3.

An OID_PNP_QUERY_POWER request is not used to request a transition to a device state of D0. NDIS merely sends an OID_PNP_SET_POWER request that specifies a device state of D0.

By returning NDIS_STATUS_SUCCESS to this request, the miniport guarantees that it will transition the network adapter to the specified device power state on receipt of a later OID_PNP_SET_POWER request. The miniport, in this case, must do nothing to jeopardize the transition.

An OID_PNP_QUERY_POWER request is always followed by an OID_PNP_SET_POWER request. The OID_PNP_SET_POWER request may immediately follow the OID_PNP_QUERY_POWER request or may arrive at an unspecified interval after the OID_PNP_QUERY_POWER request. A device state of D0 specified in the OID_PNP_SET_POWER request effectively cancels the OID_PNP_QUERY_POWER request.

An intermediate driver must always return NDIS_STATUS_SUCCESS to a query of OID_PNP_QUERY_POWER. An intermediate driver should never propagate an OID_PNP_QUERY_POWER request to an underlying miniport.

Requirements

Header

ntddndis.h

See Also

Reference

Operational OIDs
NDIS_REQUEST
NdisRequest
NDIS_PM_PACKET_PATTERN
NDIS_PNP_CAPABILITIES
OID_PNP_SET_POWER