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.

81 lines
1.9 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. HANDLE hServer,
  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. afx_msg VOID
  42. OnHangUp( );
  43. afx_msg VOID
  44. OnReset( );
  45. afx_msg VOID
  46. OnSelendokConnList( );
  47. afx_msg VOID
  48. OnRefresh( );
  49. BOOL
  50. RefreshItem(
  51. HANDLE hConnection,
  52. BOOL bDisconnected = FALSE
  53. );
  54. MPR_SERVER_HANDLE m_hServer;
  55. HANDLE m_hConnection;
  56. SPITFSNode m_spDialInNode;
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. #endif // _CONNDLG_H_