// fwpsk.h
void FwpsDiscardClonedStreamData0(
[in, out] NET_BUFFER_LIST *netBufferListChain,
UINT32 allocateCloneFlags,
[in] BOOLEAN dispatchLevel
);
View the official Windows Driver Kit DDI referenceNo description available.
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.
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.
allocateCloneFlagsThere 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.
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.