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.

47 lines
1.5 KiB

  1. // AccntWiz.h : Declaration of the CAddUser_AccntWiz
  2. #ifndef _ACCNTWIZ_H
  3. #define _ACCNTWIZ_H
  4. #include "AU_Accnt.h"
  5. #include "resource.h" // main symbols
  6. // include files for individual pages
  7. #include "CAcctP.h"
  8. #include "CPasswdP.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CAddUser_AccntWiz
  11. class ATL_NO_VTABLE CAddUser_AccntWiz :
  12. public CComObjectRootEx<CComSingleThreadModel>,
  13. public CComCoClass<CAddUser_AccntWiz, &CLSID_AddUser_AccntWiz>,
  14. public IAddPropertySheets
  15. {
  16. private:
  17. CPasswdPage m_PasswdP; // Password Generation page.
  18. BOOL m_bFirstTime; // for Init(s)
  19. public:
  20. CAcctPage m_AcctP; // User Account Information page.
  21. CAddUser_AccntWiz();
  22. ~CAddUser_AccntWiz();
  23. DECLARE_REGISTRY_RESOURCEID(IDR_AUSR_ACCNT_WIZ)
  24. DECLARE_NOT_AGGREGATABLE(CAddUser_AccntWiz)
  25. DECLARE_PROTECT_FINAL_CONSTRUCT()
  26. BEGIN_COM_MAP(CAddUser_AccntWiz)
  27. COM_INTERFACE_ENTRY(IAddPropertySheets)
  28. END_COM_MAP()
  29. // IAddPropertySheets
  30. public:
  31. STDMETHOD(EnumPropertySheets)(IAddPropertySheet *pADS);
  32. STDMETHOD(ProvideFinishText )(LPOLESTR* lpolestrString, LPOLESTR* lpMoreInfoText);
  33. STDMETHOD(ReadProperties )(IPropertyPagePropertyBag * pPPPBag);
  34. STDMETHOD(WriteProperties )(IPropertyPagePropertyBag * pPPPBag);
  35. };
  36. #endif //_ACCNTWIZ_H