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

📄 registry.h

📁 强大易用的邮件收发客户端
💻 H
字号:
//// CRegistry  - base class for direct Registry access

#ifndef _CREG_H_
#define _CREG_H_

class CRegistry
{
public:
	CRegistry();
	~CRegistry();

	// RegSection = HKEY_x constant
	BOOL EnumValues(HKEY RegSection, LPCTSTR RegPath, 
		CStringArray* pAr);
	BOOL EnumKeys(HKEY RegSection, LPCTSTR RegPath, 
		CStringArray* pAr);
	LPCTSTR GetValueString(HKEY RegSection, LPCTSTR RegPath, 
		LPCTSTR Value, LPCTSTR DefRes=NULL);
	int GetValueInt(HKEY RegSection, LPCTSTR RegPath, 
		LPCTSTR Value, int DefRes=0);
	BOOL SetValueInt(HKEY RegSection, LPCTSTR RegPath, 
		LPCTSTR Value, int V);
	BOOL SetValueString(HKEY RegSection, LPCTSTR RegPath, 
		LPCTSTR Value, LPCTSTR V);
protected:
	CString m_sResult;	// for returning
};
#endif

⌨️ 快捷键说明

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