Lines Matching refs:_winreg
5 import _winreg
14 """Converts a root registry key string into a _winreg.HKEY_* constant."""
16 'HKEY_CLASSES_ROOT': _winreg.HKEY_CLASSES_ROOT,
17 'HKEY_CURRENT_USER': _winreg.HKEY_CURRENT_USER,
18 'HKEY_LOCAL_MACHINE': _winreg.HKEY_LOCAL_MACHINE,
19 'HKEY_USERS': _winreg.HKEY_USERS,
26 """Converts a registry value type string into a _winreg.REG_* constant."""
28 'BINARY': _winreg.REG_BINARY,
29 'DWORD': _winreg.REG_DWORD,
30 'DWORD_LITTLE_ENDIAN': _winreg.REG_DWORD_LITTLE_ENDIAN,
31 'DWORD_BIG_ENDIAN': _winreg.REG_DWORD_BIG_ENDIAN,
32 'EXPAND_SZ': _winreg.REG_EXPAND_SZ,
33 'LINK': _winreg.REG_LINK,
34 'MULTI_SZ': _winreg.REG_MULTI_SZ,
35 'NONE': _winreg.REG_NONE,
36 'SZ': _winreg.REG_SZ,
70 key_handle = _winreg.OpenKey(self._RootKeyConstant(root_key), sub_key, 0,
71 _winreg.KEY_QUERY_VALUE)
89 data, value_type = _winreg.QueryValueEx(key_handle, value)