QueryNumProcessors method

Retrieves the number of processors installed in the system.

Syntax

HRESULT retVal = object.QueryNumProcessors(pulNumProc);

Parameters

  • pulNumProc [out]
    Type: unsigned long

    Pointer to the number of processors.