Share via


IConfigAsfWriter::ConfigureFilterUsingProfileId

 
Microsoft DirectShow 9.0

IConfigAsfWriter::ConfigureFilterUsingProfileId

The ConfigureFilterUsingProfileId method sets a Windows Media Format 4.0 profile on the WM ASF Writer filter. This method is deprecated. Applications should use the IConfigAsfWriter::ConfigureFilterUsingProfile method to set the profile.

Syntax

  HRESULT ConfigureFilterUsingProfileId(
  DWORD dwProfileId
);

Parameters

dwProfileId

[in] Profile ID as defined in version 4.0 of 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.

Requirements

Header: Include Dshowasf.

Library: None.

See Also