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

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000-2001 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // ClusDomainPage.h
  7. //
  8. // Maintained By:
  9. // David Potter (DavidP) 21-MAR-2001
  10. // Geoffrey Pease (GPease) 12-MAY-2000
  11. //
  12. //////////////////////////////////////////////////////////////////////////////
  13. #pragma once
  14. class CClusDomainPage
  15. : public ITaskGetDomainsCallback
  16. {
  17. private: // data
  18. HWND m_hwnd; // Our HWND
  19. CClusCfgWizard * m_pccw; // Wizard
  20. ECreateAddMode m_ecamCreateAddMode;// Creating? Adding?
  21. UINT m_idsDesc; // Resource ID for domain description string.
  22. BOOL m_fDisplayPage; // Indicates whether page should be displayed or not
  23. // IUnknown
  24. LONG m_cRef;
  25. ITaskGetDomains * m_ptgd; // Get Domains Task
  26. private: // methods
  27. LRESULT
  28. OnInitDialog( void );
  29. LRESULT
  30. OnNotify( WPARAM idCtrlIn, LPNMHDR pnmhdrIn );
  31. LRESULT
  32. OnNotifySetActive( void );
  33. LRESULT
  34. OnNotifyWizNext( void );
  35. LRESULT
  36. OnNotifyQueryCancel( void );
  37. LRESULT
  38. OnCommand( UINT idNotificationIn, UINT idControlIn, HWND hwndSenderIn );
  39. LRESULT
  40. OnUpdateWizardButtons( void );
  41. public: // methods
  42. CClusDomainPage(
  43. CClusCfgWizard * pccwIn
  44. , ECreateAddMode ecamCreateAddModeIn
  45. , UINT idsDescIn
  46. );
  47. virtual ~CClusDomainPage( void );
  48. static INT_PTR CALLBACK
  49. S_DlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam );
  50. // IUnknown
  51. STDMETHOD( QueryInterface )( REFIID riidIn, LPVOID * ppvOut );
  52. STDMETHOD_( ULONG, AddRef )( void );
  53. STDMETHOD_( ULONG, Release )( void );
  54. // ITaskGetDomainsCallback
  55. STDMETHOD( ReceiveDomainResult )( HRESULT hrIn );
  56. STDMETHOD( ReceiveDomainName )( LPCWSTR pcszDomainIn );
  57. }; //*** class CClusDomainPage