IDebugControl3::GetNumberProcessors method

The GetNumberProcessors method returns the number of processors on the computer running the current target.

Syntax

HRESULT GetNumberProcessors(
  PULONG Number
);

Parameters

Number

Receives the number of processors.

Return Value

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

Return code Description
S_OK
The method was successful.

Remarks

For more information, see Target Information.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)