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. getnetbi.h
  7. gets a netbios name for a given address
  8. FILE HISTORY:
  9. */
  10. #ifndef _GETNETBI_H
  11. #define _GETNETBI_H
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CGetNetBIOSNameDlg dialog
  14. class CGetNetBIOSNameDlg : public CDialog
  15. {
  16. // Construction
  17. public:
  18. CGetNetBIOSNameDlg(
  19. CIpNamePair * pipnp,
  20. CWnd* pParent = NULL); // standard constructor
  21. // Dialog Data
  22. //{{AFX_DATA(CGetNetBIOSNameDlg)
  23. enum { IDD = IDD_GETNETBIOSNAME };
  24. CButton m_button_Ok;
  25. CEdit m_edit_NetBIOSName;
  26. CStatic m_static_IpAddress;
  27. //}}AFX_DATA
  28. // Implementation
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. // Generated message map functions
  32. //{{AFX_MSG(CGetNetBIOSNameDlg)
  33. virtual BOOL OnInitDialog();
  34. virtual void OnOK();
  35. afx_msg void OnChangeEditNetbiosname();
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. private:
  39. CIpNamePair * m_pipnp;
  40. private:
  41. void HandleControlStates();
  42. public:
  43. virtual DWORD * GetHelpMap() { return WinsGetHelpMap(CGetNetBIOSNameDlg::IDD);};
  44. };
  45. #endif _GETNETBI_H