/trunk/main/setup_native/source/win32/customactions/shellextensions/ |
H A D | iconcache.cxx | 56 HKEY hKey; in RebuildShellIconCache() local 58 …cs"), 0, NULL, REG_OPTION_VOLATILE, KEY_SET_VALUE | KEY_QUERY_VALUE, NULL, &hKey, &dwDisposition ); in RebuildShellIconCache() 68 lError = RegQueryValueEx( hKey, TEXT("Shell Icon Size"), 0, &dwType, (LPBYTE)szValue, &cbValue ); in RebuildShellIconCache() 82 …lError = RegSetValueEx( hKey, TEXT("Shell Icon Size"), 0, dwType, (LPBYTE)szTempValue, strlen( szT… in RebuildShellIconCache() 92 lError = RegSetValueEx( hKey, TEXT("Shell Icon Size"), 0, dwType, (LPBYTE)szValue, cbValue ); in RebuildShellIconCache() 102 lError = RegCloseKey( hKey ); in RebuildShellIconCache()
|
H A D | shellextensions.cxx | 139 HKEY hKey; in InstallExecSequenceEntry() local 157 …RegSetValueEx(hKey, PropHandler.Key, 0, REG_SZ, reinterpret_cast<const BYTE*>(PropHandler.Value), … in InstallExecSequenceEntry() 160 RegCloseKey(hKey); in InstallExecSequenceEntry() 172 RegCloseKey(hKey); in InstallExecSequenceEntry() 185 RegCloseKey(hKey); in InstallExecSequenceEntry() 198 HKEY hKey; in DeinstallExecSequenceEntry() local 201 RegDeleteValue(hKey, ColumnHandler.Key); in DeinstallExecSequenceEntry() 202 RegDeleteValue(hKey, InfotipHandler.Key); in DeinstallExecSequenceEntry() 203 RegDeleteValue(hKey, PropHandler.Key); in DeinstallExecSequenceEntry() 204 RegDeleteValue(hKey, ThumbViewer.Key); in DeinstallExecSequenceEntry() [all …]
|
H A D | upgrade.cxx | 153 HKEY hKey; in RegistryKeyHasUpgradeSubKey() local 154 if (RegOpenKey(hRootKey, regKey.c_str(), &hKey) == ERROR_SUCCESS) in RegistryKeyHasUpgradeSubKey() 160 …hKey, NULL, NULL, NULL, &nSubKeys, &lLongestSubKey, NULL, NULL, NULL, NULL, NULL, NULL) == ERROR_S… in RegistryKeyHasUpgradeSubKey() 166 LONG ret = RegEnumKey(hKey, i, buffer, lLongestSubKey + 1); in RegistryKeyHasUpgradeSubKey()
|
H A D | completeinstallpath.cxx | 80 HKEY hKey; in CompleteInstallPath() local 130 if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey30.c_str(), &hKey ) ) in CompleteInstallPath() 133 RegCloseKey( hKey ); in CompleteInstallPath() 135 else if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey31.c_str(), &hKey ) ) in CompleteInstallPath() 138 RegCloseKey( hKey ); in CompleteInstallPath() 140 else if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey32.c_str(), &hKey ) ) in CompleteInstallPath() 143 RegCloseKey( hKey ); in CompleteInstallPath() 145 else if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE, sProductKey30.c_str(), &hKey ) ) in CompleteInstallPath() 148 RegCloseKey( hKey ); in CompleteInstallPath() 153 RegCloseKey( hKey ); in CompleteInstallPath() [all …]
|
H A D | migrateinstallpath.cxx | 73 HKEY hKey; in MigrateInstallPath() local 88 if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey.c_str(), &hKey ) ) in MigrateInstallPath() 90 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in MigrateInstallPath() 97 RegCloseKey( hKey ); in MigrateInstallPath() 99 else if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE, sProductKey.c_str(), &hKey ) ) in MigrateInstallPath() 101 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in MigrateInstallPath() 108 RegCloseKey( hKey ); in MigrateInstallPath()
|
H A D | postuninstall.cxx | 105 HKEY hKey; in ExecutePostUninstallScript() local 112 if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey.c_str(), &hKey ) ) in ExecutePostUninstallScript() 114 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in ExecutePostUninstallScript() 118 RegCloseKey( hKey ); in ExecutePostUninstallScript() 120 else if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE, sProductKey.c_str(), &hKey ) ) in ExecutePostUninstallScript() 122 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in ExecutePostUninstallScript() 126 RegCloseKey( hKey ); in ExecutePostUninstallScript()
|
H A D | registerextensions.cxx | 381 HKEY hKey; in RemoveExtensions() local 387 if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey.c_str(), &hKey ) ) in RemoveExtensions() 389 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in RemoveExtensions() 393 RegCloseKey( hKey ); in RemoveExtensions() 395 else if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE, sProductKey.c_str(), &hKey ) ) in RemoveExtensions() 397 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in RemoveExtensions() 401 RegCloseKey( hKey ); in RemoveExtensions()
|
/trunk/main/xmerge/source/activesync/ |
H A D | XMergeFilter.cpp | 149 HKEY hKey = NULL; in FormatMessage() local 157 0, KEY_READ, &hKey); in FormatMessage() 162 0, KEY_READ, &hKey); in FormatMessage() 165 hKey = NULL; in FormatMessage() 173 lRet = ::RegQueryValueEx(hKey, _T("Java"), 0, NULL, (LPBYTE)errMsg, &dwSize); in FormatMessage() 189 lRet = ::RegQueryValueEx(hKey, _T("JavaInit"), 0, NULL, (LPBYTE)errMsg, &dwSize); in FormatMessage() 361 HKEY hKey = NULL; in GetJavaBaseDir() local 398 lRet = ::RegOpenKeyEx(hKey, _T(szCurrentJava), 0, KEY_READ, &hDataKey); in GetJavaBaseDir() 401 RegCloseKey(hKey); in GetJavaBaseDir() 413 RegCloseKey(hKey); in GetJavaBaseDir() [all …]
|
H A D | XMergeSync.cpp | 87 if (hKey) in _signalRegError() 189 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer() 215 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer() 303 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer() 348 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer() 438 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer() 464 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer() 552 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer() 599 ::RegCloseKey(hKey); hKey = NULL; in DllRegisterServer() 730 ::RegCloseKey(hKey); hKey = NULL; in DllUnregisterServer() [all …]
|
/trunk/main/crashrep/source/win32/ |
H A D | soreport.cpp | 250 HKEY hKey = NULL; in RegReadValue() local 253 lResult = RegOpenKeyEx( hBaseKey, lpSubKey, 0, KEY_QUERY_VALUE, &hKey ); in RegReadValue() 257 lResult = RegQueryValueEx( hKey, lpValueName, NULL, NULL, (LPBYTE)lpData, &cbData ); in RegReadValue() 258 RegCloseKey( hKey ); in RegReadValue() 268 HKEY hKey = NULL; in RegWriteValue() local 271 …teKeyEx( hBaseKey, lpSubKey, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hKey, NULL ); in RegWriteValue() 275 lResult = RegSetValueEx( hKey, lpValueName, NULL, dwType, (CONST BYTE *)lpData, cbData ); in RegWriteValue() 276 RegCloseKey( hKey ); in RegWriteValue()
|
/trunk/main/desktop/win32/source/setup/ |
H A D | setup.cpp | 1269 HKEY hKey = 0; in IsTerminalServerInstalled() local 1272 if ( ERROR_SUCCESS == RegOpenKeyEx( HKEY_LOCAL_MACHINE, sKey, 0, KEY_READ, &hKey ) && in IsTerminalServerInstalled() 1273 ERROR_SUCCESS == RegQueryValueEx( hKey, sValue, NULL, &dwType, NULL, &dwSize ) && in IsTerminalServerInstalled() 1281 … if ( ERROR_SUCCESS == RegQueryValueEx( hKey, sValue, NULL, &dwType, (LPBYTE)sSuiteList, &dwSize) ) in IsTerminalServerInstalled() 1302 if ( hKey ) in IsTerminalServerInstalled() 1303 RegCloseKey( hKey ); in IsTerminalServerInstalled()
|
/trunk/main/setup_native/source/win32/customactions/patch/ |
H A D | swappatchfiles.cxx | 601 HKEY hKey; in UninstallPatchedFiles() local 607 if ( ERROR_SUCCESS == RegOpenKey( HKEY_CURRENT_USER, sProductKey.c_str(), &hKey ) ) in UninstallPatchedFiles() 609 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in UninstallPatchedFiles() 613 RegCloseKey( hKey ); in UninstallPatchedFiles() 615 else if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE, sProductKey.c_str(), &hKey ) ) in UninstallPatchedFiles() 617 …if ( ERROR_SUCCESS == RegQueryValueEx( hKey, TEXT("INSTALLLOCATION"), NULL, NULL, (LPBYTE)szValue,… in UninstallPatchedFiles() 621 RegCloseKey( hKey ); in UninstallPatchedFiles() 776 HKEY hKey; in SetFeatureState() local 777 if (RegOpenKey(registryRoot, registryKey.c_str(), &hKey) == ERROR_SUCCESS) in SetFeatureState() 791 …lEnumResult = RegEnumValue( hKey, counter, szValueName, pValueNameSize, NULL, NULL, (LPBYTE)szValu… in SetFeatureState() [all …]
|
/trunk/main/shell/source/win32/shlxthandler/util/ |
H A D | registry.cxx | 82 HKEY hKey; in DeleteRegistryKey() local 89 &hKey); in DeleteRegistryKey() 100 hKey, 0, 0, 0, 0, in DeleteRegistryKey() 114 hKey, in DeleteRegistryKey() 127 DeleteRegistryKey(hKey, SubKey); in DeleteRegistryKey() 132 RegCloseKey(hKey); in DeleteRegistryKey() 144 HKEY hKey; in HasSubkeysRegistryKey() local 183 HKEY hKey; in QueryRegistryKey() local 190 &hKey); in QueryRegistryKey() 195 hKey, ValueName, NULL, NULL, (LPBYTE)pszData,&dwBufLen); in QueryRegistryKey() [all …]
|
/trunk/main/setup_native/source/win32/customactions/languagepacks/ |
H A D | lngpckinsthelper.cxx | 142 HKEY hKey; in SetProductInstallationPath() local 143 if ((RegOpenKey(HKEY_CURRENT_USER, ®KeyProdPath[0], &hKey) == ERROR_SUCCESS) || in SetProductInstallationPath() 144 (RegOpenKey(HKEY_LOCAL_MACHINE, ®KeyProdPath[0], &hKey) == ERROR_SUCCESS)) in SetProductInstallationPath() 146 RegistryKeyGuard guard(hKey); in SetProductInstallationPath() 147 std::string path = FindProductInstallationPath(hKey); in SetProductInstallationPath()
|
/trunk/main/setup_native/source/win32/customactions/reg4allmsdoc/ |
H A D | reg4allmsi.cxx | 97 HKEY hKey = NULL; in CheckExtensionInRegistry() local 160 RegCloseKey( hKey ); in CheckExtensionInRegistry() 171 HKEY hKey; in DeleteSubKeyTree() local 172 LONG rc = RegOpenKeyExA( RootKey, lpKey, 0, KEY_READ | DELETE, &hKey ); in DeleteSubKeyTree() 179 rc = RegQueryInfoKeyA( hKey, 0, 0, 0, 0, &nMaxSubKeyLen, 0, 0, 0, 0, 0, 0 ); in DeleteSubKeyTree() 199 rc = DeleteSubKeyTree( hKey, lpSubKey ); in DeleteSubKeyTree() 205 RegCloseKey(hKey); in DeleteSubKeyTree() 220 HKEY hKey = NULL; in RemoveExtensionInRegistry() local 226 lResult = RegOpenKeyExA( hKey, lpSubKey, 0, KEY_QUERY_VALUE, &hSubKey ); in RemoveExtensionInRegistry() 246 DeleteSubKeyTree( hKey, lpSubKey ); in RemoveExtensionInRegistry() [all …]
|
/trunk/main/setup_native/source/win32/customactions/javafilter/ |
H A D | jfregca.cxx | 43 void createKeys(HKEY hKey, char **); 44 void deleteKeys(HKEY hKey, char **); 176 HKEY hKey; in update_activesync_regvalues() local 183 createKeys(hKey, data); in update_activesync_regvalues() 185 deleteKeys(hKey, data); in update_activesync_regvalues() 208 hKey, // key handle in update_activesync_regvalues() 243 if (hKey != NULL) { in update_activesync_regvalues() 244 RegCloseKey(hKey); in update_activesync_regvalues() 260 void createKeys(HKEY hKey, char **data) { in createKeys() argument 298 void deleteKeys(HKEY hKey, TCHAR **data) { in deleteKeys() argument [all …]
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salgdi3.cxx | 418 HKEY hKey = NULL; in MapCharToLanguage() local 421 0, KEY_QUERY_VALUE, &hKey ); in MapCharToLanguage() 425 lResult = RegQueryValueExA( hKey, "Default", NULL, NULL, (LPBYTE)aKeyValBuf, &nKeyValSize ); in MapCharToLanguage()
|
/trunk/main/svx/source/dialog/ |
H A D | sendreportw32.cxx | 53 HKEY hKey = NULL; in RegReadValue() local 56 lResult = RegOpenKeyEx( hBaseKey, lpSubKey, 0, KEY_QUERY_VALUE, &hKey ); in RegReadValue() 60 lResult = RegQueryValueEx( hKey, lpValueName, NULL, NULL, (LPBYTE)lpData, &cbData ); in RegReadValue() 61 RegCloseKey( hKey ); in RegReadValue() 71 HKEY hKey = NULL; in RegWriteValue() local 74 …teKeyEx( hBaseKey, lpSubKey, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hKey, NULL ); in RegWriteValue() 78 lResult = RegSetValueEx( hKey, lpValueName, NULL, dwType, (CONST sal_uInt8 *)lpData, cbData ); in RegWriteValue() 79 RegCloseKey( hKey ); in RegWriteValue()
|
/trunk/main/setup_native/source/win32/stwrapper/ |
H A D | stwrapper.cxx | 56 HKEY hKey = NULL; in RegReadValue() local 59 lResult = RegOpenKeyEx( hBaseKey, lpSubKey, 0, KEY_QUERY_VALUE, &hKey ); in RegReadValue() 63 lResult = RegQueryValueEx( hKey, lpValueName, NULL, NULL, (LPBYTE)lpData, &cbData ); in RegReadValue() 64 RegCloseKey( hKey ); in RegReadValue()
|
/trunk/main/setup_native/source/win32/customactions/reg4msdoc/ |
H A D | registryw9x.cxx | 389 HKEY hKey; in CreateSubKey() local 399 &hKey, in CreateSubKey() 409 return RegistryKey(new RegistryKeyImplWin9x(hRoot, hKey, Name)); in CreateSubKey()
|
H A D | registrywnt.cxx | 402 HKEY hKey; in CreateSubKey() local 412 &hKey, in CreateSubKey() 422 return RegistryKey(new RegistryKeyImplWinNT(hRoot, hKey, Name)); in CreateSubKey() 489 HKEY hKey; in ImplDeleteSubKeyTree() local 496 &hKey); in ImplDeleteSubKeyTree() 504 hKey, 0, 0, 0, 0, in ImplDeleteSubKeyTree() 518 hKey, in ImplDeleteSubKeyTree() 531 rc = ImplDeleteSubKeyTree(hKey, lpSubKey); in ImplDeleteSubKeyTree() 536 RegCloseKey(hKey); in ImplDeleteSubKeyTree()
|
/trunk/main/sal/inc/systools/win32/ |
H A D | advapi9x.h | 97 HKEY hKey, // handle to open key 105 HKEY hKey, // handle to key to enumerate 116 HKEY hKey, // handle to open key 128 HKEY hKey, // handle to open key 133 HKEY hKey, // handle to key to query 144 HKEY hKey, // handle to key 153 HKEY hKey, // handle to key 162 HKEY hKey, // handle to key 167 HKEY hKey, // handle to key to query
|
/trunk/main/registry/tools/ |
H A D | regview.cxx | 45 RegKeyHandle hRootKey, hKey; in main() local 65 if (!reg_openKey(hRootKey, keyName.pData, &hKey)) in main() 67 if (reg_dumpRegistry(hKey)) in main() 72 if (reg_closeKey(hKey)) in main()
|
/trunk/main/registry/workben/ |
H A D | regspeed.cxx | 110 RegKeyHandle hRootKey, hKey, hSubKey, hSubSubKey; in main() local 150 if (reg_createKey(hRootKey, keyName1.pData, &hKey)) in main() 158 if (reg_createKey(hKey, keyName2.pData, &hSubKey)) in main() 180 if (reg_closeKey(hKey)) in main() 195 if (reg_openKey(hRootKey, keyName1.pData, &hKey)) in main() 236 if (reg_closeKey(hKey)) in main()
|
/trunk/main/registry/source/ |
H A D | regkey.cxx | 731 if (!hKey) in reg_createKey() 744 if (!hKey) in reg_openKey() 758 if (!hKey) in reg_openSubKeys() 782 if (!hKey) in reg_deleteKey() 793 if (!hKey) in reg_closeKey() 805 if (hKey) in reg_getKeyName() 825 if (!hKey) in reg_setValue() 839 if (!hKey) in reg_setLongListValue() 853 if (!hKey) in reg_setStringListValue() 867 if (!hKey) in reg_setUnicodeListValue() [all …]
|