IWMEncProfile2::Merge

Windows Media Encoder SDK banner art

The Merge method merges the audiences from the current profile with another profile interface.

Syntax

HRESULT Merge(
  IWMEncProfile2*  pWMEncProfileObj
);

Parameters

pWMEncProfileObj

[in]  Pointer to an IWMEncProfile2 interface.

Return Values

If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.

Return code Number Description
E_POINTER 0x80004003 The pointer to the profile object is NULL.

Remarks

Use the Merge method to merge two profiles with different media types. For example, merge an audio profile with a video profile.

Requirements

Header: wmencode.h

Library: wmenc.exe

See Also