diff --git a/sdk-api-src/content/winreg/nf-winreg-regnotifychangekeyvalue.md b/sdk-api-src/content/winreg/nf-winreg-regnotifychangekeyvalue.md index 072822038a02..80d244858921 100644 --- a/sdk-api-src/content/winreg/nf-winreg-regnotifychangekeyvalue.md +++ b/sdk-api-src/content/winreg/nf-winreg-regnotifychangekeyvalue.md @@ -66,18 +66,15 @@ Notifies the caller about changes to the attributes or contents of a specified r A handle to an open registry key. This handle is returned by the RegCreateKeyEx or RegOpenKeyEx function. It can also be one of the following -predefined keys: +predefined keys: +HKEY_CLASSES_ROOT, +HKEY_CURRENT_CONFIG, +HKEY_CURRENT_USER, +HKEY_LOCAL_MACHINE, +HKEY_USERS. - - -HKEY_CLASSES_ROOT -HKEY_CURRENT_CONFIG -HKEY_CURRENT_USER -HKEY_LOCAL_MACHINE -HKEY_USERS -This parameter must be a local handle. If -RegNotifyChangeKeyValue is called with a remote handle, it returns ERROR_INVALID_HANDLE. +This parameter must be a local handle. If RegNotifyChangeKeyValue is called with a remote handle, it returns ERROR_INVALID_HANDLE. The key must have been opened with the KEY_NOTIFY access right. For more information, see Registry Key Security and Access Rights. @@ -328,4 +325,4 @@ void __cdecl _tmain(int argc, TCHAR *argv[]) -Registry Functions \ No newline at end of file +Registry Functions