Class 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.
    • Field Detail

      • dwSize

        public 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.
      • cntUsage

        public int cntUsage
        This member is no longer used and is always set to zero.
      • th32ThreadID

        public int th32ThreadID
        The thread identifier, compatible with the thread identifier returned by the CreateProcess function.
      • th32OwnerProcessID

        public int th32OwnerProcessID
        The identifier of the process that created the thread.
      • tpBasePri

        public 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.
      • tpDeltaPri

        public NativeLong tpDeltaPri
        This member is no longer used and is always set to zero.
      • dwFlags

        public int dwFlags
        This member is no longer used and is always set to zero.
    • Constructor Detail

      • THREADENTRY32

        public THREADENTRY32()
      • THREADENTRY32

        public THREADENTRY32​(Pointer memory)