Package com.sun.jna.platform.win32
Class Tlhelp32.MODULEENTRY32W
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Tlhelp32.MODULEENTRY32W
- Direct Known Subclasses:
- Tlhelp32.MODULEENTRY32W.ByReference
- Enclosing interface:
- Tlhelp32
@FieldOrder({"dwSize","th32ModuleID","th32ProcessID","GlblcntUsage","ProccntUsage","modBaseAddr","modBaseSize","hModule","szModule","szExePath"})
public static class Tlhelp32.MODULEENTRY32W
extends Structure
Describes an entry from a list of the modules belonging to the specified
 process.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA representation of a MODULEENTRY32 structure as a referenceNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe size of the structure, in bytes.The load count of the module, which is not generally meaningful, and usually equal to 0xFFFF.A handle to the module in the context of the owning process.The base address of the module in the context of the owning process.The size of the module, in bytes.The load count of the module (same as GlblcntUsage), which is not generally meaningful, and usually equal to 0xFFFF.char[]The module path.char[]The module name.This member is no longer used, and is always set to one.The identifier of the process whose modules are to be examined.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
- 
Field Details- 
dwSizeThe size of the structure, in bytes. Before calling the Module32First function, set this member to sizeof(MODULEENTRY32). If you do not initialize dwSize, Module32First fails.
- 
th32ModuleIDThis member is no longer used, and is always set to one.
- 
th32ProcessIDThe identifier of the process whose modules are to be examined.
- 
GlblcntUsageThe load count of the module, which is not generally meaningful, and usually equal to 0xFFFF.
- 
ProccntUsageThe load count of the module (same as GlblcntUsage), which is not generally meaningful, and usually equal to 0xFFFF.
- 
modBaseAddrThe base address of the module in the context of the owning process.
- 
modBaseSizeThe size of the module, in bytes.
- 
hModuleA handle to the module in the context of the owning process.
- 
szModulepublic char[] szModuleThe module name.
- 
szExePathpublic char[] szExePathThe module path.
 
- 
- 
Constructor Details- 
MODULEENTRY32Wpublic MODULEENTRY32W()
- 
MODULEENTRY32W
 
- 
- 
Method Details- 
szModule- Returns:
- The module name.
 
- 
szExePath- Returns:
- The module path.
 
 
-