Share via


NDIS_BUFFER_LINKAGE (Windows CE 5.0)

Send Feedback

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

PVOID NDIS_BUFFER_LINKAGE(PNDIS_BUFFER Buffer);

Parameters

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

Return Values

The return value is a pointer to the structure member containing the linkage or NULL if the operation fails.

Remarks

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

The NDIS_BUFFER_LINKAGE macro is defined as follows.

#define NDIS_BUFFER_LINKAGE(Buffer) ((Buffer)->Next)

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NDIS_BUFFER | NdisAllocateBuffer | NdisFreeBuffer | NdisBufferVirtualAddress | Authenticating a Connection

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.