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.

69 lines
1.1 KiB

  1. // Copyright (C) 1999 Microsoft Corporation
  2. //
  3. // Safe Mode Administrator password page
  4. //
  5. // 6-3-99 sburns
  6. #ifndef SAFEMODE_HPP_INCLUDED
  7. #define SAFEMODE_HPP_INCLUDED
  8. #include "page.hpp"
  9. #include "PasswordEditBox.hpp"
  10. class SafeModePasswordPage : public DCPromoWizardPage
  11. {
  12. public:
  13. SafeModePasswordPage();
  14. protected:
  15. virtual ~SafeModePasswordPage();
  16. // Dialog overrides
  17. virtual
  18. void
  19. OnInit();
  20. virtual
  21. bool
  22. OnNotify(
  23. HWND windowFrom,
  24. UINT_PTR controlIDFrom,
  25. UINT code,
  26. LPARAM lParam);
  27. // PropertyPage overrides
  28. virtual
  29. bool
  30. OnSetActive();
  31. // DCPromoWizardPage overrides
  32. virtual
  33. int
  34. Validate();
  35. private:
  36. // not defined; no copying allowed
  37. SafeModePasswordPage(const SafeModePasswordPage&);
  38. const SafeModePasswordPage& operator=(const SafeModePasswordPage&);
  39. // NTRAID#NTBUG9-202238-2000/11/07-sburns
  40. PasswordEditBox password;
  41. PasswordEditBox confirm;
  42. };
  43. #endif // SAFEMODE_HPP_INCLUDED