ProcManageDlg.h
资源名称:Visualhk.rar [点击查看]
上传用户:cjw5120
上传日期:2022-05-11
资源大小:5032k
文件大小:2k
源码类别:
网络截获/分析
开发平台:
Visual C++
- #if !defined(AFX_PROCMANAGEDLG_H__DC3F6883_18A0_471C_87F4_F494D748CD1B__INCLUDED_)
- #define AFX_PROCMANAGEDLG_H__DC3F6883_18A0_471C_87F4_F494D748CD1B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ProcManageDlg.h : header file
- //
- //#include "comm.h"
- #include <vector>
- /*
- 作者:海啸 lyyer English Name: Jack
- blog:http://lyyer.blog.sohu.com
- website:http://www.cnGSG.com
- 海啸网络安全组织
- */
- /////////////////////////////////////////////////////////////////////////////
- // CProcManageDlg dialog
- typedef struct tagProcessInfo
- {
- DWORD PID;
- char ProcName[64];
- char ProcPath[128];
- }PROCESSINFO,*LPPROCESSINFO;
- class CProcManageDlg : public CDialog
- {
- // Construction
- public:
- CProcManageDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CProcManageDlg)
- enum { IDD = IDD_DIALOG_PROC };
- CListCtrl m_list;
- SOCKET ClientSocket;
- //}}AFX_DATA
- //void InitList(std::vector<PROCESSINFO>* pVecTor);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CProcManageDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- afx_msg void OnContextMenu(CWnd*, CPoint point);
- virtual BOOL OnInitDialog();
- // Generated message map functions
- //{{AFX_MSG(CProcManageDlg)
- afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnManageprocReflush();
- afx_msg void OnManageprocKill();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PROCMANAGEDLG_H__DC3F6883_18A0_471C_87F4_F494D748CD1B__INCLUDED_)