Microsoft DirectX 9.0

IConfigAsfWriter::ConfigureFilterUsingProfileGuid

The ConfigureFilterUsingProfileGuid method configures the filter to write an ASF file based on the specified predefined profile.

Syntax

HRESULT ConfigureFilterUsingProfileGuid(
  REFGUID guidProfile
);

Parameters

guidProfile

[in] Profile GUID as defined in the Windows Media Format SDK header file Wmsysprf.h.

Return Values

Returns one of the following HRESULT values.

Return code Description
S_OK Success.
E_FAIL The profile is invalid.
VFW_E_WRONG_STATE The filter graph is stopped.

See Also