Source code of Windows XP (NT5)
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.

67 lines
2.0 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // CheckingAccessPage.h
  7. //
  8. // Maintained By:
  9. // Geoffrey Pease (GPease) 17-MAY-2000
  10. //
  11. //////////////////////////////////////////////////////////////////////////////
  12. #pragma once
  13. class CCheckingAccessPage
  14. : public ITaskLoginDomainCallback
  15. {
  16. friend class CClusCfgWizard;
  17. private: // data
  18. HWND m_hwnd; // Our HWND
  19. IServiceProvider * m_psp; // Service Manager
  20. BOOL * m_pfShowCredentialsPage;
  21. BSTR * m_pbstrClusterName;
  22. BOOL m_fNext:1; // If next was pressed.
  23. // IUnknown
  24. LONG m_cRef;
  25. // ITaskLoginDomainCallback
  26. ITaskLoginDomain * m_ptld; // Login Domain Task
  27. HANDLE m_hEvent; // Event that is singaled when TaskLoginDomain is done.
  28. HRESULT m_hrResult; // The result of the TaskLoginDomain.
  29. private: // methods
  30. CCheckingAccessPage( IServiceProvider * pspIn, BSTR * pbstrClusterIn,
  31. BOOL * pfShowCredentialsPageIn );
  32. virtual ~CCheckingAccessPage();
  33. LRESULT
  34. OnInitDialog( void );
  35. LRESULT
  36. OnNotify( WPARAM idCtrlIn, LPNMHDR pnmhdrIn );
  37. LRESULT
  38. OnNotifySetActive( void );
  39. LRESULT
  40. OnNotifyWizNext( void );
  41. LRESULT
  42. OnNotifyWizBack( void );
  43. LRESULT
  44. OnNotifyQueryCancel( void );
  45. LRESULT
  46. OnTimer( void );
  47. public: // methods
  48. static INT_PTR CALLBACK
  49. S_DlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam );
  50. // IUnknown
  51. STDMETHOD( QueryInterface )( REFIID riid, LPVOID *ppv );
  52. STDMETHOD_( ULONG, AddRef )( void );
  53. STDMETHOD_( ULONG, Release )( void );
  54. // ITaskLoginDomainCallback
  55. STDMETHOD( ReceiveLoginResult )( HRESULT hrIn );
  56. }; // class CCheckingAccessPage