MediaSpecificInformation
This structure contains information about the characteristics of the network hardware bound to a protocol.
At a Glance
Header file: |
Ndis.h |
Windows CE versions: |
2.0 and later |
Syntax
typedef struct MediaSpecificInformation {
UINT NextEntryOffset;
NDIS_CLASS_ID ClassId;
UINT Size;
UCHAR ClassInformation[1];
} MEDIA_SPECIFIC_INFORMATION;
Members
- NextEntryOffset
- Specifies the byte offset to this member in the next record, if any. Zero indicates that this is the last record in the buffer; the values of all remaining members in the last record are also 0. The value of this member must be quad-aligned.
- ClassId
- Specifies the type of the record. Possible values are one of the following:
- NdisClass802_3Priority
- The underlying NIC’s medium requires that drivers specify per-packet priority, while its driver uses Ethernet emulation to communicate with bound protocols.
A bound protocol can determine whether the underlying NIC miniport’s native medium requires prioritized packets with the OID_802_3_MAC_OPTIONS query. If so, the miniport sets the NDIS_802_3_OPTION_PRIORITY flag.
- NdisClassWirelessWanMbxMailbox
- The underlying NIC driver examines the ULONG-sized record at ClassInformation to determine whether the mailbox flag should be set for the associated packet. (1 = set mailbox flag, 0 = do not set mailbox flag)
- Size
- Specifies the number of bytes in the ClassInformation array, including any padding necessary to align the NextEntryOffset of the next record on a 4-byte boundary.
- ClassInformation
- Specifies the out-of-band information for this record.