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 FwpsDiscardClonedStreamData0(
  NET_BUFFER_LIST *netBufferListChain,
  UINT32          allocateCloneFlags,
  BOOLEAN         dispatchLevel
);

Parameters

netBufferListChain

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.

allocateCloneFlags

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

dispatchLevel

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

   
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

FwpsCloneStreamData0

NET_BUFFER_LIST