thread ThreadID property
Return to Introduction  Previous page  Next page
Applies to
auThread component.  

Declaration
property ThreadID: THandle; // Read only !!  

Description
The ThreadID is the read-only handle which identifies the thread throughout the system.  
 
Use ThreadID, during debugging, to identify the thread in the Threads status box. ThreadID is also useful when calling Win32 API functions for manipulating the thread.  

Note
ThreadID is different than the thread's handle in the Handle property.  

See also
Handle property.