IConfigAsfWriter::ConfigureFilterUsingProfileGuid

 
Microsoft DirectShow 9.0

IConfigAsfWriter::ConfigureFilterUsingProfileGuid

The ConfigureFilterUsingProfileGuid method sets a predefined system profile on the WM ASF Writer filter. This method is deprecated. Applications should use the IConfigAsfWriter::ConfigureFilterUsingProfile method to set the profile.

Syntax

  HRESULT ConfigureFilterUsingProfileGuid(
  REFGUID guidProfile
);

Parameters

guidProfile

[in] Profile GUID as defined in the 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.

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.

Requirements

Header: Include Dshowasf.

Library: None.

See Also