Compartir a través de


NDIS_PM_PACKET_PATTERN (Compact 2013)

3/26/2014

This 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
    Reserved.
  • Reserved
    Reserved.
  • MaskSize
    Specifies the size in bytes of the pattern mask that immediately follows the NDIS_PM_PACKET_PATTERN structure in the InformationBufferof an associated NDIS_REQUEST structure
  • 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
    Reserved.

Remarks

NDIS_PM_PACKET_PATTERN is supplied in the InformationBuffer of the NDIS_REQUEST structure. The following table shows the objects that use this structure:

Object

Description

OID_PNP_ADD_WAKE_UP_PATTERN

A protocol driver sends this OID to a miniport to specify one or more wake-up patterns. Each wake-up pattern, together 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 to delete one or more wake-up patterns that it previously specified with an OID_PNP_ADD_WAKE_UP_PATTERN request. Each wake-up pattern, together 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's network adapter. Each wake-up pattern, together with its mask, is described by an NDIS_PM_PACKET_PATTERN structure.

Requirements

Header

ntddndis.h

See Also

Reference

NDIS 5.x Legacy Structures
NDIS_REQUEST
OID_PNP_ADD_WAKE_UP_PATTERN
OID_PNP_REMOVE_WAKE_UP_PATTERN
OID_PNP_WAKE_UP_PATTERN_LIST
NDIS 5.x Legacy Reference