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

📄 cregistry.h

📁 mpeg4 video codec mpeg4 video codec
💻 H
字号:
/*CRegistry classCopyright (C) 2002-2004 Antonio ForannaThis program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation.	This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.		You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.			The author can be contacted at:ntnfrn_email-temp@yahoo.it*///---------------------------------------------------------------------------#ifndef CRegistryH#define CRegistryH//---------------------------------------------------------------------------#include <windows.h>#include <stdlib.h>#include <string.h>//#include <memory.h>class CRegistry {public:			CRegistry();			~CRegistry();	BOOL	Open(HKEY hKey, char *SubKey);	BOOL	OpenCreate(HKEY hKey, char *SubKey);	void	Close();	void	DeleteVal(char *SubKey);	void	DeleteKey(char *SubKey);	void	SetBool(char *keyStr , bool val);	void	SetByte(char *keyStr , BYTE val);	void	SetWord(char *keyStr , WORD val);	void	SetDword(char *keyStr , DWORD val);	void	SetFloat(char *keyStr , float val);	void	SetStr(char *keyStr , char *valStr);	void	SetValN(char *keyStr , BYTE *addr,  DWORD size);	bool	GetSetBool(char *keyStr, bool var);	BYTE	GetSetByte(char *keyStr, BYTE var);	WORD	GetSetWord(char *keyStr, WORD var);	DWORD	GetSetDword(char *keyStr, DWORD var);	float	GetSetFloat(char *keyStr, float var);	char	*GetSetStr(char *keyStr, char *String);	int		GetSetValN(char *keyStr, BYTE *defData, DWORD defSize, BYTE **dest);	HKEY	regKey;	char	*path;};#endif

⌨️ 快捷键说明

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