Handling an OID_PNP_QUERY_POWER OID

The OID_PNP_QUERY_POWER OID requests a miniport driver to indicate whether it can transition a network adapter to a low-power state. A miniport driver must always return NDIS_STATUS_SUCCESS in response to a query of OID_PNP_QUERY_POWER. By returning NDIS_STATUS_SUCCESS to this OID request, the miniport driver guarantees that it will transition the network adapter to the specified device power state on receipt of a subsequent OID_PNP_SET_POWER request. The miniport driver, 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 can immediately follow the OID_PNP_QUERY_POWER request or can arrive at an unspecified interval after the OID_PNP_QUERY_POWER request. A device state of D0, which is specified in the OID_PNP_SET_POWER request, effectively cancels a preceding OID_PNP_QUERY_POWER request.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft