API The method can just be used to issue an alarm. A second call to reset the alarm is not possible with this method. To change the state of an already issued alarm we need the event object itself. For more convenience the method ITcEventLogC3 [ } 141] :: ReportEventEx [ } 143] directly returns the new created event object. Also see about this 2 ITcEventLogC [ } 137] 2 TcEventHeader [ } 181] 9.3.4 ITcEventLogC3 The ITcEventLogC is an interface of the main class of the TcEventLogger [ } 127] . The interface provides the features add new alarms.
The interface derives from ITcEventLogC2 [ } 139] , ITcEventLogC [ } 137] and IUnknown so that it could be used by all languages that support COM custom interfaces. Methods in Vtable Order Table 18: Methods in Vtable Order 9.3.4.1 ReportEvent ITcEventLogC [ } 137] TcEventLogger 141 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 ITcEventLogC [} 137] Methods Description ReportEvent [} 129] This method is used to issue a new event from the client. EnumEventSources Deprecated.
Was used on the deprecated structured storage based formatter to loop through the list of event source storages. OpenEventSource Deprecated. Was used on the deprecated structured storage based formatter to return one particular event source storages. ITcEventLogC2 [} 139] Methods Description CreateEventSource Deprecated. Was used on the deprecated structured storage based formatter to create a new event source storage. RemoveEventSource Deprecated. Was used on the deprecated structured storage based formatter to remove an existing event source storage. RenameEventSource Deprecated. Was used on the deprecated structured storage based formatter to rename an existing event source storage.
ITcEventLogC3 Methods Description ReportEventEx [} 143] This method is used to issue a new event from the client. The function returns the new issued alarm for further control