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

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. AddBootp.h
  7. Dialog to add a bootp entry
  8. FILE HISTORY:
  9. */
  10. #if !defined(AFX_ADDBOOTP_H__7B0D5D17_B501_11D0_AB8E_00C04FC3357A__INCLUDED_)
  11. #define AFX_ADDBOOTP_H__7B0D5D17_B501_11D0_AB8E_00C04FC3357A__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CAddBootpEntry dialog
  17. class CAddBootpEntry : public CBaseDialog
  18. {
  19. // Construction
  20. public:
  21. CAddBootpEntry(ITFSNode * pNode, LPCTSTR pServerAddress, CWnd* pParent = NULL); // standard constructor
  22. ~CAddBootpEntry();
  23. // Dialog Data
  24. //{{AFX_DATA(CAddBootpEntry)
  25. enum { IDD = IDD_BOOTP_NEW };
  26. CButton m_buttonOk;
  27. CEdit m_editImageName;
  28. CEdit m_editFileName;
  29. CEdit m_editFileServer;
  30. CString m_strFileName;
  31. CString m_strFileServer;
  32. CString m_strImageName;
  33. //}}AFX_DATA
  34. DWORD GetBootpTable();
  35. DWORD AddBootpEntryToTable();
  36. DWORD SetBootpTable();
  37. void HandleActivation();
  38. // Context Help Support
  39. virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(CAddBootpEntry::IDD); }
  40. // Overrides
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CAddBootpEntry)
  43. protected:
  44. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. protected:
  48. // Generated message map functions
  49. //{{AFX_MSG(CAddBootpEntry)
  50. virtual BOOL OnInitDialog();
  51. virtual void OnOK();
  52. afx_msg void OnChangeEditBootpFileName();
  53. afx_msg void OnChangeEditBootpFileServer();
  54. afx_msg void OnChangeEditBootpImageName();
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. CString m_strServerAddress;
  58. WCHAR * m_pBootpTable;
  59. int m_nBootpTableLength;
  60. SPITFSNode m_spNode;
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  64. #endif // !defined(AFX_ADDBOOTP_H__7B0D5D17_B501_11D0_AB8E_00C04FC3357A__INCLUDED_)