IWMEncProfile2::Clone

Windows Media Encoder SDK banner art

The Clone method creates a copy of a profile interface.

Syntax

HRESULT Clone(
  IWMEncProfile2*  pIWMEncProfile2Obj
);

Parameters

pIWMEncProfile2Obj

[in]  Pointer to an IWMEncProfile2 interface to copy.

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.

Requirements

Header: wmencode.h

Library: wmenc.exe

See Also