IDebugSystemObjects::GetTotalNumberThreads method

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.

Syntax


HRESULT GetTotalNumberThreads(
  [out] PULONG Total,
  [out] PULONG LargestProcess
);

Parameters

Total [out]

Receives the total number of threads for all the processes in the current target.

LargestProcess [out]

Receives the largest number of threads in any process for the current target.

Return value

This method may also return error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

 

Remarks

For more information about threads, see Threads and Processes.

Requirements

Target platform

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show: