PVOID
NDIS_BUFFER_LINKAGE(
IN PNDIS_BUFFER Buffer
);
NDIS_BUFFER_LINKAGE returns a pointer to a linked buffer, given a pointer to a buffer descriptor.
NDIS_BUFFER_LINKAGE returns a pointer to the structure member containing the linkage, or NULL if it fails.
This macro allows a driver to queue allocated buffer descriptors without having to supply its own buffer descriptor linkage.
Callers of this macro can be running at any IRQL.