CmtGetNumProcessors

unsigned int CmtGetNumProcessors (void);

Purpose

Returns the number of processors (CPUs) in the computer on which your program is running.

Parameters

None.

Return Value

Name Type Description
numberOfProcessors unsigned int Returns the number of processors in the computer on which your program is running.