API Remarks Since the structured storage is the native database format and the structure design is not documented the export function should not be used by user programs. 9.3.1.9 ActiveEvents ITcEventLog [ } 129] This property returns the number of active events. HRESULT ActiveEvents([out, retval] long *pVal); Parameters pVal [out, retval] A pointer to a long value that returns the current number of active events. 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 number of active events Dim countActive As Long countActive = evtLogger.ActiveEvents 9.3.1.10 LoggedEvents ITcEventLog [ } 129] This property returns the number of logged events. HRESULT LoggedEvents([out, retval] long *pVal); Parameters pVal [out, retval] A pointer to a long value that returns the current number of logged events. Return Values S_OK Function was successfully called E_POINTER pVal was no valid pointer. TcEventLogger 136 Version: 1.1