Package com.sun.jna.platform.win32
Interface Tlhelp32
public interface Tlhelp32
Interface for the Tlhelp32.h header file.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classDescribes an entry from a list of the modules belonging to the specified process.static classDescribes an entry from a list of the processes residing in the system address space when a snapshot was taken.static classDescribes an entry from a list of the threads executing in the system when a snapshot was taken.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final WinDef.DWORDIndicates that the snapshot handle is to be inheritable.static final WinDef.DWORDIncludes all processes and threads in the system, plus the heaps and modules of the process specified in th32ProcessID.static final WinDef.DWORDIncludes all heaps of the process specified in th32ProcessID in the snapshot.static final WinDef.DWORDUsed with Kernel32.CreateToolhelp32Snapshot
 Includes all modules of the process specified in th32ProcessID in the snapshot.static final WinDef.DWORDIncludes all 32-bit modules of the process specified in th32ProcessID in the snapshot when called from a 64-bit process.static final WinDef.DWORDIncludes all processes in the system in the snapshot.static final WinDef.DWORDIncludes all threads in the system in the snapshot.
- 
Field Details- 
TH32CS_SNAPHEAPLISTIncludes all heaps of the process specified in th32ProcessID in the snapshot. To enumerate the heaps, see Heap32ListFirst.
- 
TH32CS_SNAPPROCESSIncludes all processes in the system in the snapshot. To enumerate the processes, see Process32First.
- 
TH32CS_SNAPTHREADIncludes all threads in the system in the snapshot. To enumerate the threads, see Thread32First.
- 
TH32CS_SNAPMODULEUsed with Kernel32.CreateToolhelp32Snapshot
 Includes all modules of the process specified in th32ProcessID in the snapshot.
 To enumerate the modules, see Module32First.
 If the function fails with ERROR_BAD_LENGTH, retry the function until it succeeds.
 64-bit Windows: Using this flag in a 32-bit process includes the 32-bit modules of the process specified in th32ProcessID, while using it in a 64-bit process includes the 64-bit modules.
 To include the 32-bit modules of the process specified in th32ProcessID from a 64-bit process, use the TH32CS_SNAPMODULE32 flag.- See Also:
 
- 
TH32CS_SNAPMODULE32Includes all 32-bit modules of the process specified in th32ProcessID in the snapshot when called from a 64-bit process. This flag can be combined with TH32CS_SNAPMODULE or TH32CS_SNAPALL. If the function fails with ERROR_BAD_LENGTH, retry the function until it succeeds.
- 
TH32CS_SNAPALLIncludes all processes and threads in the system, plus the heaps and modules of the process specified in th32ProcessID.
- 
TH32CS_INHERITIndicates that the snapshot handle is to be inheritable.
- 
MAX_MODULE_NAME32static final int MAX_MODULE_NAME32- See Also:
 
 
-