NdisUnchainBufferAtFront (Windows CE 5.0)

Send Feedback

This function removes the buffer descriptor at the head of the chain of buffer descriptors for a specified packet.

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisChainBufferAtFront | NdisQueryPacket | NdisUnchainBufferAtBack

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.