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.

84 lines
2.0 KiB

  1. //============================================================================
  2. // Copyright (C) Microsoft Corporation, 1996 - 1999
  3. //
  4. // File: conndlg.h
  5. //
  6. // History:
  7. // 09/21/96 Abolade Gbadegesin Created.
  8. //
  9. // Contains declarations for the connection-status dialog.
  10. //============================================================================
  11. #ifndef _CONNDLG_H_
  12. #define _CONNDLG_H_
  13. //----------------------------------------------------------------------------
  14. // Class: CConnDlg
  15. //
  16. // Controls the Port-status dialog for DDMADMIN.
  17. //----------------------------------------------------------------------------
  18. class CConnDlg : public CBaseDialog {
  19. public:
  20. CConnDlg(
  21. CString strMachineName,
  22. HANDLE hConnection,
  23. ITFSNode* pDialInNode = NULL,
  24. CWnd* pParent = NULL );
  25. virtual BOOL
  26. Refresh(
  27. BYTE* rp0Table,
  28. DWORD rp0Count,
  29. BYTE* rc0Table,
  30. DWORD rc0Count,
  31. VOID* pParam = NULL );
  32. CComboBox m_cbConnections;
  33. BOOL m_bChanged;
  34. protected:
  35. // static DWORD m_dwHelpMap[];
  36. virtual VOID
  37. DoDataExchange(
  38. CDataExchange* pDX );
  39. virtual BOOL
  40. OnInitDialog( );
  41. void OnCancel();
  42. afx_msg VOID
  43. OnHangUp( );
  44. afx_msg VOID
  45. OnReset( );
  46. afx_msg VOID
  47. OnSelendokConnList( );
  48. afx_msg VOID
  49. OnRefresh( );
  50. BOOL
  51. RefreshItem(
  52. HANDLE hConnection,
  53. BOOL bDisconnected = FALSE
  54. );
  55. MPR_SERVER_HANDLE m_hServer;
  56. CString m_strMachineName;
  57. HANDLE m_hConnection;
  58. SPITFSNode m_spDialInNode;
  59. DECLARE_MESSAGE_MAP()
  60. };
  61. #endif // _CONNDLG_H_