Debugging Tools for Windows |
The GetTotalNumberThreadsAndProcesses method returns the total number of threads and processes in all the targets the engine is attached to, in addition to the largest number of threads and processes in a target.
HRESULT
IDebugSystemObjects3::GetTotalNumberThreadsAndProcesses(
OUT PULONG TotalThreads,
OUT PULONG TotalProcesses,
OUT PULONG LargestProcessThreads,
OUT PULONG LargestSystemThreads,
OUT PULONG LargestSystemProcesses
);
This method may also return error values. See Return Values for more details.
GetTotalNumberThreadsAndProcesses is available in IDebugSystemObjects3 and later versions.
If no target is found, all the values are set to zero.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.