CopyTo

Create a copy of the source object.

 

HRESULT CopyTo([out, retval]
ITcEvtCfgSource** ppSource);

Parameters

ppSource

[out, retval] pointer to a pointer to the target source. If *ppSource is NULL, a new source will be created.

Return Values

S_OK

ppSource contains a exact copy of this source.

E_POINTER

ppSource was no valid pointer

E_ACCESSDENIED

The object is locked due to an asynchronous operation

Any CoCreateInstance() return value