Skip to main content
Version: v4 (Stable)

Read

Read(nFlags As Integer, nMsgID AS INTEGER, sMsg As String, [nSize AS INTEGER, [nEventType As INTEGER, [nEventId As INTEGER, [sDateCreate As STRING, [sHourCreate As STRING, [sDateWritten AS STRING, [sHourWritten AS STRING, [sSource As STRING, [sCategory As STRING, [sUser As STRING, [sComputer As STRING]]]]]]]]]]]]) As Integer

Read the message at the index nMsgID. Returns the message in <sMsg> and its size <nSize>. The event type is returned in <nEventType>. The event id is returned in <nEventId>. The date and hour of message creation are returned in <sDateCreate> and <sHourCreate>. The date and hour of the message writing in eventlog are returned in <sDateWritten> and <sHourWritten>. The message source in <sSource>. The message category in <category>.