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
2.2 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000-2002 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // CSAccountPage.h
  7. //
  8. // Maintained By:
  9. // John Franco (JFranco) 10-SEP-2001
  10. // Geoffrey Pease (GPease) 12-MAY-2000
  11. //
  12. //////////////////////////////////////////////////////////////////////////////
  13. #pragma once
  14. class CCSAccountPage
  15. : public ITaskGetDomainsCallback
  16. {
  17. private: // data
  18. HWND m_hwnd; // Our HWND
  19. CClusCfgWizard * m_pccw; // Wizard
  20. ECreateAddMode m_ecamCreateAddMode; // Creating or Adding?
  21. IClusCfgCredentials * m_pccc; // Service Account Credentials
  22. // IUnknown
  23. LONG m_cRef;
  24. ITaskGetDomains * m_ptgd; // Get Domains Task
  25. private: // methods
  26. // Private copy constructor to prevent copying.
  27. CCSAccountPage( const CCSAccountPage & );
  28. // Private assignment operator to prevent copying.
  29. CCSAccountPage & operator=( const CCSAccountPage & );
  30. LRESULT OnInitDialog( void );
  31. LRESULT OnNotify( WPARAM idCtrlIn, LPNMHDR pnmhdrIn );
  32. LRESULT OnNotifyQueryCancel( void );
  33. LRESULT OnNotifySetActive( void );
  34. LRESULT OnNotifyWizNext( void );
  35. LRESULT OnCommand( UINT idNotificationIn, UINT idControlIn, HWND hwndSenderIn );
  36. LRESULT OnUpdateWizardButtons( void );
  37. public: // methods
  38. CCSAccountPage(
  39. CClusCfgWizard * pccwIn
  40. , ECreateAddMode ecamCreateAddModeIn
  41. , IClusCfgCredentials * pcccIn
  42. );
  43. virtual ~CCSAccountPage( void );
  44. static INT_PTR CALLBACK
  45. S_DlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam );
  46. //
  47. // IUnknown
  48. //
  49. STDMETHOD( QueryInterface )( REFIID riidIn, LPVOID * ppvOut );
  50. STDMETHOD_( ULONG, AddRef )( void );
  51. STDMETHOD_( ULONG, Release )( void );
  52. //
  53. // ITaskGetDomainsCallback
  54. //
  55. STDMETHOD( ReceiveDomainResult )( HRESULT hrIn );
  56. STDMETHOD( ReceiveDomainName )( LPCWSTR pcszDomainIn );
  57. }; //*** class CCSAccountPage