Microsoft DirectX 9.0

IConfigAsfWriter::ConfigureFilterUsingProfileId

The ConfigureFilterUsingProfileId method 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.)

Syntax

HRESULT ConfigureFilterUsingProfileId(
  DWORD dwProfileId
);

Parameters

dwProfileId

[in] Profile ID as defined in the Windows Media Format SDK.

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.

Remarks

This method is now obsolete because it assumes version 4.0 Windows Media Format SDK profiles. To configure the filter for version 7.0 and later profiles, use ConfigureFilterUsingProfile or ConfigureFilterUsingProfileGuid.

See Also