Event Configuration E_POINTER ppEvent was no valid pointer E_ACCESSDENIED The object is locked due to an asynchronous operation 6.7.2.7 GetFirstName Get the first name of the source. This method resets the internal iterator and calls GetNextName [ } 37] To continue enumation call GetNextName [ } 37] HRESULT GetFirstName([out] BSTR* pName, [out,retval] long* pLangId); Parameters name [out] pointer to a BSTR variable to store the first name associated with this source. pLangId [out, retval] pointer to a long variable to store the lang Id of the returned name. Return Values S_OK name contains the first name of this source. S_FALSE The source does not have any name. *name is set to NULL.
E_POINTER name was no valid pointer E_ACCESSDENIED The object is locked due to an asynchronous operation 6.7.2.8 GetNextEvent Get the next child of this source according to the internal iterator. Before starting enumeration of events call GetFirstEvent [ } 35] After adding or removing events you must restart enumeration by calling GetFirstEvent [ } 35] . If the source is locked by an asyncroneous operation, this method will not return E_FAIL, but wait until the lock is released. HRESULT GetNextEvent([out, retval] IEvtCfgSEvent** ppEvent); Parameters ppEvent [out, retval] pointer to a pointer to store the returned event. TcEventLogger 36 Version: 1.1