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.

68 lines
929 B

  1. // Copyright (C) 1997 Microsoft Corporation
  2. //
  3. // credentials page
  4. //
  5. // 12-22-97 sburns
  6. #ifndef CREDENTIALSPAGE_HPP_INCLUDED
  7. #define CREDENTIALSPAGE_HPP_INCLUDED
  8. class CredentialsPage : public DCPromoWizardPage
  9. {
  10. public:
  11. CredentialsPage();
  12. protected:
  13. virtual ~CredentialsPage();
  14. // Dialog overrides
  15. virtual
  16. bool
  17. OnCommand(
  18. HWND windowFrom,
  19. unsigned controlIDFrom,
  20. unsigned code);
  21. virtual
  22. void
  23. OnInit();
  24. // PropertyPage overrides
  25. virtual
  26. bool
  27. OnSetActive();
  28. // DCPromoWizardPage overrides
  29. virtual
  30. int
  31. Validate();
  32. private:
  33. void
  34. Enable();
  35. bool
  36. ShouldSkipPage();
  37. int
  38. DetermineNextPage();
  39. bool readAnswerfile;
  40. // not defined; no copying allowed
  41. CredentialsPage(const CredentialsPage&);
  42. const CredentialsPage& operator=(const CredentialsPage&);
  43. };
  44. #endif // CREDENTIALSPAGE_HPP_INCLUDED