QueryNumProcessors method
Retrieves the number of processors installed in the system.
Syntax
HRESULT retVal = object.QueryNumProcessors(pulNumProc);
Parameters
pulNumProc [out]
Type: unsigned longPointer to the number of processors.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Retrieves the number of processors installed in the system.
HRESULT retVal = object.QueryNumProcessors(pulNumProc);
pulNumProc [out]
Type: unsigned long
Pointer to the number of processors.