FwpsDereferenceNetBufferList0 function (fwpsk.h)

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 FwpsDereferenceNetBufferList0(
  [in, out] NET_BUFFER_LIST *netBufferList,
  [in]      BOOLEAN         dispatchLevel
);

Parameters

[in, out] netBufferList

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

[in] 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

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

See also

FwpsReferenceNetBufferList0

NET_BUFFER_LIST