Re: Any Api on win NT to get thread handle from thread id?.

"henin" <henin@xxxxxxxxxxxxxxxx> wrote in message
> Hi,
> I have a requirement that I want to know if a thread is alive or not,
> but I have only it's thread id and I am on win NT.
> Thanks,
> Henin.

OpenThread - Win2k+
ZwOpenThread - All Windows Nt

google would have found these very easily.

How do you get the thread-id? It is much better to keep track
of a thread through it's entire lifetime by keeping it's handle open
and then using WaitForSingleObject to check if its still alive..


Free win32 software, sourcecode and tutorials


Relevant Pages