By usong such a code :
Code: Select all
For i = 0 To $FFFFFF
If GetThreadTimes_(i, @CreationTime.FILETIME, @ExitTime.FILETIME, @KernelTime.FILETIME, @UserTime.FILETIME)
Debug "Thread " + Str(i) + " found"
EndIf
Next
CallDebugger
End
you will have some returning thread ids. OK. But what I don't know is if they are unique IDs belonging to all running processes, or IDs from the app which runs currently.
Just a question ... because it is not clear to me by reading the Win32 API guide.
