NET_BUFFER_LIST_CONTEXT_DATA_START - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// nblaccessors.h

#define NET_BUFFER_LIST_CONTEXT_DATA_START(_NBL) ((PUCHAR)(((_NBL)->Context)+1)+(_NBL)->Context->Offset)

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-nblaccessors-net_buffer_list_context_data_start)

Description

NET_BUFFER_LIST_CONTEXT_DATA_START is a macro that NDIS drivers use to get a pointer to the NET_BUFFER_LIST_CONTEXT context space that is associated with a NET_BUFFER_LIST structure.

Syntax

#define NET_BUFFER_LIST_CONTEXT_DATA_START(_NBL) ((PUCHAR)(((_NBL)->Context)+1)+(_NBL)->Context->Offset)

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

Return value

NET_BUFFER_LIST_CONTEXT_DATA_START returns a pointer to the NET_BUFFER_LIST_CONTEXT context space that is associated with the indicated NET_BUFFER_LIST structure.

Remarks

NET_BUFFER_LIST_CONTEXT_DATA_START returns a pointer to the start of the used context space in the ContextData member of the NET_BUFFER_LIST_CONTEXT structure.

See also

NET_BUFFER_LIST

NET_BUFFER_LIST_CONTEXT