testcpu1.h
来自「用VC++编程实现对CPU主频的检测」· C头文件 代码 · 共 33 行
H
33 行
// TestCpu1.h: interface for the TestCpu class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TESTCPU1_H__8D61229B_7268_4957_98BA_3E6571F04D46__INCLUDED_)
#define AFX_TESTCPU1_H__8D61229B_7268_4957_98BA_3E6571F04D46__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define CLONE_MASK 0x8000 // Mask to be 'OR'ed with proc-
class TestCpu : public CObject
{
public:
TestCpu();
virtual ~TestCpu();
WORD wincpuidsupport(); // 是否支持cpuid
WORD wincpuid();
WORD check_IDProc() ;
WORD check_clone();
static WORD check_8086();
static WORD check_80286();
static WORD check_80386();
public:
int clone_flag;
CString str;
// Flag to show whether processor
// is an Intel clone
};
#endif // !defined(AFX_TESTCPU1_H__8D61229B_7268_4957_98BA_3E6571F04D46__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?