blob: 29990b6812e68576faeafb3e95099a8860a175e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
typedef struct cpuid_args_s {
DWORD eax;
DWORD ebx;
DWORD ecx;
DWORD edx;
} CPUID_ARGS;
extern "C" {
#ifdef _WIN64 // For 64-bit apps
void cpuid64(CPUID_ARGS* p);
#define _CPUID cpuid64
#endif
}
|