/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/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()
|
/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/ |
H A D | util.cxx | 566 HKEY hKey; in getJavaInfoFromRegistry() local 568 if (RegOpenKeyExW(hRoot, bufVersion, 0, KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS) in getJavaInfoFromRegistry() 574 … if( RegQueryValueExW(hKey, L"JavaHome", 0, &dwType, NULL, &dwTmpPathLen)== ERROR_SUCCESS) in getJavaInfoFromRegistry() 578 …if(RegQueryValueExW(hKey, L"JavaHome", 0, &dwType, (unsigned char*) szTmpPath, &dwTmpPathLen) == E… in getJavaInfoFromRegistry() 608 RegCloseKey(hKey); in getJavaInfoFromRegistry()
|
/trunk/main/jvmfwk/source/ |
H A D | fwkutil.cxx | 73 HKEY hKey = 0; in isAccessibilitySupportDesired() local 76 0, KEY_READ, &hKey) == ERROR_SUCCESS) in isAccessibilitySupportDesired() 81 if( RegQueryValueEx(hKey, "SupportAssistiveTechnology", NULL, &dwType, arData, in isAccessibilitySupportDesired() 110 RegCloseKey(hKey); in isAccessibilitySupportDesired()
|
/trunk/main/migrationanalysis/src/driver_docs/sources/ |
H A D | CommonPreparation.bas | 32 ByVal hProv As Long, ByVal Algid As Long, ByVal hKey As Long, _
|
/trunk/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, _
|
/trunk/main/registry/inc/registry/ |
H A D | registry.h | 47 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_createKey(RegKeyHandle hKey, 62 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openKey(RegKeyHandle hKey, 80 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openSubKeys(RegKeyHandle hKey, 105 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_deleteKey(RegKeyHandle hKey, 115 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey); 138 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setValue(RegKeyHandle hKey, 217 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getValue(RegKeyHandle hKey, 284 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_createLink(RegKeyHandle hKey, 348 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_loadKey(RegKeyHandle hKey, 365 REGISTRY_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey, [all …]
|
H A D | registry.hxx | 657 RegKeyHandle hKey); 786 inline RegistryKey::RegistryKey(Registry& registry, RegKeyHandle hKey) in RegistryKey() argument 788 , m_hImpl(hKey) in RegistryKey()
|
/trunk/main/registry/source/ |
H A D | keyimpl.cxx | 63 RegError ORegKey::acquireKey(RegKeyHandle hKey) in acquireKey() argument 65 return m_pRegistry->acquireKey(hKey); in acquireKey() 71 RegError ORegKey::releaseKey(RegKeyHandle hKey) in releaseKey() argument 73 return m_pRegistry->releaseKey(hKey); in releaseKey() 219 RegError ORegKey::closeKey(RegKeyHandle hKey) in closeKey() argument 221 return (m_pRegistry->closeKey(hKey)); in closeKey() 986 RegKeyHandle hKey = 0; in getKeyType() local 987 RegError _ret = pThis->openKey(name, &hKey); in getKeyType() 990 (void) pThis->releaseKey(hKey); in getKeyType()
|
H A D | keyimpl.hxx | 44 RegError acquireKey(RegKeyHandle hKey); 45 RegError releaseKey(RegKeyHandle hKey); 59 RegError closeKey(RegKeyHandle hKey);
|
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 …]
|
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 | 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 | 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 …]
|
/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/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/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/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/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/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/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()
|