NDIS_PM_PACKET_PATTERN (Windows Embedded CE 6.0)
1/6/2010
This structurespecifies 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 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 |
---|---|
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. |
|
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. |
|
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
Header | ntddndis.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Structures
NDIS_REQUEST
OID_PNP_ADD_WAKE_UP_PATTERN
OID_PNP_REMOVE_WAKE_UP_PATTERN
OID_PNP_WAKE_UP_PATTERN_LIST