NDIS_PM_PACKET_PATTERN (NDIS 5.1) structure

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.

The NDIS_PM_PACKET_PATTERN structure specifies a wake-up pattern, which, when detected by a NIC that has pattern-match enabled, causes the NIC 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_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 NIC. Each wake-up pattern, along with its mask, is described by an NDIS_PM_PACKET_PATTERN structure.

Requirements

Header

Ntddndis.h (include Ntddndis.h)

See also

OID_PNP_ADD_WAKE_UP_PATTERN

OID_PNP_REMOVE_WAKE_UP_PATTERN

OID_PNP_WAKE_UP_PATTERN_LIST

 

 

Send comments about this topic to Microsoft