Microsoft DirectX 8.1 (C++)

IConfigAsfWriter Interface

The IConfigAsfWriter interface is implemented by the DirectShow ASF Writer filter and provides methods for getting and setting the Advanced Streaming Format (ASF) profiles the filter will use to write files.

When the ASF Writer filter is created, it is configured automatically with a default ASF audio-visual profile based on the incoming streams. A profile describes various attributes of an ASF file such as bit rate, number and type of streams, compression quality, and so on. The filter uses the profile to determine what kind of ASF file to write, how many input pins it must set up, and what media types they can accept. In most cases, the default profile should be suitable, but if it is not, an application can modify it using the filter's IConfigAsfWriter interface methods. For full details on ASF profiles, see the Microsoft® Windows Media™ Software Development Kit (SDK).For more information on how to write ASF files, see Creating ASF Files in DirectShow.

Requirements

Requires Dshowasf.h, Windows Media Format SDK.

In addition to the methods inherited from IUnknown, the IConfigAsfWriter interface exposes the following methods.

Method Description
ConfigureFilterUsingProfileGuid Configures the filter to write an ASF file based on the specified predefined Windows Media Format SDK profile GUID.
ConfigureFilterUsingProfile Configures the filter to write an ASF file based on the specified application-defined profile.
ConfigureFilterUsingProfileId Configures the filter to write an ASF file with a profile identifier (ID) index from the system profile list. (For Windows Media Format 4.0 profiles only.) 
GetCurrentProfileGuid Retrieves the current ASF profile GUID defined by the Windows Media Format SDK.
GetCurrentProfile Retrieves the application-defined ASF profile.
GetCurrentProfileId Retrieves the current ASF profile ID. (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.