IMFASFContentInfo::SetProfile method (wmcontainer.h)

Uses profile data from a profile object to configure settings in the ContentInfo object.

Syntax

HRESULT SetProfile(
  [in] IMFASFProfile *pIProfile
);

Parameters

[in] pIProfile

The IMFASFProfile interface of the profile object.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

If there is already information in the ContentInfo object when this method is called, it is replaced by the information from the profile object.

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 ContentInfo Object

IMFASFContentInfo

IMFASFContentInfo::GetProfile

Initializing the ContentInfo Object of a New ASF File