IConfigAsfWriter2 interface (dshowasf.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IConfigAsfWriter2 interface extends the IConfigAsfWriter interface, which configures the WM ASF Writer filter. The IConfigAsfWriter2 interface provides additional methods to support the capabilities introduced in the Windows Media Format 9 Series SDK, such as two-pass encoding and support for interlaced output.

Inheritance

The IConfigAsfWriter2 interface inherits from IConfigAsfWriter. IConfigAsfWriter2 also has these types of members:

Methods

The IConfigAsfWriter2 interface has these methods.

 
IConfigAsfWriter2::GetParam

The GetParam method retrieves the current value of the specified filter configuration parameter.
IConfigAsfWriter2::ResetMultiPassState

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

The SetParam method sets the value of the specified filter configuration parameter.
IConfigAsfWriter2::StreamNumFromPin

The StreamNumFromPin method retrieves the stream number associated with the specified input pin.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header dshowasf.h

See also

Creating ASF Files in DirectShow

IConfigAsfWriter