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.

76 lines
1.2 KiB

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. //
  3. // netid prop page
  4. //
  5. // 3-10-98 sburns
  6. #ifndef IDPAGE_HPP_INCLUDED
  7. #define IDPAGE_HPP_INCLUDED
  8. class NetIDPage : public PropertyPage
  9. {
  10. public:
  11. // isWorkstation - true if machine is running a workstation product, false
  12. // if the machine is running a server product.
  13. NetIDPage(bool isWorkstation, bool isPersonal);
  14. protected:
  15. virtual ~NetIDPage();
  16. // Dialog overrides
  17. virtual
  18. bool
  19. OnCommand(
  20. HWND windowFrom,
  21. unsigned controlIDFrom,
  22. unsigned code);
  23. virtual
  24. void
  25. OnInit();
  26. virtual
  27. bool
  28. OnMessage(
  29. UINT message,
  30. WPARAM wparam,
  31. LPARAM lparam);
  32. // PropertyPage overrides
  33. virtual
  34. bool
  35. OnSetActive();
  36. virtual
  37. bool
  38. OnApply( bool isClosing );
  39. private:
  40. // no copying allowed
  41. NetIDPage(const NetIDPage&);
  42. const NetIDPage& operator=(const NetIDPage&);
  43. void
  44. refresh();
  45. bool
  46. evaluateButtonEnablingAndComposeMessageText(String& message);
  47. NTService certsvc;
  48. HICON warnIcon;
  49. bool fIsPersonal;
  50. };
  51. #endif // IDPAGE_HPP_INCLUDED