Skip navigation links
JNA API 5.12.1

Class Advapi32Util.EventLogRecord

  • Enclosing class:

    public static class Advapi32Util.EventLogRecord
    extends java.lang.Object
    An event log record.
    • Constructor Detail

      • EventLogRecord

        public EventLogRecord(Pointer pevlr)
    • Method Detail

      • getInstanceId

        public int getInstanceId()
        The Instance ID, a resource identifier that corresponds to a string definition in the message resource file of the event source. The Event ID is the Instance ID with the top two bits masked off.
        An integer representing the 32-bit Instance ID.
      • getEventId

        public int getEventId()
        Deprecated. As of 5.4.0, replaced by getInstanceId(). The Event ID displayed in the Windows Event Viewer corresponds to getStatusCode() for system-generated events.
      • getSource

        public java.lang.String getSource()
        Event source.
      • getStatusCode

        public int getStatusCode()
        Status code, the rightmost 16 bits of the Instance ID. Corresponds to the Event ID field in the Windows Event Viewer for system-generated events.
        An integer representing the low 16-bits of the Instance ID.
      • getRecordNumber

        public int getRecordNumber()
        Record number of the record. This value can be used with the EVENTLOG_SEEK_READ flag in the ReadEventLog function to begin reading at a specified record.
      • getLength

        public int getLength()
        Record length, with data.
        Number of bytes in the record including data.
      • getStrings

        public java.lang.String[] getStrings()
        Strings associated with this event.
        Array of strings or null.
      • getData

        public byte[] getData()
        Raw data associated with the record.
        Array of bytes or null.
JNA API 5.12.1

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.