Partager via


NdisChainBufferAtFront (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisChainBufferAtBack
NdisQueryPacket
NdisUnchainBufferAtFront