NDIS_PM_PACKET_PATTERN structure (ntddndis.h)

The NDIS_PM_PACKET_PATTERN structure specifies a wake-up pattern, which, when detected by a network adapter that has pattern-match enabled, causes the network adapter to signal a power-management wake-up event.

Syntax

typedef struct _NDIS_PM_PACKET_PATTERN {
  ULONG Priority;
  ULONG Reserved;
  ULONG MaskSize;
  ULONG PatternOffset;
  ULONG PatternSize;
  ULONG PatternFlags;
} NDIS_PM_PACKET_PATTERN, *PNDIS_PM_PACKET_PATTERN;

Members

Priority

This member is reserved.

Reserved

This member is reserved.

MaskSize

Specifies the size in bytes of the pattern mask that immediately follows the NDIS_PM_PACKET_PATTERN structure in the InformationBuffer.

PatternOffset

Specifies in bytes the offset from the beginning of the InformationBuffer to the start of the wake-up pattern.

PatternSize

Specifies in bytes the size of the wake-up pattern.

PatternFlags

These flags are reserved.

Remarks

NDIS_PM_PACKET_PATTERN is supplied in the InformationBuffer of the NDIS_OID_REQUEST structure for following OIDs:

  • OID_PNP_ADD_WAKE_UP_PATTERN

    A protocol driver sends this OID to a miniport driver to specify a wake-up pattern. The wake-up pattern, along with its mask, is described by an NDIS_PM_PACKET_PATTERN structure.

  • OID_PNP_REMOVE_WAKE_UP_PATTERN

    A protocol driver sends this OID to a miniport driver to delete a wake-up pattern that it previously specified with 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.

  • OID_PNP_WAKE_UP_PATTERN_LIST

    A protocol uses this OID to request a list of the wake-up patterns currently set for the miniport driver's network adapter. Each wake-up pattern, along with its mask, is described by an NDIS_PM_PACKET_PATTERN structure.

Requirements

Requirement Value
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NDIS_PM_PACKET_PATTERN (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NDIS_PM_PACKET_PATTERN (NDIS 5.1)) in Windows XP.
Header ntddndis.h (include Ndis.h)

See also

NDIS_OID_REQUEST

OID_PNP_ADD_WAKE_UP_PATTERN

OID_PNP_REMOVE_WAKE_UP_PATTERN

OID_PNP_WAKE_UP_PATTERN_LIST