📄 straceguiview.h
字号:
// StraceGuiView.h : interface of the CStraceGuiView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_STRACEGUIVIEW_H__8CE7701C_D122_11D1_99B6_204C4F4F5020__INCLUDED_)
#define AFX_STRACEGUIVIEW_H__8CE7701C_D122_11D1_99B6_204C4F4F5020__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CStraceGuiView : public CListViewEx
{
public: // create from serialization only
CStraceGuiView();
DECLARE_DYNCREATE(CStraceGuiView)
// Attributes
public:
CStraceGuiDoc* GetDocument();
BOOL SetViewType(DWORD dwViewType);
DWORD GetViewType();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStraceGuiView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
// Implementation
public:
static BOOL ApplyProcNameFilter(CString cstr);
static BOOL ApplyFuncNameFilter(CString funcname);
int GetSymNameFromSymFile();
static unsigned WINAPI TracingThreadFunc(void* arg);
HANDLE GetDevice();
virtual ~CStraceGuiView();
afx_msg void OnSetfilter();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
SERVICEPTR2NAME Pid2ImageName;
CWordArray PidSelected;
HANDLE hThread;
CALLNUM2PTR CallNum2ServicePtr;
CALLNUM2PTR CallNum2ServicePtrWin32k;
SERVICEPTR2NAME ServicePtr2ServiceName;
SERVICEPTR2NAME ServicePtr2ServiceNameWin32k;
HANDLE StopEvent;
HANDLE ListClearEvent;
HANDLE OpCompletedEvent;
// Generated message map functions
protected:
BOOL bAutoScroll;
//{{AFX_MSG(CStraceGuiView)
afx_msg void OnSpyingStart();
afx_msg void OnSpyingStop();
afx_msg void OnUpdateSpyingStart(CCmdUI* pCmdUI);
afx_msg void OnUpdateSpyingStop(CCmdUI* pCmdUI);
afx_msg void OnClearlog();
afx_msg void OnViewAutoscroll();
afx_msg void OnUpdateViewAutoscroll(CCmdUI* pCmdUI);
afx_msg void OnDestroy();
afx_msg void OnFilter();
afx_msg void OnCapkernel();
afx_msg void OnUpdateCapkernel(CCmdUI* pCmdUI);
afx_msg void OnUpdateCapuser(CCmdUI* pCmdUI);
afx_msg void OnCapuser();
afx_msg void OnVisithomepage();
afx_msg void OnEditCopy();
afx_msg void OnCopyprocfilter();
afx_msg void OnCopyfunc();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in StraceGuiView.cpp
inline CStraceGuiDoc* CStraceGuiView::GetDocument()
{ return (CStraceGuiDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STRACEGUIVIEW_H__8CE7701C_D122_11D1_99B6_204C4F4F5020__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -