Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
WinDef.DWORD |
ClosingRecordNumber
Reserved.
|
WinDef.DWORD |
DataLength
Size of the event-specific data (at the position indicated by
DataOffset), in bytes.
|
WinDef.DWORD |
DataOffset
Offset of the event-specific information within this event log
record, in bytes.
|
WinDef.WORD |
EventCategory
Category for this event.
|
WinDef.DWORD |
EventID
Event identifier.
|
WinDef.WORD |
EventType
Type of event.
|
static List<String> |
FIELDS |
WinDef.DWORD |
Length
Size of this event record, in bytes.
|
WinDef.WORD |
NumStrings
Number of strings present in the log (at the position indicated by
StringOffset).
|
WinDef.DWORD |
RecordNumber
Record number of the record.
|
WinDef.DWORD |
Reserved
Reserved.
|
WinDef.WORD |
ReservedFlags
Reserved.
|
WinDef.DWORD |
StringOffset
Offset of the description strings within this event log record.
|
WinDef.DWORD |
TimeGenerated
Time at which this entry was submitted.
|
WinDef.DWORD |
TimeWritten
Time at which this entry was received by the service to be written to
the log.
|
WinDef.DWORD |
UserSidLength
Size of the UserSid member, in bytes.
|
WinDef.DWORD |
UserSidOffset
Offset of the security identifier (SID) within this event log record.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
EVENTLOGRECORD() |
EVENTLOGRECORD(Pointer p) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public WinDef.DWORD Length
public WinDef.DWORD Reserved
public WinDef.DWORD RecordNumber
public WinDef.DWORD TimeGenerated
public WinDef.DWORD TimeWritten
public WinDef.DWORD EventID
public WinDef.WORD EventType
public WinDef.WORD NumStrings
public WinDef.WORD EventCategory
public WinDef.WORD ReservedFlags
public WinDef.DWORD ClosingRecordNumber
public WinDef.DWORD StringOffset
public WinDef.DWORD UserSidLength
public WinDef.DWORD UserSidOffset
public WinDef.DWORD DataLength
public WinDef.DWORD DataOffset
public EVENTLOGRECORD()
public EVENTLOGRECORD(Pointer p)
protected List<String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure