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.

58 lines
1.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. getipadd.h
  7. gets an IP address for a given name
  8. FILE HISTORY:
  9. */
  10. #ifndef _GETIPADD_H
  11. #define _GETIPADD_H
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CGetIpAddressDlg dialog
  14. class CGetIpAddressDlg : public CDialog
  15. {
  16. // Construction
  17. public:
  18. CGetIpAddressDlg(
  19. CIpNamePair * pipnp,
  20. CWnd* pParent = NULL); // standard constructor
  21. // Dialog Data
  22. //{{AFX_DATA(CGetIpAddressDlg)
  23. enum { IDD = IDD_GETIPADDRESS };
  24. CButton m_button_Ok;
  25. CStatic m_static_NetBIOSName;
  26. //}}AFX_DATA
  27. CWndIpAddress m_ipa_IpAddress;
  28. // Implementation
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. // Generated message map functions
  32. //{{AFX_MSG(CGetIpAddressDlg)
  33. virtual BOOL OnInitDialog();
  34. virtual void OnOK();
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. afx_msg void OnChangeIpControl();
  38. void HandleControlStates();
  39. private:
  40. CIpNamePair * m_pipnp;
  41. public:
  42. virtual DWORD * GetHelpMap() { return WinsGetHelpMap(CGetIpAddressDlg::IDD);};
  43. };
  44. #endif _GETIPADD_H