This function links a specified buffer descriptor to the head of the buffer-descriptor chain attached to a packet descriptor.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisChainBufferAtFront( IN OUT PNDIS_PACKET Packet,
IN OUT PNDIS_BUFFER Buffer );
This function links the specified buffer descriptor at the head of the chain for 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, but usually runs at IRQL <=DISPATCH_LEVEL.
NdisChainBufferAtBack, NdisQueryPacket, NdisUnchainBufferAtFront