次の方法で共有


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.

Syntax

PVOID NDIS_BUFFER_LINKAGE(
  PNDIS_BUFFER Buffer
);

Parameters

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

Return Value

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

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Network Driver Macros
NDIS_BUFFER
NdisAllocateBuffer
NdisFreeBuffer
NdisBufferVirtualAddress

Other Resources

Authenticating a Connection