नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Retrieves a list of all the threads running in the process.
Syntax
Parameters
ppEnum
[out] Returns an IEnumDebugThreads2 object that contains a list of all threads in all programs in the process.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
This method enumerates the threads running in each program and then combines them into a process view of the threads. A single thread may run in multiple programs; this method enumerates that thread only once.
This method presents a list of the process's threads without duplicates. Otherwise, to enumerate the threads running in a particular program, use the EnumThreads method.