ExIsProcessorFeaturePresent function (wdm.h)
The ExIsProcessorFeaturePresent routine queries for the existence of a specified processor feature.
BOOLEAN ExIsProcessorFeaturePresent(
[in] ULONG ProcessorFeature
);
[in] ProcessorFeature
Specifies one of the following constant values:
The processor has the Pentium floating-point divide bug.
The processor does not have floating-point hardware.
The processor has an 8-byte, memory-locked compare and exchange (CMPXCHG8B) instruction.
The processor supports MMX instructions in hardware.
The processor supports SSE instructions in hardware.
The processor supports AMD 3DNow instructions.
The processor supports a read-timestamp-counter (RDTSC) instruction.
The processor implements Physical Address Extension (PAE) support.
The processor supports SSE2 instructions in hardware. This parameter value is supported only in Windows XP and later versions of Windows.
The processor supports the denormals-are-zero (DAZ) mode for SSE instructions. This parameter value is supported only in Windows Vista and later versions of Windows.
Data execution prevention is enabled. This parameter value is supported only in Windows Vista and later versions of Windows.
The processor supports SSE3 instructions. This parameter value is supported only in Windows Vista and later versions of Windows.
The atomic compare and exchange 128-bit operation (CMPXCHG16B) is available. This parameter value is supported only in Windows Vista and later versions of Windows.
The atomic compare 64-bit and exchange 128-bit operation (CMP8XCHG16) is available. This parameter value is supported only in Windows Vista and later versions of Windows.
The processor supports the XSAVE and XRSTOR instructions. This parameter value is supported only in Windows 7 and later versions of Windows.
ExIsProcessorFeaturePresent returns TRUE if the specified processor feature is present; otherwise, it returns FALSE.
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport), IrqlExPassive(wdm), PowerIrpDDis(wdm) |