Is there any function in Windows API that given a thread Id returns a Handle to that thread?
Printable View
Is there any function in Windows API that given a thread Id returns a Handle to that thread?
OpenThread()
OpenThread()
Requirements
Windows NT/2000 or later: Requires Windows 2000 or later.
Windows 95/98/Me: Requires Windows Me.
Header: Declared in Winbase.h; include Windows.h.
Library: Use Kernel32.lib
if you want to use something that works with Windows 9X too, you have to use the Toolhelper ... and their snapshots:
take a look here
http://msdn.microsoft.com/library/de...lp_library.asp