// nblaccessors.h
#define NET_BUFFER_SHARED_MEM_LENGTH(_SHI) ((_SHI)->SharedMemoryLength)
View the official Windows Driver Kit DDI referenceNo description available.
The NET_BUFFER_SHARED_MEM_LENGTH macro gets the shared memory length from a NET_BUFFER_SHARED_MEMORY structure.
#define NET_BUFFER_SHARED_MEM_LENGTH(_SHI) ((_SHI)->SharedMemoryLength)
_SHIA pointer to a NET_BUFFER_SHARED_MEMORY structure.
NET_BUFFER_SHARED_MEM_LENGTH returns a ULONG value for the length, in bytes, of the shared memory.
An NDIS 6.20 or later driver can use the NET_BUFFER_SHARED_MEM_LENGTH macro to get the shared memory length that is associated with a NET_BUFFER_SHARED_MEMORY structure. NET_BUFFER_SHARED_MEM_LENGTH gets the length from the SharedMemoryLength 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.