Event Configuration The configuration could not be exported. 6.7.6.9 GetConfigSize Get the number of Sources, Events and DocLinks in a configuration file. This does only work for opened files. To get the size of a configuration before exporting it, call IEvtConfiguration::GetConfigSize() [ } 29] . HRESULT GetConfigSize([out] long* nSources, [out] long* nEvents, [out] long* nLinks); Parameters nSources [out] Number of Sources in the configuration nEvents [out] Number of Events in the configuration nLinks [out] Number of DocLinks in the configuration Return Values S_OK Success. E_ACCESSDENIED The parser is locked by an asynchronous operation. E_FAIL Error.
Remarks Returned values may not be exact, as parsers may guess the size for performance reasons or rely on meta data previously added to the file. For example the XML and Tps parsers will return 0, when opening a 'HandMade' file the first time. The method will only work for files, saved with the Parser. 6.7.6.10 Import Import from the currently opened configuration file into the supplied IEvtConfiguration [ } 26] object.. HRESULT Import([in] IEvtConfiguration* pConfig); Parameters pConfig [in] Target configuration. TcEventLogger 59 Version: 1.1