Event Configuration Table 2: _IEvtCfgEvents Methods and Properties in Vtable Order 6.7.1.1 AddSource Add a new Source to the configuration. Sources are identified by their IDs- Duplicate IDs are not allowed. HRESULT AddSource([in] IEvtCfgSource* pSource); Parameters pSource [in] pointer to the new source object to be added. Return Values S_OK The new source was successfully added to the configuration. The OnNewSource Event is fired. E_FAIL pSource could not be added to the configuration.
This can happen if either the configuration does already contain a source with the same Id or the Source is already child of another configuration E_POINTER pSource was no valid pointer E_ACCESSDENIED The object is locked due to an asynchronous operation TcEventLogger 27 Version:
1.1 IEvtConfiguration Methods Description EnumParsers [} 28] Get an enumeration object to retreive registered parsers SourceCount [} 31] Get the number of sources in the configuration ClearConfig [} 28] Reset the whole configuration GetConfigSize [} 29] Get the complete count of sources, events and doc links in the configuration CopyTo [} 28] Copy the current configuration to another or create a new Configuration containing the same data IEvtCfgEvents Methods _ Description OnNewSource A new source has been added OnEditSource A source has been edited OnDeleteSource A source was removed from the configuration OnNewEvent An event has been added OnEditEvent An event has been edited OnDeleteEvent An event was removed OnNewLink A link has been added OnEditLink A link has been edited OnDeleteLink A link was removed