NDIS_PM_PACKET_PATTERN (Windows CE 5.0)
This 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.
typedef struct _NDIS_PM_PACKET_PATTERN{ ULONGPriority;ULONGReserved;ULONGMaskSize;ULONGPatternOffset;ULONGPatternSize;ULONGPatternFlags;} NDIS_PM_PACKET_PATTERN, *PNDIS_PM_PACKET_PATTERN;
Members
- Priority
This is reserved. - Reserved
This is reserved. - MaskSize
Specifies the size in bytes of the pattern mask that immediately follows the NDIS_PM_PACKET_PATTERN structure in the InformationBuffer of 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
These flags are 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, 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 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, 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's NIC. Each wake-up pattern, along with its mask, is described by an NDIS_PM_PACKET_PATTERN structure. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ntddndis.h.
See Also
NDIS_REQUEST | OID_PNP_ADD_WAKE_UP_PATTERN | OID_PNP_REMOVE_WAKE_UP_PATTERN | OID_PNP_WAKE_UP_PATTERN_LIST
Send Feedback on this topic to the authors