Leaked source code of windows server 2003
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.

187 lines
3.1 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Windows NT Secure Server Roles Security Configuration Wizard
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1992 - 2002
  7. //
  8. // File: Otherpages.h
  9. //
  10. // History: 22-Oct-01 Yanggao created
  11. //
  12. //-----------------------------------------------------------------------------
  13. #ifndef OTHERPAGES_H_INCLUDED
  14. #define OTHERPAGES_H_INCLUDED
  15. #include "page.h"
  16. class SecurityLevelPage : public SecCfgWizardPage
  17. {
  18. public:
  19. SecurityLevelPage();
  20. protected:
  21. virtual ~SecurityLevelPage();
  22. // Dialog overrides
  23. virtual
  24. bool
  25. OnCommand(
  26. HWND windowFrom,
  27. unsigned controlIDFrom,
  28. unsigned code);
  29. virtual
  30. void
  31. OnInit();
  32. // PropertyPage overrides
  33. virtual
  34. bool
  35. OnSetActive();
  36. // DCPromoWizardPage oveerrides
  37. virtual
  38. int
  39. Validate();
  40. private:
  41. // not defined; no copying allowed
  42. SecurityLevelPage(const SecurityLevelPage&);
  43. const SecurityLevelPage& operator=(const SecurityLevelPage&);
  44. };
  45. class PreProcessPage : public SecCfgWizardPage
  46. {
  47. public:
  48. PreProcessPage();
  49. virtual ~PreProcessPage();
  50. // Dialog overrides
  51. virtual
  52. bool
  53. OnCommand(
  54. HWND windowFrom,
  55. unsigned controlIDFrom,
  56. unsigned code);
  57. virtual
  58. void
  59. OnInit();
  60. // PropertyPage overrides
  61. virtual
  62. bool
  63. OnSetActive();
  64. virtual
  65. int
  66. Validate();
  67. private:
  68. // not defined; no copying allowed
  69. PreProcessPage(const PreProcessPage&);
  70. const PreProcessPage& operator=(const PreProcessPage&);
  71. };
  72. class AdditionalRolesPage : public Dialog
  73. {
  74. public:
  75. AdditionalRolesPage();
  76. protected:
  77. virtual ~AdditionalRolesPage();
  78. // Dialog overrides
  79. virtual
  80. bool
  81. OnCommand(
  82. HWND windowFrom,
  83. unsigned controlIDFrom,
  84. unsigned code);
  85. virtual
  86. bool
  87. OnMessage(
  88. UINT message,
  89. WPARAM wparam,
  90. LPARAM lparam);
  91. virtual
  92. void
  93. OnInit();
  94. private:
  95. // not defined; no copying allowed
  96. AdditionalRolesPage(const AdditionalRolesPage&);
  97. const AdditionalRolesPage& operator=(const AdditionalRolesPage&);
  98. };
  99. class ServiceDisableMethodPage : public SecCfgWizardPage
  100. {
  101. public:
  102. ServiceDisableMethodPage();
  103. virtual ~ServiceDisableMethodPage();
  104. // Dialog overrides
  105. virtual
  106. bool
  107. OnCommand(
  108. HWND windowFrom,
  109. unsigned controlIDFrom,
  110. unsigned code);
  111. virtual
  112. void
  113. OnInit();
  114. // PropertyPage overrides
  115. virtual
  116. bool
  117. OnSetActive();
  118. virtual
  119. bool
  120. OnNotify(
  121. HWND windowFrom,
  122. UINT_PTR controlIDFrom,
  123. UINT code,
  124. LPARAM lparam);
  125. virtual
  126. int
  127. Validate();
  128. private:
  129. // not defined; no copying allowed
  130. ServiceDisableMethodPage(const ServiceDisableMethodPage&);
  131. const ServiceDisableMethodPage& operator=(const ServiceDisableMethodPage&);
  132. };
  133. #endif // OTHERPAGES