|
-
Feb 14th, 2001, 11:56 AM
#1
Thread Starter
Lively Member
Hey Everyone...
Does anyone know how to enumerate and get the handle to a thread and terminate it?
For Example, I have a process that has 3 threads associated with it. I would like to enumerate the threads and end each one manually and indivdually.
Any help would be great!
Corey
-
Feb 14th, 2001, 03:10 PM
#2
Member
I only known a API call to get the thread ID from a window handle that was create by the thread:
Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As Long
lpdnProcessId can be NULL. Maybe this can be a starting point for your search.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|