NET_BUFFER_SHARED_MEM_FLAGS macro

The NET_BUFFER_SHARED_MEM_FLAGS macro gets the shared memory flags from a NET_BUFFER_SHARED_MEMORY structure.

Syntax

ULONG NET_BUFFER_SHARED_MEM_FLAGS(
   PNET_BUFFER_SHARED_MEMORY _SHI
);

Parameters

_SHI
A pointer to a NET_BUFFER_SHARED_MEMORY structure.

Return value

NET_BUFFER_SHARED_MEM_FLAGS returns a ULONG that contains shared memory flags.

Remarks

An NDIS 6.20 or later driver can use the NET_BUFFER_SHARED_MEM_FLAGS macro to get shared memory flags that are associated with a NET_BUFFER_SHARED_MEMORY structure. NET_BUFFER_SHARED_MEM_FLAGS gets the flags from the SharedMemoryFlags member of the NET_BUFFER_SHARED_MEMORY structure. The SharedMemoryInfo member of the NET_BUFFER structure contains the first NET_BUFFER_SHARED_MEMORY structure in a linked list.

Requirements

Target platform

Universal

Version

Supported in NDIS 6.20 and later.

Header

Ndis.h (include Ndis.h)

See also

NET_BUFFER

NET_BUFFER_SHARED_MEMORY