IsProcessorFeaturePresent

[New - Windows NT]

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
);  

Parameters

ProcessorFeature

Specifies the processor feature to be tested. This value can be one of the following:

Value Meaning
PF_FLOATING_POINT_PRECISION_
ERRATA
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.

Return Value

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.