NDIS_BUFFER_LINKAGE

This macro returns a pointer to a linked buffer as long as it has a pointer to a buffer descriptor.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

PVOID NDIS_BUFFER_LINKAGE( IN PNDIS_BUFFER Buffer );

Parameters

Buffer
Pointer to a buffer descriptor, which must not be chained to a packet descriptor.

Return Values

A pointer to the structure member containing the linkage indicates success. NULL indicates failure.

Remarks

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

A driver that uses this macro can be funning at any IRQL.

See Also

NdisAllocateBuffer