Microsoft DirectX 9.0

IConfigAsfWriter::ConfigureFilterUsingProfile

The ConfigureFilterUsingProfile method configures the filter to write an ASF file based on the specified application-defined profile.

Syntax

HRESULT ConfigureFilterUsingProfile(
  IWMProfile *pProfile
);

Parameters

pProfile

[in] IWMProfile interface pointer to the application-defined profile.

Return Values

Returns one of the following HRESULT values.

Return code Description
S_OK Success.
VFW_E_WRONG_STATE The graph is stopped.
E_POINTER The IWMProfile interface pointer is invalid.

Remarks

IWMProfile is defined in the Windows Media Format SDK.

If successful, this method will cause an EC_GRAPH_CHANGED event to be sent to the application.

See Also