Expand Minimize

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

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

dispatchLevel [in]

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

Version

Available starting with Windows Vista.

Header

Fwpsk.h (include Fwpsk.h)

IRQL

<= DISPATCH_LEVEL

See also

FwpsReferenceNetBufferList0
NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft