displayinfo.h

来自「一个用vc获取系统硬件信息的例子」· C头文件 代码 · 共 33 行

H
33
字号
//------------------------------------------------------------------------------
// DisplayInfo.h
//    
//   This file contains the class DisplayInfo. It contains information
//   regarding all display adaptors on a system, such as memory and all
//   available display resolutions/refresh rates.
// 
//   Copyright (c) 2001 Paul Wendt [p-wendt@wideopenwest.com]
// 
#ifndef DISPLAYINFO_H_
#define DISPLAYINFO_H_

#include "SysInfoClasses.h"
#include <string>

class DLL_CLASS DisplayInfo
{
public:        // object creation/destruction
   DisplayInfo();
   DisplayInfo(const DisplayInfo& source);
   DisplayInfo& operator=(const DisplayInfo& right);
   virtual ~DisplayInfo();

public:        // attribute modification
   virtual void determineDisplayInfo();

protected:     // protected members
   void assign(const DisplayInfo& source);

private:       // attributes
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?