Tlhelp32.MODULEENTRY32W.ByReference
public static class Tlhelp32.MODULEENTRY32W extends Structure
Modifier and Type | Class | Description |
---|---|---|
static class |
Tlhelp32.MODULEENTRY32W.ByReference |
A representation of a MODULEENTRY32 structure as a reference
|
Structure.ByValue, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
WinDef.DWORD |
dwSize |
The size of the structure, in bytes.
|
static java.util.List<java.lang.String> |
FIELDS |
|
WinDef.DWORD |
GlblcntUsage |
The load count of the module, which is not generally meaningful, and
usually equal to 0xFFFF.
|
WinDef.HMODULE |
hModule |
A handle to the module in the context of the owning process.
|
Pointer |
modBaseAddr |
The base address of the module in the context of the owning process.
|
WinDef.DWORD |
modBaseSize |
The size of the module, in bytes.
|
WinDef.DWORD |
ProccntUsage |
The load count of the module (same as GlblcntUsage), which is not
generally meaningful, and usually equal to 0xFFFF.
|
char[] |
szExePath |
The module path.
|
char[] |
szModule |
The module name.
|
WinDef.DWORD |
th32ModuleID |
This member is no longer used, and is always set to one.
|
WinDef.DWORD |
th32ProcessID |
The identifier of the process whose modules are to be examined.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor | Description |
---|---|
MODULEENTRY32W() |
|
MODULEENTRY32W(Pointer memory) |
Modifier and Type | Method | Description |
---|---|---|
protected java.util.List<java.lang.String> |
getFieldOrder() |
Return this Structure's field names in their proper order.
|
java.lang.String |
szExePath() |
|
java.lang.String |
szModule() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 static final java.util.List<java.lang.String> FIELDS
public WinDef.DWORD dwSize
public WinDef.DWORD th32ModuleID
public WinDef.DWORD th32ProcessID
public WinDef.DWORD GlblcntUsage
public WinDef.DWORD ProccntUsage
public Pointer modBaseAddr
public WinDef.DWORD modBaseSize
public WinDef.HMODULE hModule
public char[] szModule
public char[] szExePath
public MODULEENTRY32W()
public MODULEENTRY32W(Pointer memory)
public java.lang.String szModule()
public java.lang.String szExePath()
protected java.util.List<java.lang.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