RegNotifyChangeKeyValue function advapi32
Notifies the caller about changes to the attributes or contents of a specified registry key.
LSTATUS RegNotifyChangeKeyValue(
HKEY hKey,
BOOL bWatchSubtree,
DWORD dwNotifyFilter,
HANDLE hEvent,
BOOL fAsynchronous);
Implementation
int RegNotifyChangeKeyValue(int hKey, int bWatchSubtree, int dwNotifyFilter,
int hEvent, int fAsynchronous) =>
_RegNotifyChangeKeyValue(
hKey, bWatchSubtree, dwNotifyFilter, hEvent, fAsynchronous);