IMFTranscodeSinkInfoProvider::SetProfile method (mfidl.h)

Sets the transcoding profile on the transcode sink activation object.

Syntax

HRESULT SetProfile(
  [in] IMFTranscodeProfile *pProfile
);

Parameters

[in] pProfile

A pointer to the IMFTranscodeProfile interface. To get a pointer to this interface, call MFCreateTranscodeProfile.

Return value

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

Remarks

Before calling this method, initialize the profile object as follows:

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header mfidl.h

See also

IMFTranscodeSinkInfoProvider