Expand Minimize

FwpsStreamContinue0 function

The FwpsStreamContinue0 function resumes the processing of an inbound data stream that was previously deferred.

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

Syntax


NTSTATUS NTAPI FwpsStreamContinue0(
  _In_  UINT64 flowId,
  _In_  UINT32 calloutId,
  _In_  UINT16 layerId,
  _In_  UINT32 streamFlags
);

Parameters

flowId [in]

A run-time identifier that specifies the data flow that is being resumed. The run-time identifier for a data flow is provided to a callout driver through the FWPS_METADATA_FIELD_FLOW_HANDLE metadata value that the filter engine provided to the callout driver's classifyFn callout function.

calloutId [in]

The run-time identifier for the callout that deferred the inbound data stream. This identifier was returned when the callout driver called either the FwpsCalloutRegister0 or FwpsCalloutRegister1 functions to register the callout with the filter engine.

layerId [in]

The run-time identifier for the filtering layer at which the data stream is being processed. This value must be either FWPS_LAYER_STREAM_V4 or FWPS_LAYER_STREAM_V6. The run-time identifier for the layer at which the data stream is being processed is provided to a callout in the layerId member of the FWPS_INCOMING_VALUES0 structure that the filter engine passed to the callout driver's classifyFn callout function.

streamFlags [in]

Flags that specify characteristics of the inbound data stream that is being resumed. A callout driver should specify the same stream flags that were set in the streamFlags member of the FWPS_STREAM_DATA0 structure that the filter engine passed to the callout driver's classifyFn callout function when the callout deferred the data stream.

Return value

The FwpsStreamContinue0 function returns one of the following NTSTATUS codes.

Return codeDescription
STATUS_SUCCESS

Processing of the data stream was successfully resumed.

Other status codes

An error occurred.

 

Remarks

A callout driver calls the FwpsStreamContinue0 function to resume processing an inbound data stream that was previously deferred. A data stream is deferred when a callout's classifyFn callout function sets the streamAction member of the FWPS_STREAM_CALLOUT_IO_PACKET0 structure to FWPS_STREAM_ACTION_DEFER. The FwpsStreamContinue0 function cannot be called from within a callout's classifyFn context.

Requirements

Version

Available starting with Windows Vista.

Header

Fwpsk.h (include Fwpsk.h)

Library

Fwpkclnt.lib

IRQL

<= DISPATCH_LEVEL

See also

classifyFn
FWPS_INCOMING_VALUES0
FWPS_STREAM_CALLOUT_IO_PACKET0
FwpsCalloutRegister0
FwpsCalloutRegister1

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft