NdisGetFirstBufferFromPacket returns pointers to the buffer descriptor and base virtual address for the initial buffer chained to a given packet descriptor, along with the sizes of the initial buffer and total buffer in case the buffer is fragmented.
VOID NdisGetFirstBufferFromPacket(IN PNDIS_PACKET _Packet,
OUT PNDIS_BUFFER *_FirstBuffer, OUT PVOID *_FirstBufferVA,
OUT PUINT FirstBufferLength, OUT PUINT _TotalBufferLength);
Header File: | Ndis.h |
Module: | Nk |
Platforms: | |
Versions: | 2.0 and later |
Complete Documentation: | Windows NT Device Driver Kit |