The OID_PNP_REMOVE_WAKE_UP_PATTERN OID requests the miniport driver to delete a wake-up pattern that it previously received in an OID_PNP_ADD_WAKE_UP_PATTERN request. The wake-up pattern, along with its mask, is described by an NDIS_PM_PACKET_PATTERN structure.

The InformationBuffer member of the NDIS_OID_REQUEST structure contains the following:

  • An NDIS_PM_PACKET_PATTERN structure that provides information about the pattern and its mask.

  • A mask that indicates which bytes of an incoming packet should be compared with corresponding bytes in the pattern. The mask starts with the first byte of the packet. The mask immediately follows the NDIS_PM_PACKET_PATTERN structure in the InformationBuffer.

  • A wake-up pattern, which begins PatternOffset bytes from the beginning of the InformationBuffer.

An intermediate driver in which the upper edge receives this OID request must always propagate the request to the underlying miniport driver by calling Ndis(Co)Request.



Supported in NDIS 6.0 and 6.1. For NDIS 6.20 and later, use OID_PM_REMOVE_WOL_PATTERN instead.


Ntddndis.h (include Ndis.h)

See also