1 //==========================================================================
3 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
4 // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
5 // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
8 // Copyright (c) 1999 - 2001 On2 Technologies Inc. All Rights Reserved.
10 //--------------------------------------------------------------------------
17 typedef enum PROCTYPE
{
18 X86
= 0, /* 486, Pentium plain, or any other x86 compatible */
19 PMMX
= 1, /* Pentium with MMX */
20 PPRO
= 2, /* Pentium Pro */
21 PII
= 3, /* Pentium II */
29 XMM
= 11, /* SIMD instructions */
30 WMT
= 12, /* Willamette Processor */
31 SpecialProc
= -1 /* Will NEVER be returned by CPUID, function dependent meaning */
34 #ifdef __cplusplus /* this ifdef only works correctly for Microsoft visual C compilers */
36 extern "C" PROCTYPE
findCPUId(void);
43 * This function will return the type of CPU that you have in your system.
52 * The type of CPU that you have in your system is returned
55 extern PROCTYPE
findCPUId(void);
59 #endif /* CPUIDLIB_H */