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.
NdisPacketSize returns the size, in bytes, of packet descriptors that are allocated with the given size that is reserved for protocols.
- ProtocolReservedSize [in]
Specifies the size, in bytes, of packet descriptors ( NDIS_PACKET) that the caller reserves for protocols.
Returns the size, in bytes, of packet descriptors (NDIS_PACKET) that are allocated with the size specified in ProtocolReservedSize.
|Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.|