beckhoff — 6.7.2.3 EventCount

Event Configuration E_FAIL pEvente could not be added to the configuration. This can happen either if the source does already contain an event with the same Id or the evet is already child of another source E_POINTER pEvent was no valid pointer E_ACCESSDENIED The object is locked due to an asynchronous operation Also see about this 2 IEvtCfgSource [ } 32] 6.7.2.2 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 Also see about this 2 IEvtCfgSource [ } 32] 6.7.2.3 EventCount Get the number of events which are children of this source. Property get HRESULT EventCount([out, retval] long *pVal); Parameters pVal TcEventLogger 33 Version: 1.1