Package com.sun.jna.platform.win32
Klasse Advapi32Util.EventLogRecord
java.lang.Object
com.sun.jna.platform.win32.Advapi32Util.EventLogRecord
- Umschließende Klasse:
Advapi32Util
An event log record.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbyte[]getData()Raw data associated with the record.intVeraltet.intThe Instance ID, a resource identifier that corresponds to a string definition in the message resource file of the event source.intRecord length, with data.Raw record data.intRecord number of the record.Event source.intStatus code, the rightmost 16 bits of the Instance ID.String[]Strings associated with this event.getType()Event log type.
-
Konstruktordetails
-
EventLogRecord
-
-
Methodendetails
-
getRecord
Raw record data.- Gibt zurück:
- EVENTLOGRECORD.
-
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.- Gibt zurück:
- An integer representing the 32-bit Instance ID.
-
getEventId
Veraltet.As of 5.4.0, replaced bygetInstanceId(). The Event ID displayed in the Windows Event Viewer corresponds togetStatusCode()for system-generated events. -
getSource
Event source.- Gibt zurück:
- String.
-
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.- Gibt zurück:
- 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.- Gibt zurück:
- Integer.
-
getLength
public int getLength()Record length, with data.- Gibt zurück:
- Number of bytes in the record including data.
-
getStrings
Strings associated with this event.- Gibt zurück:
- Array of strings or null.
-
getType
Event log type.- Gibt zurück:
- Event log type.
-
getData
public byte[] getData()Raw data associated with the record.- Gibt zurück:
- Array of bytes or null.
-
getInstanceId().