CpuidPx

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.

Syntax

BOOL CpuidPx(
    DWORD indexEax,
    DWORD indexEcx,
    PDWORD eax,
    PDWORD ebx,
    PDWORD ecx,
    PDWORD edx,
    DWORD_PTR processAffinityMask
);

Parameters

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE.

Remarks

You can check whether "CPUID" instruction is supported on your system with IsCpuid.

Requirements