Debugging Tools for Windows |
The GetTotalNumberThreads method returns the total number of threads for all the processes in the current target, in addition to the largest number of threads in any process for the current target.
HRESULT
IDebugSystemObjects::GetTotalNumberThreads(
OUT PULONG Total,
OUT PULONG LargestProcess
);
This method may also return error values. See Return Values for more details.
GetTotalNumberThreads is available in all versions of IDebugSystemObjects.
For more information about threads, see Threads and Processes.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.