IMFASFProfile::Clone method (wmcontainer.h)

Creates a copy of the Advanced Systems Format profile object.

Syntax

HRESULT Clone(
  [out] IMFASFProfile **ppIProfile
);

Parameters

[out] ppIProfile

Receives a pointer to the IMFASFProfile interface of the new object. The caller must release the interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The cloned object is completely independent of the original.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wmcontainer.h
Library Mfuuid.lib

See also

ASF Profile

IMFASFProfile