CopyTo
Create a copy of the event object.
HRESULT CopyTo([out, retval]
ITcEvtCfgSource** ppEvent);
Parameters
ppEvent
[out, retval] pointer to a pointer to the target event. If *ppEvent is NULL, a new event will be created.
Return Values
S_OK
ppEvent contains a exact copy of this event.
E_POINTER
ppEvent was no valid pointer
E_ACCESSDENIED
The object is locked due to an asynchronous operation
Any CoCreateInstance() return value