8 #ifndef _RegCls_h_incl_ 9 #define _RegCls_h_incl_ 23 #define KEY_CONTROL (DELETE| READ_CONTROL| WRITE_DAC| WRITE_OWNER) //|SYNCHRONIZE 25 #define KEY_RW (KEY_READ|KEY_WRITE) 28 #ifndef ALL_SECURITY_INFO 29 #define ALL_SECURITY_INFO \ 30 ( OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION \ 31 | DACL_SECURITY_INFORMATION | SACL_SECURITY_INFORMATION ) 34 #define REG_OK(rc) (rc == NOERROR) 35 #define REG_ERR(rc) (rc != NOERROR) 62 #define RegQueryDefaultValue( hKey, pType, pData, pSize ) \ 63 RegQueryValueEx( hKey, _T(""), 0, pType, pData, pSize ) 71 #define RegQuerySubkeys( hKey, pNrKeys, pCcKeyname ) \ 72 RegQueryInfoKey( hKey, 0,0,0, pNrKeys, pCcKeyname, 0,0,0,0,0,0 ) 156 #endif //ndef _RegCls_h_incl_
LONG RegSetString(HKEY hKey, CSTR ValName, CSTR Str, DWORD Type)
LONG RestoreWindowRect(HWND hWnd, HKEY baseKey, CSTR regPath, CSTR valName)
HKEY RegCloseKeyEx(HKEY Key)
CSTR RegValueName(CSTR name)
LONG RegGetDWord(HKEY hKey, CSTR ValName, PDWORD pVal)
LONG RegGetBool(HKEY hKey, CSTR ValName, bool *pVal)
BOOL RegKeyExist(HKEY BaseKey, CSTR RegPath)
LONG RegGetString(HKEY hKey, CSTR ValName, TSTR Buf, PDWORD Size, PDWORD Type)
LONG RegGetUInt(HKEY hKey, CSTR ValName, PUINT pVal)
BOOL(WINAPI *SysImgList::Shell_GetImageLists)(HIMAGELIST *pimlLarge
CSTR RegSysKeyName(HKEY hkey)
LONG _RegRenameKey(HKEY BaseKey, CSTR Subkey, CSTR NewSubkeyName)
CSTR RegSysKeyAcronym(HKEY hkey)
LONG RegSetBinary(HKEY hKey, CSTR ValName, PBYTE Val, DWORD Size)
LONG RegDeleteBranch(HKEY Parent, CSTR SubkeyName)
Debug and error handling support.
Common include; Added types, small "ubiquitous" utilities, et c.
LONG RegGetBinary(HKEY hKey, CSTR ValName, PBYTE pVal, PDWORD pSize)
BOOL RegValueExist(HKEY hKey, CSTR Name)
LONG SaveWindowRect(HWND hWnd, HKEY baseKey, CSTR regPath, CSTR valName)
LONG RegRenameValue(HKEY hKey, CSTR OldName, CSTR NewName)
LONG RegSetDWord(HKEY hKey, CSTR ValName, DWORD Val)
CSTR RegTypeName(DWORD type)