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.

72 lines
1.9 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: servbind.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #if !defined(AFX_SERVBIND_H__9B74926E_B074_11D2_9326_00C04F79C3A8__INCLUDED_)
  11. #define AFX_SERVBIND_H__9B74926E_B074_11D2_9326_00C04F79C3A8__INCLUDED_
  12. #if _MSC_VER > 1000
  13. #pragma once
  14. #endif // _MSC_VER > 1000
  15. // servbind.h : header file
  16. #ifndef _LISTVIEW_H
  17. #include "listview.h"
  18. #endif
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CServerBindings dialog
  21. class CServerBindings : public CBaseDialog
  22. {
  23. // Construction
  24. public:
  25. void UpdateBindingInfo();
  26. ~CServerBindings();
  27. CServerBindings(CDhcpServer *pServer, CWnd* pParent = NULL);
  28. CImageList m_StateImageList;
  29. void InitListCtrl();
  30. CServerBindings(CWnd* pParent = NULL); // standard constructor
  31. // Dialog Data
  32. //{{AFX_DATA(CServerBindings)
  33. enum { IDD = IDD_SERVER_BINDINGS };
  34. CMyListCtrl m_listctrlBindingsList;
  35. //}}AFX_DATA
  36. // Context help support
  37. virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(CServerBindings::IDD); }
  38. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(CServerBindings)
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. private:
  46. CDhcpServer *m_Server;
  47. LPDHCP_BIND_ELEMENT_ARRAY m_BindingsInfo;
  48. protected:
  49. // Generated message map functions
  50. //{{AFX_MSG(CServerBindings)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnBindingsCancel();
  53. afx_msg void OnBindingsOK();
  54. //}}AFX_MSG
  55. DECLARE_MESSAGE_MAP()
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_SERVBIND_H__9B74926E_B074_11D2_9326_00C04F79C3A8__INCLUDED_)