NdisUnchainBufferAtFront (Windows Embedded CE 6.0)
1/6/2010
This function removes the buffer descriptor at the head of the chain of buffer descriptors for a specified packet.
Syntax
VOID NdisUnchainBufferAtFront(
PNDIS_PACKET Packet,
PNDIS_BUFFER* Buffer
);
Parameters
- Packet
[in, out] Pointer to the packet descriptor.
- Buffer
[out] Pointer to a caller-supplied variable in which this function returns a pointer to the removed buffer descriptor. If no buffer is chained to the specified packet, this variable is set to NULL.
Return Value
None.
Remarks
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.
Requirements
Header | ndis.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
NdisChainBufferAtFront
NdisQueryPacket
NdisUnchainBufferAtBack