Event Configuration Return Values S_OK ppSource contains a valid pointer to an IEvtCfgSource object. E_INVALIDARG No source with the specified Id exists in the configuration E_ACCESSDENIED The object is locked due to an asynchronous operation 6.7.1.9 RemoveSource Remove a source from the configuration. The source to be removed is identified by its Id. HRESULT RemoveSource([in] long nId); Parameters nId [in] Id of the Source to be removed. Return Values S_OK The specified source was removed from the configuration.
E_INVALIDARG No source with the specified Id does not exist in the configuration E_ACCESSDENIED The object is locked due to an asynchronous operation 6.7.1.10 SourceCount Get the number of sources in the configuration. HRESULT SourceCount([out, retval] long *pVal); Parameters pVal [out, retval] pointer to a variable to store the returned Value. Return Values S_OK ppSource contains a valid pointer to an IEvtCfgSource object. E_POINTER TcEventLogger 31 Version: 1.1