Python ctypes.wintypes.HKEY Examples
The following are 2
code examples of ctypes.wintypes.HKEY().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
ctypes.wintypes
, or try the search function
.
Example #1
Source File: registry_monitor.py From Galaxy_Plugin_Bethesda with MIT License | 5 votes |
def _open_key(self): access = KEY_QUERY_VALUE | KEY_READ self._key = HKEY() rc = RegOpenKeyEx(self._root, self._subkey, 0, access, ctypes.byref(self._key)) if rc != ERROR_SUCCESS: self._key = None
Example #2
Source File: registry_monitor.py From galaxy-integrations-python-api with MIT License | 5 votes |
def _open_key(self): access = KEY_QUERY_VALUE | KEY_READ self._key = HKEY() rc = RegOpenKeyEx(self._root, self._subkey, 0, access, ctypes.byref(self._key)) if rc != ERROR_SUCCESS: self._key = None