EnumHostsDlg.h
上传用户:qzzxgm
上传日期:2009-12-14
资源大小:1882k
文件大小:1k
- // EnumHostsDlg.h : header file
- //
- #if !defined(AFX_ENUMHOSTSDLG_H__CD702D7C_FD3B_49C4_9A34_E631532A0D88__INCLUDED_)
- #define AFX_ENUMHOSTSDLG_H__CD702D7C_FD3B_49C4_9A34_E631532A0D88__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CEnumHostsDlg dialog
- #include "winsock2.h"
- class CEnumHostsDlg : public CDialog
- {
- // Construction
- public:
- CEnumHostsDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CEnumHostsDlg)
- enum { IDD = IDD_ENUMHOSTS_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEnumHostsDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CEnumHostsDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnEnum();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- void EnumHosts(CStringArray& list);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ENUMHOSTSDLG_H__CD702D7C_FD3B_49C4_9A34_E631532A0D88__INCLUDED_)