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

📄 icesysinfo.h

📁 使用stl技术,(还没看,是听说的)
💻 H
字号:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
 *	Contains code to get system information.
 *	\file		IceSysInfo.h
 *	\author		Pierre Terdiman
 *	\date		November, 5, 2001
 */
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Include Guard
#ifndef __ICESYSINFO_H__
#define __ICESYSINFO_H__

	struct ICECORE_API SystemInfo
	{
		sdword	DriverVersion;
		sdword	Width;
		sdword	Height;
		sdword	BPP;
	};

	FUNCTION ICECORE_API void	GetSystemInfo(SystemInfo& si);
	FUNCTION ICECORE_API void	GetSystemDate(String& date);
	FUNCTION ICECORE_API void	GetSystemTime(String& time);
	FUNCTION ICECORE_API void	GetSystem(String& os);
	FUNCTION ICECORE_API udword	GetFreeRam();

	// Directories
	FUNCTION ICECORE_API bool	GetCurrentDir(String& directory);
	FUNCTION ICECORE_API bool	GetSystemDir(String& directory);
	FUNCTION ICECORE_API bool	GetWindowsDir(String& directory);

#endif // __ICESYSINFO_H__

⌨️ 快捷键说明

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