This function returns the size, in bytes, of packet descriptors that are allocated with the given size that is reserved for protocols.
UINT NdisPacketSize(
IN UINT ProtocolReservedSize
);
Parameters
- ProtocolReservedSize
Specifies the size, in bytes, of packet descriptors (NDIS_PACKET) that the caller reserves for protocols.
Return Values
Returns the size, in bytes, of packet descriptors (NDIS_PACKET) that are allocated with the size specified in ProtocolReservedSize.
Requirements
OS Versions: Windows CE .NET 4.0 and later
Header: Ndis.h
Link Library: Ndis.lib
See Also
NdisAllocatePacket | NdisAllocatePacketPool | NdisAllocatePacketPoolEx | NdisDprAllocatePacket | NdisDprAllocatePacketNonInterlocked | NdisFreePacketPool
Send Feedback on this topic to the authors