IConfigAsfWriter::ConfigureFilterUsingProfileGuid method
[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 ConfigureFilterUsingProfileGuid method configures the filter to write an ASF file based on the specified predefined profile. (Deprecated.)
Syntax
HRESULT ConfigureFilterUsingProfileGuid(
[in] REFGUID guidProfile
);
Parameters
-
guidProfile [in]
-
GUID identifying a profile as defined in the Windows Media Format SDK header file Wmsysprf.h.
Return value
Returns one of the following HRESULT values.
Return code | Description |
---|---|
|
The method succeeded. |
|
The profile is not valid. |
|
The filter graph is stopped. |
Remarks
Beginning with the Windows Media Format 9 Series SDK, no new system profiles have been defined. Only version 8 (or earlier) system profile GUIDs can be used with this method.