📄 registry.h
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -