Download the source code

We can use IsProcessorFeaturePresent to retrieve processor features the syntax of the API is:

BOOL IsProcessorFeaturePresent(DWORD dwProcessorFeature);

The dwProcessorFeature is the feature we want to check whether it is supported or not. There are different #defines in Winnt.h header file. These #defines depends on the processor being compiled. If you are using compiling for ARM processor you will get all the #defines of ARM processor. I compiled it for ARM processor. The other #defines are copied from Winnt.h to Features.h header file.