win32api.RegNotifyChangeKeyValue
RegNotifyChangeKeyValue(key, bWatchSubTree, dwNotifyFilter, hKey, fAsynchronous)
Receive notification of registry changes
Parameters
key : PyHKEY/int
Handle to an open registry keybWatchSubTree : int
Boolean, notify of changes to subkeys if TruedwNotifyFilter : int
Combination of REG_NOTIFY_CHANGE_* constantshKey : PyHANDLE
Event handle to be signalled, use None if fAsynchronous is FalsefAsynchronous : int
Boolean, function returns immediately if True, waits for change if
False