Reference

RegNotifyChangeKeyValue(3w)

NAME

RegNotifyChangeKeyValue (ADVAPI32.@)

SYNOPSIS

LSTATUS RegNotifyChangeKeyValue
(
HKEY hkey,
BOOL fWatchSubTree,
DWORD fdwNotifyFilter,
HANDLE hEvent,
BOOL fAsync
)

DESCRIPTION

Notify the caller about changes to the attributes or contents of a registry key.

PARAMS

hkey [In] Handle of key to watch.

fWatchSubTree [In] Flag for subkey notification.

fdwNotifyFilter [In] Changes to be reported.

hEvent [In] Handle of signaled event.

fAsync [In] Flag for asynchronous reporting.

RETURNS

Success: ERROR_SUCCESS

Failure: nonzero error code from Winerror.h

IMPLEMENTATION

Declared in "winnt.h".

Implemented in "dlls/advapi32/registry.c".

Debug channel "reg".

History