NDIS_BUFFER_LINKAGE (Windows Embedded CE 6.0)

1/6/2010

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
);

Buffer

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

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

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)

Headerndis.h
Windows Embedded CEWindows CE .NET 4.0 and later

Community Additions

ADD
Show: