Debugging Tools for Windows

GetNumberProcessors

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

HRESULT
  IDebugControl::GetNumberProcessors(
    OUT PULONG  Number
    );

Parameters

Number
Receives the number of processors.

Return Value

S_OK
The method was successful.

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

Interface Version

GetNumberProcessors is available in all versions of IDebugControl.

Comments

For more information, see Target Information.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

Build machine: CAPEBUILD