API Remarks After this method call the Event Logger will raise the event OnNewEvent [ } 145] on all client that implement the event interface _ITcEventLogEvents [ } 144] (VB: Dim WithEvents). 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 TcEventHeader [ } 181] 9.3.3 ITcEventLogC2 The ITcEventLogC2 is an interface of the main class of the TcEventLogger [ } 127] .
The interface provides the deprecated features to control the deprecated structured storage based formatter. The interface derives from ITcEventLogC [ } 137] and IUnknown so that it could be used by all languages that support COM custom interfaces. Methods in Vtable Order Table 17: Methods in Vtable Order 9.3.3.1 ReportEvent ITcEventLogC This method is used to issue an alarm from a COM client like the HMI program to the TcEventLogger. TcEventLogger 139 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 Meth- ods 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 Methods Description CreateEventSource Deprecated.
Was used on the deprecated structured storage based formatter to create a new event source storage. RemoveEventSourc e Deprecated. Was used on the deprecated structured storage based formatter to remove an existing event source storage. RenameEventSourc e Deprecated. Was used on the deprecated structured storage based formatter to rename an existing event source storage.