共用方式為


IWMWriterAdvanced2 interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMWriterAdvanced2 interface provides the ability to set and retrieve named settings for an input.

IWMWriterAdvanced2 exists for every instance of the writer object. To obtain a pointer to this interface, call QueryInterface on the writer object.

Inheritance

The IWMWriterAdvanced2 interface inherits from IWMWriterAdvanced. IWMWriterAdvanced2 also has these types of members:

Methods

The IWMWriterAdvanced2 interface has these methods.

 
IWMWriterAdvanced2::GetInputSetting

The GetInputSetting method retrieves a setting for a particular input by name.
IWMWriterAdvanced2::SetInputSetting

The SetInputSetting method specifies a named setting for a particular input.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMWriter Interface

IWMWriterAdvanced Interface

IWMWriterAdvanced3 Interface

Interfaces

Writer Object

Writing ASF Files