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.

70 lines
1.7 KiB

  1. // WWzThree.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CWildWizThree dialog
  5. class CWildWizThree : public CPropertyPage
  6. {
  7. DECLARE_DYNCREATE(CWildWizThree)
  8. // Construction
  9. public:
  10. CWildWizThree();
  11. ~CWildWizThree();
  12. // to make the buttons behave right
  13. BOOL m_fIsWizard;
  14. CPropertySheet* m_pPropSheet;
  15. // the only public member
  16. CCertMapRule* m_pRule;
  17. // base path to the metabase
  18. CString m_szMBPath;
  19. virtual BOOL OnWizardFinish();
  20. virtual BOOL OnApply();
  21. virtual BOOL OnInitDialog();
  22. // Dialog Data
  23. //{{AFX_DATA(CWildWizThree)
  24. enum { IDD = IDD_WILDWIZ_3 };
  25. CStatic m_static_password;
  26. CStatic m_static_account;
  27. CButton m_btn_browse;
  28. CEdit m_cedit_password;
  29. CEdit m_cedit_accountname;
  30. int m_int_DenyAccess;
  31. CString m_sz_accountname;
  32. CStrPassword m_sz_password;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generate virtual function overrides
  36. //{{AFX_VIRTUAL(CWildWizThree)
  37. public:
  38. virtual BOOL OnSetActive();
  39. protected:
  40. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. // Generated message map functions
  45. //{{AFX_MSG(CWildWizThree)
  46. afx_msg void OnBrowse();
  47. afx_msg void OnChangeNtaccount();
  48. afx_msg void OnChangePassword();
  49. afx_msg void OnAcceptLogon();
  50. afx_msg void OnRefuseLogon();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. void DoHelp();
  54. void EnableButtons();
  55. CStrPassword m_szOrigPass;
  56. BOOL m_bPassTyped;
  57. };