FwpsNetBufferListGetTagForContext0 function (fwpsk.h)

The FwpsNetBufferListGetTagForContext0 function gets a locally unique context tag that can be used to associate packets with the callout driver.

Note  FwpsNetBufferListGetTagForContext0 is a specific version of FwpsNetBufferListGetTagForContext. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
 

Syntax

UINT64 FwpsNetBufferListGetTagForContext0();

Return value

The FwpsNetBufferListGetTagForContext0 function returns a locally unique identifier.

Remarks

The FwpsNetBufferListGetTagForContext0 function must be called before calling FwpsNetBufferListAssociateContext0.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 7.
Target Platform Universal
Header fwpsk.h (include Fwpsk.h)
Library Fwpkclnt.lib
IRQL <= DISPATCH_LEVEL

See also

FwpsNetBufferListAssociateContext0 FwpsNetBufferListRemoveContext0 FwpsNetBufferListRetrieveContext0

NET_BUFFER_LIST

Using Packet Tagging