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.

89 lines
1.3 KiB

  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. // Deletes the existing cred control, creates a new one, and sets the style
  34. // flags appropriately. Called by OnSetActive.
  35. // NTRAID#NTBUG9-493134-2001/11/14-sburns
  36. void
  37. CreateCredentialControl();
  38. void
  39. Enable();
  40. bool
  41. ShouldSkipPage();
  42. int
  43. DetermineNextPage();
  44. bool readAnswerfile;
  45. HWND hwndCred;
  46. DWORD lastWizardButtonsState;
  47. // not defined; no copying allowed
  48. CredentialsPage(const CredentialsPage&);
  49. const CredentialsPage& operator=(const CredentialsPage&);
  50. };
  51. #endif // CREDENTIALSPAGE_HPP_INCLUDED