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.

93 lines
2.5 KiB

  1. /*++
  2. Copyright (c) 1994-1998 Microsoft Corporation
  3. Module Name :
  4. constr.h
  5. Abstract:
  6. Registry constant definitions
  7. Author:
  8. Ronald Meijer (ronaldm)
  9. Project:
  10. Internet Services Manager
  11. Revision History:
  12. --*/
  13. #ifndef _CONSTR_H_
  14. #define _CONSTR_H_
  15. // ==========================================================================
  16. //
  17. // Keys
  18. //
  19. // ==========================================================================
  20. #define REG_KEY HKEY_LOCAL_MACHINE
  21. #define SZ_INETMGR_REG_KEY _T("Software\\Microsoft\\INetMgr")
  22. #define SZ_PARAMETERS SZ_INETMGR_REG_KEY _T("\\Parameters")
  23. #define SZ_ADDONSERVICES SZ_PARAMETERS _T("\\AddOnServices")
  24. #define SZ_ADDONTOOLS SZ_PARAMETERS _T("\\AddOnTools")
  25. #define SZ_ADDONHELP SZ_PARAMETERS _T("\\AddOnHelp")
  26. #define SZ_ADDONMACHINEPAGES SZ_PARAMETERS _T("\\AddOnMachinePages")
  27. #define SZ_REMOTEIISEXT _T("System\\CurrentControlSet\\Control\\IIS Extensions")
  28. // ==========================================================================
  29. //
  30. // Values
  31. //
  32. // ==========================================================================
  33. //
  34. // Computer Values
  35. //
  36. #define SZ_MAJORVERSION _T("MajorVersion")
  37. #define SZ_MINORVERSION _T("MinorVersion")
  38. #define SZ_HELPPATH _T("HelpLocation")
  39. //
  40. // User Values
  41. //
  42. #define SZ_X _T("x")
  43. #define SZ_Y _T("y")
  44. #define SZ_DX _T("dx")
  45. #define SZ_DY _T("dy")
  46. #define SZ_MODE _T("Mode")
  47. #define SZ_WAITTIME _T("WaitTime")
  48. #define SZ_VIEW _T("View")
  49. #define SZ_SHOW_SPLASH _T("ShowSplash")
  50. //
  51. // Help File Document
  52. //
  53. #define SZ_HELP_DOC _T("http://localhost/iishelp/iis/misc/default.asp")
  54. // ==========================================================================
  55. //
  56. // Helper MACROS
  57. //
  58. // ==========================================================================
  59. #define SET_INT_AS_DWORD(rk, value, nValue, dwParm) \
  60. { \
  61. dwParm = (DWORD)nValue; \
  62. rk.SetValue( value, dwParm ); \
  63. }
  64. #define SET_DW_IF_EXIST(rk, value, dwParm, dwTarget) \
  65. if (rk.QueryValue(value, dwParm) == ERROR_SUCCESS) \
  66. { \
  67. dwTarget = dwParm; \
  68. }
  69. #endif // _CONSTR_H_