Cpuid

This function executes "CPUID" (Opcode : 0F A2) instruction.

"CPUID" : Returns processor identification and feature information in the EAX, EBX, ECX, and EDX registers.

Syntax

BOOL Cpuid(
    DWORD indexEax,
    DWORD indexEcx,
    PDWORD eax,
    PDWORD ebx,
    PDWORD ecx,
    PDWORD edx
);

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