Partager via


NdisChainBufferAtFront

This function links a specified buffer descriptor to the head of the buffer-descriptor chain attached to a packet descriptor.

VOID NdisChainBufferAtFront(
  PNDIS_PACKET Packet,
  PNDIS_BUFFER Buffer
);

Parameters

  • Packet
    [in, out] Pointer to the packet descriptor.
  • Buffer
    [in, out] Pointer to the caller-supplied buffer descriptor to be added to the chain.

Return Values

None.

Remarks

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.

Requirements

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

See Also

NdisChainBufferAtBack | NdisQueryPacket | NdisUnchainBufferAtFront

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.