Package com.sun.jna.platform.win32
Class Tlhelp32.THREADENTRY32
- java.lang.Object
- 
- com.sun.jna.Structure
- 
- com.sun.jna.platform.win32.Tlhelp32.THREADENTRY32
 
 
- 
- Direct Known Subclasses:
- Tlhelp32.THREADENTRY32.ByReference
 - Enclosing interface:
- Tlhelp32
 
 @FieldOrder({"dwSize","cntUsage","th32ThreadID","th32OwnerProcessID","tpBasePri","tpDeltaPri","dwFlags"}) public static class Tlhelp32.THREADENTRY32 extends Structure Describes an entry from a list of the threads executing in the system when a snapshot was taken.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTlhelp32.THREADENTRY32.ByReference- 
Nested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
 
- 
 - 
Field SummaryFields Modifier and Type Field Description intcntUsageThis member is no longer used and is always set to zero.intdwFlagsThis member is no longer used and is always set to zero.intdwSizeThe size of the structure, in bytes.intth32OwnerProcessIDThe identifier of the process that created the thread.intth32ThreadIDThe thread identifier, compatible with the thread identifier returned by the CreateProcess function.NativeLongtpBasePriThe kernel base priority level assigned to the thread.NativeLongtpDeltaPriThis member is no longer used and is always set to zero.- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description THREADENTRY32()THREADENTRY32(Pointer memory)
 - 
Method Summary- 
Methods 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 Detail- 
dwSizepublic int dwSize The size of the structure, in bytes. Before calling the Thread32First function, set this member to sizeof(THREADENTRY32). If you do not initialize dwSize, Thread32First fails.
 - 
cntUsagepublic int cntUsage This member is no longer used and is always set to zero.
 - 
th32ThreadIDpublic int th32ThreadID The thread identifier, compatible with the thread identifier returned by the CreateProcess function.
 - 
th32OwnerProcessIDpublic int th32OwnerProcessID The identifier of the process that created the thread.
 - 
tpBasePripublic NativeLong tpBasePri The kernel base priority level assigned to the thread. The priority is a number from 0 to 31, with 0 representing the lowest possible thread priority. For more information, see KeQueryPriorityThread.
 - 
tpDeltaPripublic NativeLong tpDeltaPri This member is no longer used and is always set to zero.
 - 
dwFlagspublic int dwFlags This member is no longer used and is always set to zero.
 
- 
 - 
Constructor Detail- 
THREADENTRY32public THREADENTRY32() 
 - 
THREADENTRY32public THREADENTRY32(Pointer memory) 
 
- 
 
-