NdisUnchainBufferAtBack function (ndis.h)

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.

NdisUnchainBufferAtBack removes the buffer descriptor at the end of the chain of buffer descriptors for a given packet.

Syntax

void NdisUnchainBufferAtBack(
  [in, out] IN OUT PNDIS_PACKET Packet,
  [out]     OUT PNDIS_BUFFER    *Buffer
);

Parameters

[in, out] Packet

Pointer to the packet descriptor.

[out] Buffer

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 given packet, this variable is set to NULL.

Return value

None

Remarks

  • Target platform: Universal
  • Version: Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.

Requirements

Requirement Value
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL Any level

See also