Share via


Enabling Wake-Up Events (NDIS 5.1)

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

After querying a NIC's wake-up capabilities with an OID_PNP_CAPABILITIESrequest, a protocol driver can send an OID_PNP_ENABLE_WAKE_UPrequest to enable one or more of the NIC's wake-up capabilities. NDIS does not immediately enable these wake-up capabilities. Instead, NDIS keeps track of the wake-up capabilities enabled by the protocol driver and, just before the miniport driver transitions to a sleeping state, sends an OID_PNP_ENABLE_WAKE_UP to the miniport driver to enable the appropriate wake-up events.

Before the miniport driver transitions to a low-power state (that is, before NDIS sends the miniport driver an OID_PNP_SET_POWER request), NDIS sends the miniport driver an OID_PNP_ENABLE_WAKE_UP request to enable the NIC's wake-up capabilities.

 

 

Send comments about this topic to Microsoft