/aoo4110/main/xmerge/source/activesync/ |
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 …]
|
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() 358 HKEY hKey = NULL; in GetJavaBaseDir() local 395 lRet = ::RegOpenKeyEx(hKey, _T(szCurrentJava), 0, KEY_READ, &hDataKey); in GetJavaBaseDir() 398 RegCloseKey(hKey); in GetJavaBaseDir() 410 RegCloseKey(hKey); in GetJavaBaseDir() [all …]
|
/aoo4110/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 …]
|
H A D | registry.cxx | 252 RegKeyHandle hKey, in loadKey() argument 392 RegKeyHandle hKey) in dumpRegistry() argument 408 return pReg->dumpRegistry(hKey); in dumpRegistry() 471 if (hKey) in reg_loadKey() 472 pKey = (ORegKey*)hKey; in reg_loadKey() 488 if (hKey) in reg_saveKey() 489 pKey = (ORegKey*)hKey; in reg_saveKey() 507 if (hKey) in reg_mergeKey() 508 pKey = (ORegKey*)hKey; in reg_mergeKey() 620 if (hKey) in reg_dumpRegistry() [all …]
|
H A D | regimpl.hxx | 84 RegError acquireKey(RegKeyHandle hKey); 85 RegError releaseKey(RegKeyHandle hKey); 87 RegError createKey(RegKeyHandle hKey, 91 RegError openKey(RegKeyHandle hKey, 95 RegError closeKey(RegKeyHandle hKey); 97 RegError deleteKey(RegKeyHandle hKey, const rtl::OUString& keyName); 99 RegError loadKey(RegKeyHandle hKey, 104 RegError saveKey(RegKeyHandle hKey, 109 RegError dumpRegistry(RegKeyHandle hKey) const;
|
H A D | regimpl.cxx | 609 RegError ORegistry::acquireKey (RegKeyHandle hKey) in acquireKey() argument 611 ORegKey* pKey = static_cast< ORegKey* >(hKey); in acquireKey() 624 RegError ORegistry::releaseKey (RegKeyHandle hKey) in releaseKey() argument 626 ORegKey* pKey = static_cast< ORegKey* >(hKey); in releaseKey() 654 if (hKey) in createKey() 655 pKey = (ORegKey*)hKey; in createKey() 717 if (hKey) in openKey() 718 pKey = (ORegKey*)hKey; in openKey() 752 RegError ORegistry::closeKey(RegKeyHandle hKey) in closeKey() argument 754 ORegKey* pKey = static_cast< ORegKey* >(hKey); in closeKey() [all …]
|
/aoo4110/main/setup_native/source/win32/customactions/shellextensions/ |
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 | 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 | iconcache.cxx | 56 HKEY hKey; in RebuildShellIconCache() local 58 …ics"), 0, NULL, REG_OPTION_VOLATILE, KEY_SET_VALUE | KEY_QUERY_VALUE, NULL, &hKey, &dwDispostion ); 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 | 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()
|
/aoo4110/main/registry/inc/registry/ |
H A D | registry.h | 46 RegError REGISTRY_CALLTYPE reg_createKey(RegKeyHandle hKey, 61 RegError REGISTRY_CALLTYPE reg_openKey(RegKeyHandle hKey, 79 RegError REGISTRY_CALLTYPE reg_openSubKeys(RegKeyHandle hKey, 104 RegError REGISTRY_CALLTYPE reg_deleteKey(RegKeyHandle hKey, 114 RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey); 137 RegError REGISTRY_CALLTYPE reg_setValue(RegKeyHandle hKey, 216 RegError REGISTRY_CALLTYPE reg_getValue(RegKeyHandle hKey, 283 RegError REGISTRY_CALLTYPE reg_createLink(RegKeyHandle hKey, 347 RegError REGISTRY_CALLTYPE reg_loadKey(RegKeyHandle hKey, 364 RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey, [all …]
|
/aoo4110/main/migrationanalysis/src/wizard/ |
H A D | Office10Issues.bas | 26 (ByVal hKey As Long) As Long 46 Alias "RegDeleteValueA" (ByVal hKey As Long, _ 85 Public Function CreateRegKey(hKey As RegHive, strPath As String) 102 retval = RegCreateKeyEx(hKey, strPath, 0, "", 0, KEY_WRITE, _ 105 retval = RegCloseKey(hKey) 131 retval = RegCreateKeyEx(hKey, strPath, 0, "", 0, KEY_WRITE, _ 160 lRegResult = RegOpenKey(hKey, strPath, hCurKey) 183 lRegResult = RegCreateKey(hKey, strPath, hCurKey) 248 Dim hKey As Long variable 253 retval = RegDeleteValue(hKey, AccessVBOM) [all …]
|
H A D | Utilities.bas | 141 (ByVal hKey As Long, _ 149 (ByVal hKey As Long, _ 157 (ByVal hKey As Long) As Long 396 Dim hKey As Long variable 398 hKey = OpenRegKey(sHive, sSubKey) 400 If hKey <> 0 Then 401 GetRegistryInfo = GetRegValue(hKey, sKey) 404 Call RegCloseKey(hKey) 452 Private Function OpenRegKey(ByVal hKey As Long, _ 457 retval = RegOpenKeyEx(hKey, lpSubKey, _
|
/aoo4110/main/setup_native/source/win32/customactions/javafilter/ |
H A D | jfregca.cxx | 42 void createKeys(HKEY hKey, char **); 43 void deleteKeys(HKEY hKey, char **); 175 HKEY hKey; in update_activesync_regvalues() local 182 createKeys(hKey, data); in update_activesync_regvalues() 184 deleteKeys(hKey, data); in update_activesync_regvalues() 207 hKey, // key handle in update_activesync_regvalues() 242 if (hKey != NULL) { in update_activesync_regvalues() 243 RegCloseKey(hKey); in update_activesync_regvalues() 259 void createKeys(HKEY hKey, char **data) { in createKeys() argument 297 void deleteKeys(HKEY hKey, TCHAR **data) { in deleteKeys() argument [all …]
|
/aoo4110/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 …]
|
/aoo4110/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 …]
|
/aoo4110/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
|
/aoo4110/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()
|
/aoo4110/main/setup_native/source/win32/customactions/reg4msdoc/ |
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()
|
/aoo4110/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 …]
|
/aoo4110/main/embedserv/source/inprocserv/ |
H A D | dllentry.cxx | 95 HKEY hKey = NULL; in WriteLibraryToRegistry() local 107 if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE, pSubKey, &hKey ) ) in WriteLibraryToRegistry() 109 … if ( ERROR_SUCCESS == RegSetValueEx( hKey, "", 0, REG_SZ, (const BYTE*)pLibrary, nLen ) ) in WriteLibraryToRegistry() 113 if ( hKey ) in WriteLibraryToRegistry() 115 RegCloseKey( hKey ); in WriteLibraryToRegistry() 116 hKey = NULL; in WriteLibraryToRegistry()
|
/aoo4110/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()
|
/aoo4110/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()
|