---
name: "RegNotifyChangeKeyValue"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RegNotifyChangeKeyValue"
---

# 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"**.
