NET_BUFFER_SHARED_MEM_NEXT_SEGMENT macro

The NET_BUFFER_SHARED_MEM_NEXT_SEGMENT macro gets the next shared memory segment from a NET_BUFFER_SHARED_MEMORY structure.

Syntax


PNET_BUFFER_SHARED_MEMORY NET_BUFFER_SHARED_MEM_NEXT_SEGMENT(
  PNET_BUFFER_SHARED_MEMORY _SHI
);

Parameters

_SHI

A pointer to a NET_BUFFER_SHARED_MEMORY structure.

Return value

NET_BUFFER_SHARED_MEM_NEXT_SEGMENT returns a pointer to a NET_BUFFER_SHARED_MEMORY structure or returns NULL.

Remarks

An NDIS 6.20 or later driver can use the NET_BUFFER_SHARED_MEM_NEXT_SEGMENT macro to get the next shared memory segment in a linked list of NET_BUFFER_SHARED_MEMORY structures that are associated with a NET_BUFFER structure. NET_BUFFER_SHARED_MEM_NEXT_SEGMENT gets a pointer to the next NET_BUFFER_SHARED_MEMORY structure from the NextSharedMemorySegment 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 the linked list.

Requirements

Version

Supported in NDIS 6.20 and later.

Header

Ndis.h (include Ndis.h)

See also

NET_BUFFER
NET_BUFFER_SHARED_MEMORY

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft