The IsProcessorFeaturePresent function determines whether the specified processor feature is supported by at least one processor on the current machine.
BOOL IsProcessorFeaturePresent(
DWORD ProcessorFeature |
// specifies the processor feature |
); |
Value |
Meaning |
PF_FLOATING_POINT_PRECISION_ |
In rare circumstances, a floating-point precision error can occur (Pentium). |
PF_FLOATING_POINT_EMULATED |
Floating-point operations are emulated using a software emulator. |
PF_COMPARE_EXCHANGE_DOUBLE |
The compare and exchange double operation is available (Pentium, MIPS, and Alpha). |
PF_MMX_INSTRUCTIONS_AVAILABLE |
The MMX instruction set is available. |
If at least one of the processors supports the feature, the return value is nonzero.
If no processor supports the feature, the return value is zero.