共用方式為


IConfigAsfWriter interface

The IConfigAsfWriter interface is implemented by the DirectShow WM ASF Writer filter and provides methods for getting and setting the profiles and indexing mode. The filter uses the profile to determine how many input pins to create, and what media types to accept at connection time. When the WM ASF Writer filter is first created, it is configured automatically with the following default profile: WMProfile_V80_256Video. (Use of this profile is not recommended because it does not use the Windows Media Audio and Video 9 Series codecs.)

Members

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

  • Methods

Methods

The IConfigAsfWriter interface has these methods.

Method Description
ConfigureFilterUsingProfile

The recommended way to set a profile. Configures the filter to write an ASF file based on the specified application-defined profile.

ConfigureFilterUsingProfileGuid

Configures the filter to write an ASF file based on the specified predefined Windows Media Format SDK profile GUID. (Obsolete.)

ConfigureFilterUsingProfileId

Configures the filter to write an ASF file with a profile identifier (ID) index from the system profile list. (Obsolete. For Windows Media Format 4.0 profiles only.)

GetCurrentProfile

Retrieves the application-defined profile.

GetCurrentProfileGuid

Retrieves the current profile GUID defined by the Windows Media Format SDK.

GetCurrentProfileId

Retrieves the current profile ID. (Deprecated. For Windows Media Format 4.0 profiles only.)

GetIndexMode

Retrieves the current index mode.

SetIndexMode

Enables the application to control whether the file will be indexed and therefore seekable.

 

Requirements

Version

Requires Dshowasf.h, Windows Media Format 9 Series SDK, or later versions of the SDK

See also

DirectShow QASF Reference