API 9.3.1.7 EnumLoggedEventsEx ITcEventLog [ } 129] Returns an enumeration object that is used to iterate through the list of logged events. This Method is provided for compatibility with the .NET language family. If you are programming in C++ you might rather want to use the previous version : EnumLoggedEvents [ } 133] . HRESULTEnumLoggedEventsEx([out,retval] ITcEnumEventEx** ppEnum); Parameters ppEnum [out, retval] Pointer to the ITcEnumEventsEx [ } 155] interface pointer that receives the enumeration object of the logged events. Return Values S_OK Function was successfully called E_POINTER ppEnum was no valid pointer. Visual Studio 2005 C# Sample Code :
foreach(TcEventevtinnewTcEventLog().EnumLoggedEventsEx()) evt.Reset(); Also see about this 2 ITcEnumEvents [ } 150] 9.3.1.8 Export ITcEventLog [ } 129] Copies the list of logged events to a structured storage and returns the storage. HRESULTExport([in] IUnknown *pExport); Parameters ppEnum [in] IUnknown pointer to an IStorage interface that receives the copy of the structured storage that holds the list of logged events in streams. Return Values S_OK Function was successfully called E_POINTER pExport was no valid pointer. TcEventLogger 135 Version: 1.1