beckhoff — 9.3.8.8 Ms

API 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 TcEvent Set evt = evtLogger.GetLastEvent ' get the event priorty Dim prio As TcEventPriority prio = evt.Priority 9.3.8.7 Flags ITcEvent [ } 157] The property returns the event flag. The event flags are described through the enum TcEventFlags [ } 180] . HRESULT Flags([out, retval] long *pVal); Parameters pVal [out, retval] Pointer to a long value that receives the event flags.

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 TcEvent Set evt = evtLogger.GetLastEvent ' get the event flags Dim flags As TcEventFlags flags = evt.Flags 9.3.8.8 Ms ITcEvent [ } 157] The property returns the millisecond part of the event date and time. The event date and time is the time when the event was issued. HRESULT Ms([out, retval] long *pVal); TcEventLogger 162 Version: 1.1