NET_BUFFER_SHARED_MEM_OFFSET macro (ndis/nblaccessors.h)
The NET_BUFFER_SHARED_MEM_OFFSET macro gets the shared memory offset from a NET_BUFFER_SHARED_MEMORY structure.
#define NET_BUFFER_SHARED_MEM_OFFSET(_SHI) ((_SHI)->SharedMemoryOffset)
_SHI
A pointer to a NET_BUFFER_SHARED_MEMORY structure.
NET_BUFFER_SHARED_MEM_OFFSET returns a ULONG value that contains the offset, in bytes, of the shared memory.
An NDIS 6.20 or later driver can use the NET_BUFFER_SHARED_MEM_OFFSET macro to get shared memory offset that is associated with a NET_BUFFER_SHARED_MEMORY structure. NET_BUFFER_SHARED_MEM_OFFSET gets the offset from the SharedMemoryOffset 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.
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.20 and later. |
Target Platform | Universal |
Header | ndis/nblaccessors.h (include ndis.h) |