How can I enumerate all of the threads in a process given a HANDLE to the process (or a process ID)? I’m interested in doing this so I can further do an EnumThreadWindows on each thread.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Enumerating threads in a process at MSDN Blogs.
Code snippet from there: