CopyTo

Create a copy of the current configuration.

 

HRESULT CopyTo([out, retval]
IEvtConfiguration** ppConfiguration);

Parameters

ppConfiguration

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

Return Values

S_OK

ppConfiguration contains a exact copy of the configuration.

E_POINTER

ppConfiguration was no valid pointer

E_ACCESSDENIED

The object is locked due to an asynchronous operation

Any CoCreateInstance() return value