FwpsDiscardClonedStreamData0 function (fwpsk.h)

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

Parameters

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

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

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

FwpsCloneStreamData0

NET_BUFFER_LIST