This function executes "CPUID" (Opcode : 0F A2) instruction with process affinity mask.
"CPUID" : Returns processor identification and feature information in the EAX, EBX, ECX, and EDX registers.
BOOL CpuidPx(
DWORD indexEax,
DWORD indexEcx,
PDWORD eax,
PDWORD ebx,
PDWORD ecx,
PDWORD edx,
DWORD_PTR processAffinityMask
);
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.
You can check whether "CPUID" instruction is supported on your system with IsCpuid.