Partager via


OID_PNP_WAKE_UP_PATTERN_LIST (Windows Embedded CE 6.0)

1/6/2010

A protocol uses this object to request a list of the all the wake-up patterns currently set for the miniport's NIC. A protocol specifies a wake-up pattern with OID_PNP_ADD_WAKE_UP_PATTERN.

OID_PNP_WAKE_UP_PATTERN_LIST is handled by NDIS rather than the miniport.

NDIS returns to the protocol a description of each wake-up pattern set in the miniport. Each wake-up pattern, along with its mask, is described by an NDIS_PM_PACKET_PATTERN structure.

For each wake-up pattern, the InformationBuffer of an associated NDIS_REQUESTstructure 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, excluding token ring source routing information in a token ring 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 whose upper edge receives this request must always propagate the request to the underlying miniport by calling NdisRequest.

Requirements

Header ntddndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Plug and Play and Power Management Object Identifiers
NDIS_REQUEST
NdisRequest
NDIS_PM_PACKET_PATTERN
OID_PNP_REMOVE_WAKE_UP_PATTERN
OID_PNP_ADD_WAKE_UP_PATTERN