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.

68 lines
1.1 KiB

  1. // Copyright (c) 2001 Microsoft Corporation
  2. //
  3. // File: DomainPage.h
  4. //
  5. // Synopsis: Declares the new domain name page used in the
  6. // Express path for the CYS Wizard
  7. //
  8. // History: 02/08/2001 JeffJon Created
  9. #ifndef __CYS_DOMAINPAGE_H
  10. #define __CYS_DOMAINPAGE_H
  11. #include "CYSWizardPage.h"
  12. class ADDomainPage : public CYSWizardPage
  13. {
  14. public:
  15. // Constructor
  16. ADDomainPage();
  17. // Destructor
  18. virtual
  19. ~ADDomainPage();
  20. // Dialog overrides
  21. virtual
  22. void
  23. OnInit();
  24. // PropertyPage overrides
  25. virtual
  26. bool
  27. OnSetActive();
  28. virtual
  29. bool
  30. OnCommand(
  31. HWND windowFrom,
  32. unsigned controlIDFrom,
  33. unsigned code);
  34. protected:
  35. // CYSWizardPage overrides
  36. virtual
  37. int
  38. Validate();
  39. private:
  40. void
  41. SetDefaultDNSName();
  42. // not defined: no copying allowed
  43. ADDomainPage(const ADDomainPage&);
  44. const ADDomainPage& operator=(const ADDomainPage&);
  45. };
  46. #endif // __CYS_DOMAINPAGE_H