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.

61 lines
963 B

  1. // Copyright (c) 2001 Microsoft Corporation
  2. //
  3. // forced demotion page
  4. // NTRAID#NTBUG9-496409-2001/11/29-sburns
  5. //
  6. // 29 Nov 2001 sburns
  7. #ifndef FORCEDDEMOTION_HPP_INCLUDED
  8. #define FORCEDDEMOTION_HPP_INCLUDED
  9. class ForcedDemotionPage : public DCPromoWizardPage
  10. {
  11. public:
  12. ForcedDemotionPage();
  13. protected:
  14. virtual ~ForcedDemotionPage();
  15. // Dialog overrides
  16. virtual
  17. void
  18. OnInit();
  19. virtual
  20. bool
  21. OnNotify(
  22. HWND windowFrom,
  23. UINT_PTR controlIDFrom,
  24. UINT code,
  25. LPARAM lParam);
  26. // PropertyPage overrides
  27. virtual
  28. bool
  29. OnSetActive();
  30. // DCPromoWizardPage overrides
  31. virtual
  32. int
  33. Validate();
  34. private:
  35. // not defined; no copying allowed
  36. ForcedDemotionPage(const ForcedDemotionPage&);
  37. const ForcedDemotionPage& operator=(const ForcedDemotionPage&);
  38. };
  39. #endif // FORCEDDEMOTION_HPP_INCLUDED