FwpsNetBufferListGetTagForContext0 function

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 NTAPI FwpsNetBufferListGetTagForContext0(void);

Parameters

This function has no parameters.

Return value

The FwpsNetBufferListGetTagForContext0 function returns a locally unique identifier.

Remarks

The FwpsNetBufferListGetTagForContext0 function must be called before calling FwpsNetBufferListAssociateContext0.

Requirements

Target platform

Universal

Version

Available starting with Windows 7.

Header

Fwpsk.h (include Fwpsk.h)

Library

Fwpkclnt.lib

IRQL

<= DISPATCH_LEVEL

See also

NET_BUFFER_LIST
FwpsNetBufferListAssociateContext0
FwpsNetBufferListRemoveContext0
FwpsNetBufferListRetrieveContext0
Using Packet Tagging

 

 

Send comments about this topic to Microsoft

Show: