FwpsDereferenceNetBufferList0 function

The FwpsDereferenceNetBufferList0 function decrements the reference count for a NET_BUFFER_LIST structure that a callout driver had acquired earlier using the FwpsReferenceNetBufferList0 function.

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

Syntax

void NTAPI FwpsDereferenceNetBufferList0(
  _Inout_ NET_BUFFER_LIST *netBufferList,
  _In_    BOOLEAN         dispatchLevel
);

Parameters

netBufferList

A pointer to the NET_BUFFER_LIST structure for which the reference count is being decremented.

dispatchLevel

A value that indicates that the current IRQL = DISPATCH_LEVEL. A callout driver should set this parameter to TRUE only if it is known that it is running at IRQL = DISPATCH_LEVEL. Otherwise a callout driver sets this parameter to FALSE.

Return Value

None.

Remarks

A callout driver calls the FwpsDereferenceNetBufferList0 function to decrement the reference count for a NET_BUFFER_LIST structure that it had acquired earlier using the FwpsReferenceNetBufferList0 function. A callout driver must not call the FwpsDereferenceNetBufferList0 function for a NET_BUFFER_LIST structure unless it previously called the FwpsReferenceNetBufferList0 for the same structure.

Requirements

   
Windows version Available starting with Windows Vista.
Target Platform Universal
Header fwpsk.h (include Fwpsk.h)
Library Fwpkclnt.lib
IRQL "<= DISPATCH_LEVEL"

See Also

NET_BUFFER_LIST

FwpsReferenceNetBufferList0

Send comments about this topic to Microsoft