Поделиться через


IConfigAsfWriter2::ResetMultiPassState

 
Microsoft DirectShow 9.0

IConfigAsfWriter2::ResetMultiPassState

The ResetMultiPassState method resets the filter when a preprocessing encoding pass is canceled before it is completed.

Syntax

  HRESULT ResetMultiPassState();

Parameters

This method takes no parameters.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.
VFW_E_NOT_STOPPED The filter was not in a stopped state.

Remarks

This method must be called to reset the internal state of the filter whenever a preprocessing encoding pass is canceled before the filter has received an EC_PREPROCESS_COMPLETE event. It is not necessary to call this method if the preprocessing encoding pass completes without errors.

Requirements

Header: Include Dshowasf.

Library: None.

See Also