Share via


NDIS_BUFFER_LINKAGE 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.

NDIS_BUFFER_LINKAGE returns a pointer to a linked buffer, given a pointer to a buffer descriptor.

Syntax

PVOID NDIS_BUFFER_LINKAGE(
  _In_ PNDIS_BUFFER Buffer
);

Parameters

  • Buffer [in]
    Pointer to a buffer descriptor. This buffer descriptor must not be chained to a packet descriptor.

Return value

NDIS_BUFFER_LINKAGE returns a pointer to the structure member containing the linkage, or NULL if it fails.

Remarks

This macro allows a driver to queue allocated buffer descriptors without having to supply its own buffer descriptor linkage.

Requirements

Target platform

Desktop

Header

Ndis.h (include Ndis.h)

IRQL

Any level

See also

NdisAllocateBuffer

 

 

Send comments about this topic to Microsoft