ProcessPage.h
上传用户:shouhua
上传日期:2014-12-06
资源大小:5685k
文件大小:2k
- #if !defined(AFX_PROCESSPAGE_H__DF1DA878_2A94_4206_9FE8_1E8606A6D5A0__INCLUDED_)
- #define AFX_PROCESSPAGE_H__DF1DA878_2A94_4206_9FE8_1E8606A6D5A0__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ProcessPage.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CProcessPage dialog
- #include "MyList.h"
- class CProcessPage : public CPropertyPage
- {
- DECLARE_DYNCREATE(CProcessPage)
- // Construction
- public:
- BOOL IsHide;
- ULONG GetEprocessById(ULONG pid);
- void SetHandle(HANDLE handle);
- CProcessPage();
- ~CProcessPage();
- bool GetExeFilePath(char pExeFileName[], char buffer[], DWORD pid);
- HANDLE SDM_OpenProcess(DWORD ProcessId);
- void TerminateProcess(ULONG pid);
- void GetProcess();
- int iSelected;
- HANDLE hDevice;
- // Dialog Data
- //{{AFX_DATA(CProcessPage)
- enum { IDD = IDD_DIALOG_PROCESS };
- MyList m_ctrlProcess;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CProcessPage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
- // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CProcessPage)
- virtual BOOL OnInitDialog();
- afx_msg void OnRclickProcessList(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnMenuitemProcessRefresh();
- afx_msg void OnProcessModule();
- afx_msg void OnProcessKill();
- afx_msg void OnMenuitemSuperkillProcess();
- afx_msg void OnMenuitemHide();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CImageList *m_pImage;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PROCESSPAGE_H__DF1DA878_2A94_4206_9FE8_1E8606A6D5A0__INCLUDED_)