/aoo41x/main/extensions/source/activex/main/ |
H A D | so_activex.cpp | 321 RegCloseKey(hkey),hkey= NULL; in DllRegisterServerNative_Impl() 352 RegCloseKey(hkey),hkey= NULL; in DllRegisterServerNative_Impl() 416 RegCloseKey( hkey ), hkey = NULL; in DllUnregisterServerNative_Impl() 421 RegCloseKey( hkey ), hkey = NULL; in DllUnregisterServerNative_Impl() 436 RegCloseKey( hkey ), hkey = NULL; in DllUnregisterServerNative_Impl() 441 RegCloseKey( hkey ), hkey = NULL; in DllUnregisterServerNative_Impl() 534 RegCloseKey(hkey),hkey= NULL; in DllRegisterServerDoc_Impl() 543 RegCloseKey(hkey),hkey= NULL; in DllRegisterServerDoc_Impl() 568 RegCloseKey(hkey),hkey= NULL; in DllRegisterServerDoc_Impl() 617 RegCloseKey( hkey ), hkey = NULL; in DllUnregisterServerDoc_Impl() [all …]
|
/aoo41x/main/odk/source/com/sun/star/lib/loader/ |
H A D | WinRegKey.java | 51 private static native boolean winreg_RegCloseKey( long hkey ); in winreg_RegCloseKey() argument 53 long hkey, String value, long[] type, in winreg_RegQueryValueEx() argument 56 long hkey, long[] subkeys, long[] maxSubkeyLen, in winreg_RegQueryInfoKey() argument 117 long[] hkey = {0}; in getValue() local 139 if ( !winreg_RegOpenKeyEx( hroot[0], m_subKeyName, hkey ) ) { in getValue() 154 if ( !winreg_RegQueryInfoKey( hkey[0], subkeys, maxSubkeyLen, in getValue() 156 if ( !winreg_RegCloseKey( hkey[0] ) || in getValue() 172 if ( !winreg_RegQueryValueEx( hkey[0], valueName, type, buffer, in getValue() 174 if ( !winreg_RegCloseKey( hkey[0] ) || in getValue() 185 if ( !winreg_RegCloseKey( hkey[0] ) || in getValue()
|
/aoo41x/main/cppuhelper/source/ |
H A D | findsofficepath.c | 47 HKEY hkey; in getPathFromRegistryKey() local 53 if ( RegOpenKeyEx( hroot, subKeyName, 0, KEY_READ, &hkey ) != ERROR_SUCCESS ) in getPathFromRegistryKey() 59 if ( RegQueryValueEx( hkey, NULL, NULL, &type, NULL, &size) != ERROR_SUCCESS ) in getPathFromRegistryKey() 61 RegCloseKey( hkey ); in getPathFromRegistryKey() 69 if ( RegQueryValueEx( hkey, NULL, NULL, &type, (LPBYTE) data, &size ) != ERROR_SUCCESS ) in getPathFromRegistryKey() 71 RegCloseKey( hkey ); in getPathFromRegistryKey() 76 RegCloseKey( hkey ); in getPathFromRegistryKey()
|
/aoo41x/main/cli_ure/source/native/ |
H A D | native_bootstrap.cxx | 76 HKEY hkey; in getPathFromRegistryKey() local 82 if ( RegOpenKeyEx( hroot, subKeyName, 0, KEY_READ, &hkey ) != ERROR_SUCCESS ) in getPathFromRegistryKey() 88 if ( RegQueryValueEx( hkey, NULL, NULL, &type, NULL, &size) != ERROR_SUCCESS ) in getPathFromRegistryKey() 90 RegCloseKey( hkey ); in getPathFromRegistryKey() 98 if ( RegQueryValueEx( hkey, NULL, NULL, &type, (LPBYTE) data, &size ) != ERROR_SUCCESS ) in getPathFromRegistryKey() 100 RegCloseKey( hkey ); in getPathFromRegistryKey() 105 RegCloseKey( hkey ); in getPathFromRegistryKey()
|
/aoo41x/main/setup_native/source/win32/customactions/languagepacks/ |
H A D | lngpckinsthelper.cxx | 43 RegistryKeyGuard(HKEY hkey = 0) : in RegistryKeyGuard() argument 44 hkey_(hkey) in RegistryKeyGuard() 67 std::string FindProductInstallationPath(HKEY hkey) in FindProductInstallationPath() argument 72 …if (RegQueryInfoKey(hkey, NULL, NULL, NULL, &nSubKeys, &lLongestSubKey, NULL, NULL, NULL, NULL, NU… in FindProductInstallationPath() 81 LONG ret = RegEnumKey(hkey, i, &buff[0], buff.size()); in FindProductInstallationPath() 87 if (RegOpenKey(hkey, &buff[0], &hSubKey) != ERROR_SUCCESS) in FindProductInstallationPath()
|
/aoo41x/main/setup_native/source/win32/customactions/regpatchactivex/ |
H A D | regpatchactivex.cxx | 101 HKEY hkey = NULL; in PatchActiveXControl() local 103 …SS == RegCreateKeyA(bInstallForAllUsers ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER, aSubKey, &hkey) ) in PatchActiveXControl() 105 RegDeleteValueA( hkey, "CLSID" ); in PatchActiveXControl() 106 RegCloseKey( hkey ), hkey = NULL; in PatchActiveXControl()
|
/aoo41x/main/odk/source/unowinreg/win/ |
H A D | unowinreg.cxx | 124 JNIEnv *, jclass, jlong hkey) in Java_com_sun_star_lib_loader_WinRegKey_winreg_1RegCloseKey() argument 127 if (RegCloseKey((HKEY)hkey) == ERROR_SUCCESS) in Java_com_sun_star_lib_loader_WinRegKey_winreg_1RegCloseKey() 134 JNIEnv *env, jclass, jlong hkey, jstring value, jlongArray type, in Java_com_sun_star_lib_loader_WinRegKey_winreg_1RegQueryValueEx() argument 142 if (RegQueryValueEx((HKEY)hkey, valuestr, NULL, ptype, pdata, psize) in Java_com_sun_star_lib_loader_WinRegKey_winreg_1RegQueryValueEx() 154 JNIEnv *env, jclass, jlong hkey, jlongArray subkeys, in Java_com_sun_star_lib_loader_WinRegKey_winreg_1RegQueryInfoKey() argument 170 if (RegQueryInfoKey((HKEY)hkey, NULL, NULL, NULL, psubkeys, pmaxSubkeyLen, in Java_com_sun_star_lib_loader_WinRegKey_winreg_1RegQueryInfoKey()
|
/aoo41x/main/shell/source/win32/sysmail/ |
H A D | sysmailclient.cxx | 131 HKEY hkey; in getAlternativeSenddocUrl() local 132 … LONG lret = RegOpenKeyW(HKEY_CURRENT_USER, L"Software\\OpenOffice\\SendAsEMailClient", &hkey); in getAlternativeSenddocUrl() 137 lret = RegQueryValueW(hkey, NULL, buff, &sz); in getAlternativeSenddocUrl() 142 RegCloseKey(hkey); in getAlternativeSenddocUrl()
|
/aoo41x/main/shell/source/win32/shlxthandler/ |
H A D | shlxthdl.cxx | 287 HKEY hkey; in UnapproveShellExtension() local 292 &hkey); in UnapproveShellExtension() 297 hkey, in UnapproveShellExtension() 300 rc = RegCloseKey(hkey); in UnapproveShellExtension()
|
/aoo41x/main/vcl/source/app/ |
H A D | settings.cxx | 1206 HKEY hkey; in GetEnableATToolSupport() local 1210 &hkey) ) in GetEnableATToolSupport() 1216 if( ERROR_SUCCESS == RegQueryValueEx(hkey, "SupportAssistiveTechnology", in GetEnableATToolSupport() 1233 RegCloseKey(hkey); in GetEnableATToolSupport() 1283 HKEY hkey; in SetEnableATToolSupport() local 1288 &hkey) ) in SetEnableATToolSupport() 1294 if( ERROR_SUCCESS == RegQueryValueEx(hkey, "SupportAssistiveTechnology", in SetEnableATToolSupport() 1300 RegSetValueEx(hkey, "SupportAssistiveTechnology", in SetEnableATToolSupport() 1307 RegSetValueEx(hkey, "SupportAssistiveTechnology", in SetEnableATToolSupport() 1316 RegCloseKey(hkey); in SetEnableATToolSupport()
|
/aoo41x/main/vcl/source/window/ |
H A D | toolbox.cxx | 6297 HKEY hkey; in ImplDisableFlatButtons() local 6301 &hkey) ) in ImplDisableFlatButtons() 6307 if( ERROR_SUCCESS == RegQueryValueEx(hkey, "DisableFlatToolboxButtons", in ImplDisableFlatButtons() 6320 RegCloseKey(hkey); in ImplDisableFlatButtons()
|