/reactos/modules/rostests/winetests/reg/ |
H A D | copy.c | 129 delete_tree(HKEY_CURRENT_USER, COPY_SRC, 0); in test_copy_empty_key() 137 verify_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_empty_key() 143 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_empty_key() 148 verify_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_empty_key() 154 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_empty_key() 159 verify_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_empty_key() 165 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_empty_key() 170 verify_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_empty_key() 179 verify_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_empty_key() 204 verify_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_copy_simple_data() [all …]
|
H A D | export.c | 184 delete_tree(HKEY_CURRENT_USER, KEY_BASE, 0); in test_command_syntax() 243 delete_tree(HKEY_CURRENT_USER, KEY_BASE, 0); in test_export() 246 add_key(HKEY_CURRENT_USER, KEY_BASE, 0, &hkey); in test_export() 314 delete_tree(HKEY_CURRENT_USER, KEY_BASE, 0); in test_export() 337 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_export() 354 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_export() 372 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_export() 391 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_export() 428 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_export() 440 delete_tree(HKEY_CURRENT_USER, KEY_BASE, 0); in test_export() [all …]
|
H A D | add.c | 227 delete_tree(HKEY_CURRENT_USER, KEY_BASE, 0); in test_command_syntax() 329 delete_tree(HKEY_CURRENT_USER, KEY_BASE, 0); in test_key_formats() 367 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_add() 379 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_add() 400 verify_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_add() 409 verify_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_add() 416 delete_tree(HKEY_CURRENT_USER, KEY_BASE, 0); in test_add() 445 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_reg_none() 523 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_reg_sz() 564 delete_key(HKEY_CURRENT_USER, KEY_BASE, 0); in test_reg_expand_sz() [all …]
|
/reactos/modules/rostests/apitests/advapi32/ |
H A D | RegCreateKeyEx.c | 43 ErrorCode = RegDeleteKeyW(HKEY_CURRENT_USER, L"mykey"); in START_TEST() 55 ErrorCode = RegDeleteKeyW(HKEY_CURRENT_USER, L"mykey1"); in START_TEST() 67 ErrorCode = RegDeleteKeyW(HKEY_CURRENT_USER, L"mykey2"); in START_TEST() 156 lRes = RegCreateKeyExW(HKEY_CURRENT_USER, L"mykey", 0, L"", 0, in START_TEST() 164 lRes = RegCreateKeyExA(HKEY_CURRENT_USER, "mykey", 0, "", 0, in START_TEST() 174 lRes = RegCreateKeyExW(HKEY_CURRENT_USER, L"mykey1", 0, L"", 0, in START_TEST() 182 lRes = RegCreateKeyExA(HKEY_CURRENT_USER, "mykey1", 0, "", 0, in START_TEST() 200 lRes = RegCreateKeyExA(HKEY_CURRENT_USER, "mykey2", 0, "", 0, in START_TEST() 221 ErrorCode = RegDeleteKeyW(HKEY_CURRENT_USER, L"mykey"); in START_TEST() 224 ErrorCode = RegDeleteKeyW(HKEY_CURRENT_USER, L"mykey1"); in START_TEST() [all …]
|
H A D | HKEY_CLASSES_ROOT.c | 149 HKEY_CURRENT_USER, in Test_CreateOpenKey() 191 HKEY_CURRENT_USER, in Test_CreateOpenKey() 220 HKEY_CURRENT_USER, in Test_CreateOpenKey() 263 HKEY_CURRENT_USER, in Test_CreateOpenKey() 273 HKEY_CURRENT_USER, in Test_CreateOpenKey() 371 HKEY_CURRENT_USER, in Test_CreateOpenKey() 414 HKEY_CURRENT_USER, in Test_CreateOpenKey() 446 HKEY_CURRENT_USER, in Test_CreateOpenKey() 533 HKEY_CURRENT_USER, in Test_CreateOpenKey() 614 HKEY_CURRENT_USER, in START_TEST()
|
/reactos/modules/rostests/apitests/shdocvw/ |
H A D | MRUList.cpp | 43 hr = pList->InitData(26, 0, HKEY_CURRENT_USER, SUBKEY0, NULL); in MRUList_DataList_0() 111 hr = pList->InitData(26, 0, HKEY_CURRENT_USER, SUBKEY0, NULL); in MRUList_DataList_1() 145 hr = pList->InitData(26, 0, HKEY_CURRENT_USER, SUBKEY0, NULL); in MRUList_DataList_2() 172 SHDeleteKeyW(HKEY_CURRENT_USER, SUBKEY0); in MRUList_DataList() 187 error = SHDeleteValueW(HKEY_CURRENT_USER, SUBKEY0, L"MRUList"); in MRUList_DataList() 189 error = SHDeleteValueW(HKEY_CURRENT_USER, SUBKEY0, L"MRUListEx"); in MRUList_DataList() 202 error = SHDeleteValueW(HKEY_CURRENT_USER, SUBKEY0, L"MRUList"); in MRUList_DataList() 207 SHDeleteKeyW(HKEY_CURRENT_USER, SUBKEY0); in MRUList_DataList() 229 hr = pList->InitList(32, HKEY_CURRENT_USER, SUBKEY0); in MRUList_PidlList_0() 329 SHDeleteKeyW(HKEY_CURRENT_USER, SUBKEY0); in MRUList_PidlList() [all …]
|
/reactos/modules/rostests/apitests/shlwapi/ |
H A D | SHGetRestriction.c | 33 SHGetValueW(HKEY_CURRENT_USER, szPath, lpValue, NULL, &dwValue, &cbValue); in Candidate_SHGetRestriction() 88 DELETE_VALUE(HKEY_CURRENT_USER); in TEST_SHGetRestriction_Stage() 92 SET_VALUE(HKEY_CURRENT_USER, 0); in TEST_SHGetRestriction_Stage() 96 SET_VALUE(HKEY_CURRENT_USER, 1); in TEST_SHGetRestriction_Stage() 100 DELETE_VALUE(HKEY_CURRENT_USER); in TEST_SHGetRestriction_Stage() 104 DELETE_VALUE(HKEY_CURRENT_USER); in TEST_SHGetRestriction_Stage() 108 SET_VALUE(HKEY_CURRENT_USER, 0); in TEST_SHGetRestriction_Stage() 112 SET_VALUE(HKEY_CURRENT_USER, 1); in TEST_SHGetRestriction_Stage() 134 DELETE_VALUE(HKEY_CURRENT_USER); in START_TEST()
|
/reactos/modules/rostests/apitests/shell32/ |
H A D | SHRestricted.cpp | 31 DELETE_VALUE(HKEY_CURRENT_USER); in TEST_SHRestricted() 37 SET_VALUE(HKEY_CURRENT_USER, 0); in TEST_SHRestricted() 44 SET_VALUE(HKEY_CURRENT_USER, 1); in TEST_SHRestricted() 51 DELETE_VALUE(HKEY_CURRENT_USER); in TEST_SHRestricted() 58 DELETE_VALUE(HKEY_CURRENT_USER); in TEST_SHRestricted() 65 SET_VALUE(HKEY_CURRENT_USER, 2); in TEST_SHRestricted() 72 DELETE_VALUE(HKEY_CURRENT_USER); in TEST_SHRestricted()
|
/reactos/modules/rostests/winetests/shlwapi/ |
H A D | shreg.c | 66 ret = RegOpenKeyExA( HKEY_CURRENT_USER, parent, 0, KEY_ALL_ACCESS, &parentKey); in delete_key() 85 ret = RegCreateKeyA(HKEY_CURRENT_USER, REG_TEST_KEY, &hKey); in create_test_entries() 125 dwRet = SHGetValueA(HKEY_CURRENT_USER, REG_TEST_KEY, "Test1", &dwType, buf, &dwSize); in test_SHGetValue() 137 dwRet = SHGetValueA(HKEY_CURRENT_USER, REG_TEST_KEY, "Test2", &dwType, buf, &dwSize); in test_SHGetValue() 190 dwRet = (*pSHRegGetPathA)(HKEY_CURRENT_USER, REG_TEST_KEY, "Test1", buf, 0); in test_SHGetRegPath() 206 dwRet = RegOpenKeyExA(HKEY_CURRENT_USER, REG_TEST_KEY, 0, KEY_QUERY_VALUE, &hKey); in test_SHQueryValueEx() 361 if (!RegOpenKeyA(HKEY_CURRENT_USER, REG_TEST_KEY "\\CopyDestination", &hKeyDst) && hKeyDst) in test_SHCopyKey() 368 dwRet = RegCreateKeyA(HKEY_CURRENT_USER, REG_TEST_KEY "\\CopyDestination", &hKeyDst); in test_SHCopyKey() 411 if (!RegOpenKeyA(HKEY_CURRENT_USER, REG_TEST_KEY, &hKeyTest)) in test_SHDeleteKey() 435 dwRet = SHDeleteKeyA(HKEY_CURRENT_USER, REG_TEST_KEY "\\ODBC"); in test_SHDeleteKey() [all …]
|
/reactos/modules/rostests/winetests/regedit/ |
H A D | regedit.c | 285 delete_tree(HKEY_CURRENT_USER, KEY_BASE); in test_basic_import() 708 delete_tree(HKEY_CURRENT_USER, KEY_BASE); in test_basic_import() 720 delete_tree(HKEY_CURRENT_USER, KEY_BASE); in test_basic_import_unicode() 1147 delete_tree(HKEY_CURRENT_USER, KEY_BASE); in test_basic_import_unicode() 1209 delete_tree(HKEY_CURRENT_USER, KEY_BASE); in test_invalid_import() 1706 delete_key(HKEY_CURRENT_USER, KEY_BASE); in test_invalid_import() 2217 delete_key(HKEY_CURRENT_USER, KEY_BASE); in test_invalid_import_unicode() 2505 delete_key(HKEY_CURRENT_USER, KEY_BASE); in test_comments() 2745 delete_key(HKEY_CURRENT_USER, KEY_BASE); in test_comments_unicode() 2891 delete_key(HKEY_CURRENT_USER, KEY_BASE); in test_import_with_whitespace() [all …]
|
/reactos/base/applications/ctfmon/ |
H A D | CRegWatcher.cpp | 17 { HKEY_CURRENT_USER, TEXT("Keyboard Layout\\Toggle") }, // WI_TOGGLE 19 { HKEY_CURRENT_USER, TEXT("Keyboard Layout\\Preload") }, // WI_PRELOAD 20 { HKEY_CURRENT_USER, TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run") }, // WI_RUN 21 … { HKEY_CURRENT_USER, TEXT("SOFTWARE\\Microsoft\\CTF\\TIP") }, // WI_USER_TIF 22 …{ HKEY_CURRENT_USER, TEXT("SOFTWARE\\Microsoft\\Speech") }, // WI_USER_SPEE… 23 …{ HKEY_CURRENT_USER, TEXT("Control Panel\\Appearance") }, // WI_APPEARANCE 24 { HKEY_CURRENT_USER, TEXT("Control Panel\\Colors") }, // WI_COLORS 25 …{ HKEY_CURRENT_USER, TEXT("Control Panel\\Desktop\\WindowMetrics") }, // WI_WINDOW_ME… 27 …{ HKEY_CURRENT_USER, TEXT("Keyboard Layout") }, // WI_KEYBOARD_… 28 …{ HKEY_CURRENT_USER, TEXT("SOFTWARE\\Microsoft\\CTF\\Assemblies") }, // WI_ASSEMBLIES [all …]
|
/reactos/modules/rostests/apitests/atl/ |
H A D | CRegKey.cpp | 20 CRegKey key2(HKEY_CURRENT_USER); in START_TEST() 23 …ok(key2.m_hKey == HKEY_CURRENT_USER, "Expected m_hKey to be initialized to HKEY_CURRENT_USER, was:… in START_TEST() 24 ok(key2 == HKEY_CURRENT_USER, "Expected operator HKEY() to be implemented\n"); in START_TEST() 28 …ok(key3.m_hKey == HKEY_CURRENT_USER, "Expected m_hKey to be initialized to HKEY_CURRENT_USER, was:… in START_TEST() 41 lret = key.Open(HKEY_CURRENT_USER, _T("Environment")); in START_TEST() 53 lret = key2.Open(HKEY_CURRENT_USER, _T("Environment"), KEY_READ); in START_TEST() 56 lret = key3.Open(HKEY_CURRENT_USER, _T("Environment"), KEY_WRITE); in START_TEST() 131 lret = qv.Open(HKEY_CURRENT_USER, _T("Environment\\APITEST_KEY_NAME")); in START_TEST() 197 lret = test1.Create(HKEY_CURRENT_USER, _T("TEST1")); in START_TEST() 209 CRegKey key(HKEY_CURRENT_USER); in START_TEST()
|
/reactos/modules/rostests/winetests/comctl32/ |
H A D | mru.c | 169 ok(!RegCreateKeyA(HKEY_CURRENT_USER, REG_TEST_FULLKEY, &hKey), in create_reg_entries() 180 if (RegOpenKeyExA(HKEY_CURRENT_USER, REG_TEST_BASEKEYA, 0, KEY_ALL_ACCESS, in delete_reg_entries() 194 ok(!RegOpenKeyA(HKEY_CURRENT_USER, REG_TEST_FULLKEY, &hKey), in check_reg_entries() 311 ok(!RegCreateKeyA(HKEY_CURRENT_USER, REG_TEST_KEYA, &hKey), in test_MRUListA() 462 {{ sizeof(MRUINFOA) + 1, 0, 0, HKEY_CURRENT_USER, NULL, NULL }, FALSE }, 463 {{ sizeof(MRUINFOA) - 1, 0, 0, HKEY_CURRENT_USER, NULL, NULL }, FALSE }, 466 {{ sizeof(MRUINFOA), 0, 0, HKEY_CURRENT_USER, "WineTest", NULL }, TRUE }, 467 {{ sizeof(MRUINFOA), 0, 0, HKEY_CURRENT_USER, NULL, NULL }, FALSE }, 470 {{ 0, 0, 0, HKEY_CURRENT_USER, "WineTest", NULL }, TRUE } 565 ok(!RegCreateKeyA(HKEY_CURRENT_USER, REG_TEST_KEYA, &hKey), in test_CreateMRUListW() [all …]
|
/reactos/modules/rostests/winetests/setupapi/ |
H A D | install.c | 101 ret = RegDeleteKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest"); in ok_registry() 153 ok(!RegCreateKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest\\setupapitest", &key), in test_registry() 157 ok(!RegOpenKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest\\setupapitest", &key), in test_registry() 165 res = RegOpenKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest", &key); in test_registry() 170 RegDeleteKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest\\setupapitest"); in test_registry() 171 RegDeleteKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest"); in test_registry() 190 ok(!RegOpenKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest\\setupapitest", &key), in test_install_from() 203 res = RegOpenKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest", &key); in test_install_from() 208 RegDeleteKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest\\setupapitest"); in test_install_from() 209 RegDeleteKeyA(HKEY_CURRENT_USER, "Software\\Wine\\setupapitest"); in test_install_from() [all …]
|
/reactos/base/applications/charmap/ |
H A D | settings.c | 58 if (RegOpenKeyEx(HKEY_CURRENT_USER, g_szGeneralRegKey, 0, KEY_READ, &hKey) == ERROR_SUCCESS) in LoadSettings() 66 …if (QueryStringValue(HKEY_CURRENT_USER, g_szGeneralRegKey, _T("Font"), szBuffer, (sizeof(szBuffer)… in LoadSettings() 81 …if (QueryStringValue(HKEY_CURRENT_USER, g_szGeneralRegKey, _T("CodePage"), szBuffer, (sizeof(szBuf… in LoadSettings() 119 …if (RegCreateKeyEx(HKEY_CURRENT_USER, g_szGeneralRegKey, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_SET… in SaveSettings()
|
/reactos/dll/cpl/intl/ |
H A D | kblayouts.c | 28 if (RegOpenKeyExW(HKEY_CURRENT_USER, L"Keyboard Layout\\Preload", in IsLayoutExists() 53 if (RegOpenKeyExW(HKEY_CURRENT_USER, L"Keyboard Layout\\Substitutes", in IsLayoutExists() 95 if (RegOpenKeyExW(HKEY_CURRENT_USER, L"Keyboard Layout\\Preload", in GetLayoutCount() 130 …if (RegOpenKeyExW(HKEY_CURRENT_USER, L"Keyboard Layout\\Preload", 0, KEY_ALL_ACCESS, &hKey) == ERR… in AddNewLayout() 159 if (RegCreateKeyExW(HKEY_CURRENT_USER, L"Keyboard Layout\\Substitutes", 0, NULL, in AddNewLayout()
|
/reactos/dll/win32/mshtml/ |
H A D | ros_diff.patch | 25 - res = RegOpenKeyW(HKEY_CURRENT_USER, mshtml_keyW, &hkey); 31 + res = RegGetValueA(HKEY_CURRENT_USER, mshtml_keyA, "GeckoCabDir", RRF_RT_ANY, &type, (PBYTE)fi… 35 + res = RegGetValueA(HKEY_CURRENT_USER, mshtml_keyA, "GeckoCabDir", RRF_RT_ANY, &type, (PBYT…
|
/reactos/base/applications/cmdutils/reg/lang/ |
H A D | zh-TW.rc | 29 HKEY_CURRENT_USER | HKCU\n\ 62 HKEY_CURRENT_USER | HKCU\n\ 86 HKEY_CURRENT_USER | HKCU\n\ 145 HKEY_CURRENT_USER | HKCU\n\ 177 HKEY_CURRENT_USER | HKCU\n\
|
/reactos/base/applications/osk/ |
H A D | settings.c | 27 lResult = RegOpenKeyExW(HKEY_CURRENT_USER, in LoadDWORDFromRegistry() 84 lResult = RegOpenKeyExW(HKEY_CURRENT_USER, in LoadStringFromRegistry() 128 lResult = RegCreateKeyExW(HKEY_CURRENT_USER, in SaveDWORDToRegistry() 173 lResult = RegCreateKeyExW(HKEY_CURRENT_USER, in SaveStringToRegistry()
|
/reactos/dll/cpl/input/ |
H A D | key_settings_dialog.c | 19 if (RegOpenKeyExW(HKEY_CURRENT_USER, in ReadAttributes() 46 if (RegOpenKeyExW(HKEY_CURRENT_USER, in ReadKeysSettings() 85 if (RegOpenKeyExW(HKEY_CURRENT_USER, in WriteKeysSettings() 101 if (RegOpenKeyExW(HKEY_CURRENT_USER, in WriteKeysSettings()
|
H A D | advanced_settings_page.c | 21 error = RegOpenKeyExW(HKEY_CURRENT_USER, L"Software\\Microsoft\\CTF", 0, KEY_READ, &hKey); in LoadAdvancedSettings() 48 error = RegOpenKeyExW(HKEY_CURRENT_USER, L"Software\\Microsoft\\CTF", 0, KEY_WRITE, &hKey); in SaveAdvancedSettings()
|
/reactos/dll/win32/mpr/ |
H A D | pwcache.c | 104 r = RegCreateKeyA( HKEY_CURRENT_USER, mpr_key, &hkey ); in WNetCachePassword() 143 r = RegCreateKeyA( HKEY_CURRENT_USER, mpr_key, &hkey ); in WNetRemoveCachedPassword() 198 r = RegCreateKeyA( HKEY_CURRENT_USER, mpr_key, &hkey ); in WNetGetCachedPassword() 257 r = RegCreateKeyA( HKEY_CURRENT_USER, mpr_key, &hkey ); in WNetEnumCachedPasswords()
|
/reactos/base/applications/screensavers/3dtext/ |
H A D | settings.c | 32 if (RegCreateKeyEx(HKEY_CURRENT_USER, _T("Software\\Microsoft\\ScreenSavers\\Text3D"), 0, in LoadSettings() 44 if (RegCreateKeyEx(HKEY_CURRENT_USER, _T("Software\\Microsoft\\ScreenSavers\\Text3D"), 0, in SaveSettings()
|
/reactos/base/applications/regedit/ |
H A D | settings.c | 53 if (RegOpenKeyW(HKEY_CURRENT_USER, g_szGeneralRegKey, &hKey) == ERROR_SUCCESS) in LoadSettings() 90 …if (QueryStringValue(HKEY_CURRENT_USER, g_szGeneralRegKey, L"LastKey", szBuffer, ARRAY_SIZE(szBuff… in LoadSettings() 108 if (RegCreateKeyW(HKEY_CURRENT_USER, g_szGeneralRegKey, &hKey) == ERROR_SUCCESS) in SaveSettings()
|
/reactos/modules/rostests/winetests/odbccp32/ |
H A D | misc.c | 177 reg_ret = RegOpenKeyExW(HKEY_CURRENT_USER, odbc_key, 0, KEY_READ, &hkey); in test_SQLWritePrivateProfileString() 181 reg_ret = RegDeleteKeyW(HKEY_CURRENT_USER, odbc_key); in test_SQLWritePrivateProfileString() 194 reg_ret = RegOpenKeyExW(HKEY_CURRENT_USER, abcd_key, 0, KEY_READ, &hkey); in test_SQLWritePrivateProfileString() 198 reg_ret = RegDeleteKeyW(HKEY_CURRENT_USER, abcd_key); in test_SQLWritePrivateProfileString() 205 reg_ret = RegDeleteKeyW(HKEY_CURRENT_USER, abcdini_key); in test_SQLWritePrivateProfileString() 297 reg_ret = RegOpenKeyExW(HKEY_CURRENT_USER, abcd_key, 0, KEY_READ, &hkey); in test_SQLGetPrivateProfileString() 301 reg_ret = RegDeleteKeyW(HKEY_CURRENT_USER, abcd_key); in test_SQLGetPrivateProfileString() 308 reg_ret = RegDeleteKeyW(HKEY_CURRENT_USER, abcdini_key); in test_SQLGetPrivateProfileString() 411 reg_ret = RegOpenKeyExW(HKEY_CURRENT_USER, abcd_key, 0, KEY_READ, &hkey); in test_SQLGetPrivateProfileStringW() 415 reg_ret = RegDeleteKeyW(HKEY_CURRENT_USER, abcd_key); in test_SQLGetPrivateProfileStringW() [all …]
|