NeighborInfoDlg.h
上传用户:jnhwc1
上传日期:2022-07-09
资源大小:100k
文件大小:2k
源码类别:

进程与线程

开发平台:

Visual C++

  1. // NeighborInfoDlg.h : header file
  2. //
  3. #if !defined(AFX_NEIGHBORINFODLG_H__62DB6683_C7A0_4019_A9C5_E45277A7BFEA__INCLUDED_)
  4. #define AFX_NEIGHBORINFODLG_H__62DB6683_C7A0_4019_A9C5_E45277A7BFEA__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CNeighborInfoDlg dialog
  10. #include "MessSocket.h"
  11. class CNeighborInfoDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CNeighborInfoDlg(CWnd* pParent = NULL); // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CNeighborInfoDlg)
  18. enum { IDD = IDD_NEIGHBORINFO_DIALOG };
  19. CListCtrl m_ListProcess;
  20. CIPAddressCtrl m_123;
  21. CListCtrl m_ListView;
  22. //}}AFX_DATA
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CNeighborInfoDlg)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. public:
  29. //BYTE m_bStartAddress[4],m_bEndAddress[4];
  30. CMessSocket m_socket;
  31. BOOL m_bStop;
  32. void ReceiveMessage();
  33. DWORD FindProcess(char *strProcessName);//查找进程
  34. void KillProcess();//杀掉进程
  35. BOOL GetDebugPriv();//提高权限
  36. // Implementation
  37. protected:
  38. HICON m_hIcon;
  39. // Generated message map functions
  40. //{{AFX_MSG(CNeighborInfoDlg)
  41. virtual BOOL OnInitDialog();
  42. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  43. afx_msg void OnPaint();
  44. afx_msg HCURSOR OnQueryDragIcon();
  45. afx_msg void OnBeginScan();
  46. afx_msg void OnStopScan();
  47. afx_msg void OnMyHelp();
  48. afx_msg void OnEmpty();
  49. afx_msg void OnButton2();
  50.     afx_msg void OnButton3();
  51. afx_msg void OnButton4();
  52. afx_msg void OnButton5();
  53. afx_msg void OnTimer(UINT nIDEvent);
  54. afx_msg void OnContextMenu(CWnd*, CPoint point);
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_NEIGHBORINFODLG_H__62DB6683_C7A0_4019_A9C5_E45277A7BFEA__INCLUDED_)