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.

76 lines
2.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994.
  5. //
  6. // File: hkregkey.h
  7. //
  8. // Contents: Defines for accessing the Registry
  9. //
  10. // Functions:
  11. //
  12. // History: 01-Aug-94 Garry Lenz Created
  13. // 02-Aug-94 Don Wright Support Ansi/Unicode
  14. // 25-Oct-94 Don Wright Add Keys for HookOleLog
  15. //
  16. //--------------------------------------------------------------------------
  17. #ifndef _REGISTRYKEYS_H_
  18. #define _REGISTRYKEYS_H_
  19. #include <Windows.h>
  20. #define KEY_SEP "\\"
  21. #define WKEY_SEP L"\\"
  22. //Named Event for Global Hooking Flag
  23. #define szHookEventName "HookSwitchHookEnabledEvent"
  24. // Keys used by OLE32hk.h for finding HookOle dll
  25. #define HookBase HKEY_LOCAL_MACHINE
  26. #define szHookKey "Software\\Microsoft\\HookOleObject"
  27. #define wszHookKey L"Software\\Microsoft\\HookOleObject"
  28. // Keys used by HookOle for finding Wrappers and Filters
  29. #define HookConfigBase HKEY_LOCAL_MACHINE
  30. #define szHookConfigKey "Software\\Microsoft\\HookOleObject"
  31. #define wszHookConfigKey L"Software\\Microsoft\\HookOleObject"
  32. // Keys used by HookOleLog
  33. #define HookLogBase HKEY_LOCAL_MACHINE
  34. #define szHookLogKey "Software\\Microsoft\\HookOleLog"
  35. #define wszHookLogKey L"Software\\Microsoft\\HookOleLog"
  36. // Common sub-keys
  37. #define szWrappersKey "Wrappers"
  38. #define wszWrappersKey L"Wrappers"
  39. #define szFiltersKey "Filters"
  40. #define wszFiltersKey L"Filters"
  41. #define szStatisticsKey "Statistics"
  42. #define wszStatisticsKey L"Statistics"
  43. #define szCLSIDKey "CLSID"
  44. #define wszCLSIDKey L"CLSID"
  45. #define szCurrentKey "Current"
  46. #define wszCurrentKey L"Current"
  47. #define szIIDKey "Interface"
  48. #define wszIIDKey L"Interface"
  49. #define szModuleKey "Module"
  50. #define wszModuleKey L"Module"
  51. #define szDefaultKey "Default"
  52. #define wszDefaultKey L"Default"
  53. #define szIncludeOnlyKey "Include Only"
  54. #define wszIncludeOnlyKey L"Include Only"
  55. #define szExcludeKey "Exclude"
  56. #define wszExcludeKey L"Exclude"
  57. // Common value names
  58. #define szEnabledValue "Enabled"
  59. #define wszEnabledValue L"Enabled"
  60. #define szCLSIDValue "CLSID"
  61. #define wszCLSIDValue L"CLSID"
  62. #define szWrapperValue "Wrapper"
  63. #define wszWrapperValue L"Wrapper"
  64. #define szFilterValue "Filter"
  65. #define wszFilterValue L"Filter"
  66. #endif // _REGISTRYKEYS_H_