Event HMI Parameters pSelEvent [out, retval] A pointer to variable that receives the index of the selected event. The index in the list view starts at the top with the index 0.
Return Values S_OK Function was successfully called E_POINTER pSelEvent was no valid pointer Visual Basic sample code Option Explicit ' add the Beckhoff TcEvent View Library to the components ' place a TcEventView on the form, and assign the name TcEventView1 ' place a command button on the form, and assign the name Command1 Private Sub Command1_Click() ' get the selected event Dim index As Long index = TcEventView1.GetSelectedEvent() ' reset the event Call TcEventView1.ResetEvent(index) End Sub Remarks 7.2.1.44 getExtendedInfo ITcEventView [ } 68] This method returns the Extended Information string (if specified) associated with an event.
HRESULT getExtendedInfo([in] long item, [out,retval] BSTR* message); Parameters item [in] index of the event item in the list view control. message [out, retval] A pointer to variable that receives the extended information associated with the event. Return Values S_OK Function was successfully called S_FALSE Function was successfully called but no extended information was found for the specified event E_POINTER pSelEvent was no valid pointer TcEventLogger 106 Version: 1.1