public static class Advapi32Util.EventLogRecord
extends java.lang.Object
Constructor and Description |
---|
EventLogRecord(Pointer pevlr) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Raw data associated with the record.
|
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. |
int |
getInstanceId()
The Instance ID, a resource identifier that corresponds to a string
definition in the message resource file of the event source.
|
int |
getLength()
Record length, with data.
|
WinNT.EVENTLOGRECORD |
getRecord()
Raw record data.
|
int |
getRecordNumber()
Record number of the record.
|
java.lang.String |
getSource()
Event source.
|
int |
getStatusCode()
Status code, the rightmost 16 bits of the Instance ID.
|
java.lang.String[] |
getStrings()
Strings associated with this event.
|
Advapi32Util.EventLogType |
getType()
Event log type.
|
public EventLogRecord(Pointer pevlr)
public WinNT.EVENTLOGRECORD getRecord()
public int getInstanceId()
@Deprecated public int getEventId()
getInstanceId()
. The
Event ID displayed in the Windows Event Viewer
corresponds to getStatusCode()
for
system-generated events.public java.lang.String getSource()
public int getStatusCode()
public int getRecordNumber()
public int getLength()
public java.lang.String[] getStrings()
public Advapi32Util.EventLogType getType()
public byte[] getData()