Searched refs:OpenKey (Results 1 – 21 of 21) sorted by relevance
67 hkey = OpenKey(root, subkey, KEY_ALL_ACCESS)121 def _read_test_data(self, root_key, OpenKey=OpenKey): argument127 key = OpenKey(root_key, test_key_name)129 with OpenKey(key, "sub_key") as sub_key:162 key = OpenKey(root_key, test_key_name, 0, KEY_ALL_ACCESS)163 sub_key = OpenKey(key, "sub_key", 0, KEY_ALL_ACCESS)186 key = OpenKey(root_key, test_key_name)267 with OpenKey(HKEY_CURRENT_USER, test_key_name, 0, KEY_ALL_ACCESS) as key:282 with OpenKey(HKEY_CURRENT_USER, test_key_name, 0, KEY_ALL_ACCESS) as key:306 key = OpenKey(HKEY_CURRENT_USER, test_key_name)[all …]
101 return lambda key, name: _winreg.OpenKey(key, name.rstrip("\xa3"))151 def OpenKey(self, key, name): member in Win32MimeTypesTestCase.test_registry_read_error.MockWinreg154 return _winreg.OpenKey(key, name)
60 hkey = OpenKey(root, subkey, 0, KEY_ALL_ACCESS)116 def _read_test_data(self, root_key, subkeystr="sub_key", OpenKey=OpenKey): argument122 key = OpenKey(root_key, test_key_name)124 with OpenKey(key, subkeystr) as sub_key:157 key = OpenKey(root_key, test_key_name, 0, KEY_ALL_ACCESS)158 sub_key = OpenKey(key, subkeystr, 0, KEY_ALL_ACCESS)181 key = OpenKey(root_key, test_key_name)215 self._read_test_data(HKEY_CURRENT_USER, OpenKey=oke)316 key = OpenKey(HKEY_CURRENT_USER, test_key_name)405 with OpenKey(HKEY_LOCAL_MACHINE, "Software") as key:[all …]
29 winreg.OpenKey(handle, TZKEYNAMENT).Close()143 with winreg.OpenKey(handle, TZKEYNAME) as tzkey:197 with winreg.OpenKey(handle, tzkeyname) as tzkey:239 with winreg.OpenKey(handle, TZLOCALKEYNAME) as tzlocalkey:248 with winreg.OpenKey(handle, tzkeyname) as tzkey:
17 EnumKey, CloseKey, DeleteKey, OpenKey22 hkey = OpenKey(root, subkey, access=KEY_ALL_ACCESS)
50 int OpenKey(char const* privkey_file, char const* gpubkey_file, in OpenKey() function331 retval = OpenKey(privkey_file->filename[0], gpubkey_file->filename[0], in main()
255 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr:258 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
254 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr:257 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
1538 internetSettings = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,1588 internetSettings = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,
148 key = _winreg.OpenKey(root, name, 0, _winreg.KEY_READ | arch)
255 .. function:: OpenKey(key, sub_key[, res[, sam]])277 The functionality of :func:`OpenKeyEx` is provided via :func:`OpenKey`,415 To open the key, use the :func:`CreateKey` or :func:`OpenKey` methods.710 with OpenKey(HKEY_LOCAL_MACHINE, "foo") as key:
106 key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\7-Zip')
97 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
421 key = _winreg.OpenKey(
446 openkey = winreg.OpenKey505 bkey = winreg.OpenKey(hkey, ms(key), 0, winreg.KEY_READ)
657 return _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, key)659 return _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, key)
283 .. function:: OpenKey(key, sub_key, reserved=0, access=KEY_READ)444 To open the key, use the :func:`CreateKey` or :func:`OpenKey` methods.751 with OpenKey(HKEY_LOCAL_MACHINE, "foo") as key:
390 key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, k)
2630 internetSettings = winreg.OpenKey(winreg.HKEY_CURRENT_USER,2678 internetSettings = winreg.OpenKey(winreg.HKEY_CURRENT_USER,
7722 - Issue #14943: Correct a default argument value for winreg.OpenKey