59 if (!
strcmp(VendorString,
"GenuineIntel") ||
60 !
strcmp(VendorString,
"GenuineIotel"))
64 else if (!
strcmp(VendorString,
"AuthenticAMD") ||
65 !
strcmp(VendorString,
"HygonGenuine"))
69 else if (!
strcmp(VendorString,
"CentaurHauls") ||
70 !
strcmp(VendorString,
" Shanghai "))
75 else if (!
strcmp(VendorString,
"CyrixInstead"))
79 else if (!
strcmp(VendorString,
"GenuineTMx86"))
83 else if (!
strcmp(VendorString,
"RiseRiseRise"))
141 *Model |=
VersionInfo.Eax.Bits.ExtendedModelId << 4;
OSVERSIONINFOW VersionInfo
VOID NTAPI KiGetCpuSignature(_Out_ PUSHORT Family, _Out_ PUSHORT Model, _Out_ PUSHORT Stepping)
Get the CPU signature.
VOID NTAPI KiGetCpuVendorString(_Out_writes_z_(CPU_VENDOR_STR_LEN) CHAR VendorString[CPU_VENDOR_STR_LEN])
Get the CPUID information for a given CPU.
CPU_VENDORS NTAPI KiIdentifyCpuVendor(_In_reads_z_(CPU_VENDOR_STR_LEN) const CHAR VendorString[CPU_VENDOR_STR_LEN])
Identify the CPU vendor by the vendor string.
_ACRTIMP int __cdecl strcmp(const char *, const char *)
static const WCHAR Signature[]
PPC_QUAL void __cpuid(int CPUInfo[], const int InfoType)
#define _Out_writes_z_(s)
#define CPU_VENDOR_STR_LEN