Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
836 B

  1. //
  2. // REGNCKEY.H
  3. //
  4. // Copyright (C) Microsoft Corporation, 1995
  5. //
  6. #ifndef _REGNCKEY_
  7. #define _REGNCKEY_
  8. #ifdef WANT_NOTIFY_CHANGE_SUPPORT
  9. typedef struct _NOTIFY_CHANGE {
  10. struct _NOTIFY_CHANGE FAR* lpNextNotifyChange;
  11. DWORD ThreadId;
  12. HANDLE hEvent;
  13. DWORD KeynodeIndex;
  14. DWORD NotifyFilter;
  15. } NOTIFY_CHANGE, FAR* LPNOTIFY_CHANGE;
  16. // Map the bWatchSubtree flag to this bit tucked into the NotifyFilter field.
  17. #define REG_NOTIFY_WATCH_SUBTREE 0x40
  18. // Only signal events that are watching the specified keynode index, not
  19. // parents of the keynode index.
  20. #define REG_NOTIFY_NO_WATCH_SUBTREE 0x80
  21. VOID
  22. INTERNAL
  23. RgSignalWaitingNotifies(
  24. LPFILE_INFO lpFileInfo,
  25. DWORD KeynodeIndex,
  26. UINT NotifyEvent
  27. );
  28. #else
  29. #define RgSignalWaitingNotifies(lpfi, ki, nevt)
  30. #endif
  31. #endif // _REGNCKEY_