Home
last modified time | relevance | path

Searched refs:hkey (Results 1 – 11 of 11) sorted by relevance

/aoo4110/main/extensions/source/activex/main/
H A Dso_activex.cpp321 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 …]
/aoo4110/main/odk/source/com/sun/star/lib/loader/
H A DWinRegKey.java51 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()
/aoo4110/main/cppuhelper/source/
H A Dfindsofficepath.c47 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()
/aoo4110/main/cli_ure/source/native/
H A Dnative_bootstrap.cxx76 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()
/aoo4110/main/setup_native/source/win32/customactions/languagepacks/
H A Dlngpckinsthelper.cxx43 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()
/aoo4110/main/setup_native/source/win32/customactions/regpatchactivex/
H A Dregpatchactivex.cxx101 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()
/aoo4110/main/odk/source/unowinreg/win/
H A Dunowinreg.cxx124 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()
/aoo4110/main/shell/source/win32/sysmail/
H A Dsysmailclient.cxx131 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()
/aoo4110/main/shell/source/win32/shlxthandler/
H A Dshlxthdl.cxx287 HKEY hkey; in UnapproveShellExtension() local
292 &hkey); in UnapproveShellExtension()
297 hkey, in UnapproveShellExtension()
300 rc = RegCloseKey(hkey); in UnapproveShellExtension()
/aoo4110/main/vcl/source/app/
H A Dsettings.cxx1206 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()
/aoo4110/main/vcl/source/window/
H A Dtoolbox.cxx6305 HKEY hkey; in ImplDisableFlatButtons() local
6309 &hkey) ) in ImplDisableFlatButtons()
6315 if( ERROR_SUCCESS == RegQueryValueEx(hkey, "DisableFlatToolboxButtons", in ImplDisableFlatButtons()
6328 RegCloseKey(hkey); in ImplDisableFlatButtons()

Completed in 136 milliseconds