Expand Minimize

FwpsDiscardClonedStreamData0 function

The FwpsDiscardClonedStreamData0 function frees the memory buffer that is allocated by the FwpsCloneStreamData0 function.

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

Syntax


void NTAPI FwpsDiscardClonedStreamData0(
  _Inout_  NET_BUFFER_LIST *netBufferListChain,
  _In_     UINT32 flags,
  _In_     BOOLEAN dispatchLevel
);

Parameters

netBufferListChain [in, out]

A pointer to the NET_BUFFER_LIST structure chain that is being freed. This will be the same as the netBufferListChain parameter of the FwpsCloneStreamData0 function.

flags [in]

There are currently no flags defined for this function. Callout drivers should set this parameter to zero.

dispatchLevel [in]

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

Return value

None.

Remarks

This function can be called when a cloned NET_BUFFER_LIST chain is to be discarded instead of being reinjected back into the data stream.

Requirements

Version

Available starting with Windows Vista.

Header

Fwpsk.h (include Fwpsk.h)

IRQL

<= DISPATCH_LEVEL

See also

FwpsCloneStreamData0
NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft