Skip to content

Latest commit

 

History

History
74 lines (57 loc) · 2.06 KB

nf-nblaccessors-net_buffer_shared_mem_offset.md

File metadata and controls

74 lines (57 loc) · 2.06 KB
UID title ms.date targetos description tech.root req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:nblaccessors.NET_BUFFER_SHARED_MEM_OFFSET
NET_BUFFER_SHARED_MEM_OFFSET
10/02/2023
Windows
The NET_BUFFER_SHARED_MEM_OFFSET macro gets the shared memory offset from a NET_BUFFER_SHARED_MEMORY structure.
netvista
function
ndis/nblaccessors.h
ndis.h
Supported in NDIS 6.20 and later.
Universal
apiref
HeaderDef
nblaccessors.h
NET_BUFFER_SHARED_MEM_OFFSET
NET_BUFFER_SHARED_MEM_OFFSET
nblaccessors/NET_BUFFER_SHARED_MEM_OFFSET
c++

NET_BUFFER_SHARED_MEM_OFFSET macro

-description

The NET_BUFFER_SHARED_MEM_OFFSET macro gets the shared memory offset from a NET_BUFFER_SHARED_MEMORY structure.

-syntax

#define NET_BUFFER_SHARED_MEM_OFFSET(_SHI) ((_SHI)->SharedMemoryOffset)

-parameters

-param _SHI

A pointer to a NET_BUFFER_SHARED_MEMORY structure.

-returns

NET_BUFFER_SHARED_MEM_OFFSET returns a ULONG value that contains the offset, in bytes, of the shared memory.

-remarks

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.

-see-also

NET_BUFFER

NET_BUFFER_SHARED_MEMORY