This function removes the buffer descriptor at the end of the chain of buffer descriptors for a given packet.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisUnchainBufferAtBack( IN OUT PNDIS_PACKET Packet,
OUT PNDIS_BUFFER *Buffer );
This function returns a pointer to the buffer descriptor that it removed from the buffer descriptor chain of the specified packet. It also resets the valid counts for the packet to FALSE, thus forcing the NdisQueryPacket function to recalculate information about the specified packet if it is called subsequently with that packet.
A driver that calls this function can run at any IRQL.
NdisChainBufferAtBack, NdisQueryPacket, NdisUnchainBufferAtFront