次の方法で共有


FwpsStreamContinue0 (Compact 2013)

3/26/2014

This function resumes the processing of a previously deferred incoming data stream.

Syntax

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

Parameters

  • flowId
    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 WFP Filter Engine provided to the callout's classifyFn callout function.
  • calloutId
    The run-time identifier for the callout that deferred the incoming data stream. This identifier was returned when the callout driver called the FwpsCalloutRegister0 function to register the callout with the filter engine.
  • layerId
    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's classifyFn callout function.
  • streamFlags
    Flags that specify characteristics of the incoming 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's classifyFn callout function when the callout deferred the data stream.

Return Value

The FwpsStreamContinue0 function returns one of the following NTSTATUS codes:

Value

Description

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 a previously deferred incoming data stream. 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.

Requirements

Header

fwpsk.h

See Also

Reference

Functions Called by Callout Drivers
classifyFn
FWPS_STREAM_DATA0
FWPS_INCOMING_VALUES0
FWPS_STREAM_CALLOUT_IO_PACKET0
FwpsCalloutRegister0
WFP Callout Driver Functions