Compartilhar via


NdisChainBufferAtBack function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

NdisChainBufferAtBack links a given buffer descriptor to the tail of the buffer-descriptor chain attached to a packet descriptor.

Syntax

VOID NdisChainBufferAtBack(
  _Inout_ PNDIS_PACKET Packet,
  _Inout_ 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

NdisChainBufferAtBack either links the given buffer descriptor to the end of an existing chain or, if the given packet has no associated buffer descriptors already, at the head of the chain.

It also resets the valid counts for the packet to FALSE, thereby forcing NdisQueryPacket to recalculate information about the given packet if it is called subsequently with that packet.

Requirements

Target platform

Desktop

Version

Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.

Header

Ndis.h (include Ndis.h)

IRQL

Any level (but typically run at IRQL <= DISPATCH_LEVEL)

See also

NdisChainBufferAtFront

NdisQueryPacket

NdisUnchainBufferAtBack

 

 

Send comments about this topic to Microsoft