RNDIS_PACKET (Compact 2013)
3/26/2014
This structure contains the packet descriptors for a RNDIS data packet.
Syntax
typedef struct _RNDIS_PACKET {
UINT32 DataOffset;
UINT32 DataLength;
UINT32 OOBDataOffset;
UINT32 OOBDataLength;
UINT32 NumOOBDataElements;
UINT32 PerPacketInfoOffset;
UINT32 PerPacketInfoLength;
RNDIS_HANDLE VcHandle;
UINT32 Reserved;
} RNDIS_PACKET, *PRNDIS_PACKET;
Members
- DataOffset
Specifies the offset in bytes from the start of the DataOffset field of this message to the start of the data. This is an integer multiple of 4.
- DataLength
Specifies the number of bytes in the data content of this message.
- OOBDataOffset
Specifies the offset in bytes of the first out-of-band (OOB) data record from the start of the DataOffset field of this message. Set to zero if there is no OOB data. Otherwise this is an integer multiple of 4.
- OOBDataLength
Specifies, in bytes, the total length of the OOB data.
- NumOOBDataElements
Specifies the number of OOB records in this message.
- PerPacketInfoOffset
Specifies, in bytes, the offset from the beginning of the DataOffset field in the data message to the start of the first per-packet information data record. Set to zero if there is no per-packet data. Otherwise this is an integer multiple of 4.
- PerPacketInfoLength
Specifies, in bytes, the total length of the per-packet information contained in this message.
- VcHandle
Set to 0. Reserved for connection-oriented devices.
- Reserved
Set to 0. Reserved.
Requirements
Header |
rndis.h |
See Also
Reference
Remote NDIS Structures
IndicateRndisPacketCompleteHandler
MddIndicateRndisPacket
MddSendRndisPacketComplete
RNDIS_OOBD
RNDIS_PDD_CHARACTERISTICS
SendRndisPacketHandler