⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testcpu1.h

📁 用VC++编程实现对CPU主频的检测
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -