Compartilhar via


FwpsDereferenceNetBufferList0 (Compact 2013)

3/26/2014

This function decrements the reference count for a NET_BUFFER_LIST structure that a callout driver had obtained earlier by using the FwpsReferenceNetBufferList0 function.

Syntax

VOID NTAPI
  FwpsDereferenceNetBufferList0(
   IN OUT 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 the current IRQL = DISPATCH_LEVEL. A callout driver should set this parameter to TRUE only if you know 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 obtained earlier by 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

Header

fwpsk.h

See Also

Reference

Functions Called by Callout Drivers
NET_BUFFER_LIST
FwpsReferenceNetBufferList0
WFP Callout Driver Functions