IDebugControl2::GetNumberProcessors method (dbgeng.h)

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

Syntax

HRESULT GetNumberProcessors(
  [out] PULONG Number
);

Parameters

[out] 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

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