This function removes the buffer descriptor at the head of the chain of buffer descriptors for a specified packet.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisUnchainBufferAtFront( 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 given packet if it is called subsequently with that packet.
A driver that calls this function can run at any IRQL.
NdisChainBufferAtFront, NdisQueryPacket, NdisUnchainBufferAtBack