| Debugging Tools for Windows | 
The GetNumberProcessors method returns the number of processors on the computer running the current target.
HRESULT
  IDebugControl::GetNumberProcessors(
    OUT PULONG  Number
    );
This method may also return error values. See Return Values for more details.
GetNumberProcessors is available in all versions of IDebugControl.
For more information, see Target Information.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.