IDebugSystemObjects::GetNumberProcesses method

The GetNumberProcesses method returns the number of processes for the current target.

Syntax


HRESULT GetNumberProcesses(
  [out]  PULONG Number
);

Parameters

Number [out]

Receives the number of processes.

Return value

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

Return codeDescription
S_OK

The method was successful.

 

Remarks

In kernel-mode debugging, there is only a single virtual process representing the kernel.

In user-mode debugging, the number of processes changes with the create-process and exit-process debugging events.

For more information about processes, see Threads and Processes.

Requirements

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft