Microsoft DirectX 9.0

IConfigAsfWriter::GetCurrentProfile

The GetCurrentProfile method retrieves the application-defined ASF profile.

Syntax

HRESULT GetCurrentProfile(
  IWMProfile **ppProfile
);

Parameters

ppProfile

[out] Address of a pointer that receives the IWMProfile interface of the application-defined profile.

Return Values

Returns S_OK if successful, or an HRESULT error code otherwise.

Remarks

If the method succeeds, the IWMProfile pointer that it returns has an outstanding reference count. Be sure to release the interface when you are finished using it.

See Also