registry.h
来自「《Visual C++编程技巧典型案例解析:基础与应用篇(下)(含1CD-ROM」· C头文件 代码 · 共 23 行
H
23 行
class CZDRegistry
{
public:
// Creates a new registry key
LONG Create(HKEY hRootKey, LPCTSTR lpszSubKey, REGSAM regSam, HKEY& hKey);
// Opens the specified registry key -- creates it if necessary
LONG Open(HKEY hRootKey, LPCTSTR lpszSubKey, REGSAM regSam, HKEY& hKey);
// Closes the specified registry key
LONG Close(HKEY hKey);
// Gets the specified registry key value
LONG GetValue(HKEY hKey, LPCTSTR lpszValueName, DWORD dwDataType,
LPVOID lpvData, DWORD dwBuffSize);
// Sets the specified registry key value
LONG SetValue(HKEY hKey, LPCTSTR lpszValueName, DWORD dwType,
const LPVOID lpvData, DWORD dwDataSize);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?