IDebugSystemObjects::GetTotalNumberThreads method (dbgeng.h)
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.
C++
HRESULT GetTotalNumberThreads(
[out] PULONG Total,
[out] PULONG LargestProcess
);
[out] Total
Receives the total number of threads for all the processes in the current target.
[out] LargestProcess
Receives the largest number of threads in any process for the current target.
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
For more information about threads, see Threads and Processes.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |