API [in] Pointer to an object of the type TcEventHeader. The object represents the alarm configuration. Return Values S_OK Function was successfully called E_POINTER pVal was no valid pointer. Visual Basic sample code ' get the one and only event logger Dim evtLogger As TCEVENTLOGGERLib.TcEventLog Set evtLogger = New TCEVENTLOGGERLib.TcEventLog ' get the most recent active event Dim evt As ITcEventC Set evt = evtLogger.GetLastEvent ' get the event header Dim head As TcEventHeader Call evt.GetHeader(head) Also see about this 2 TcEventHeader [ } 181] 9.3.10 ITcEnumEventDocLink The interface ITcEnumEventDocLink is used to enumerate the document links for one event for the chosen language.
The interface derives from IUnknown so that it could be used by all languages that support COM custom interfaces. Table 24: Methods in Vtable Order 9.3.10.1 Next Returns the next number of TcEventDocLink [ } 181] objects in the enumeration sequence. TcEventLogger 176 Version: 1.1 IUnknown Methods Description QueryInterface returns a pointer to the interface you query for AddRef Increments the reference counter Release Decrements the reference counter ITcEnumEventDo- cLinkMethods Description Next [} 176] Returns the next number ofTcEventDocLink [} 181] objects in the enumeration sequence.
Skip [} 177] Skips several TcEventDocLink [} 181] objects in the enumeration sequence Reset [} 178] Resets the enumeration sequence to the first element Clone [} 178] Clones the enumeration object