⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ethernetspydoc.h

📁 网卡驱动相关实例 这是和网卡NT KMD驱动程序有关的一些资料和例子。主要是以下三方面内容: 3.1 article 一些有用的文档 3.2 Canberra 网络诊听工具Ethern
💻 H
字号:
// EthernetSpyDoc.h : interface of the CEthernetSpyDoc class
//
/////////////////////////////////////////////////////////////////////////////


class CEthernetSpyDoc : public CDocument
{
protected: // create from serialization only
	CEthernetSpyDoc();
	DECLARE_DYNCREATE(CEthernetSpyDoc)
	
// Attributes
private:
	EthernetHeaderFilter* HeaderFilter;
	TwoTalkingComputersFilter *TwoTalkFlt;	int FilterType;	BOOL IsSpyDlgActive;	BOOL ThreadIsSuspended;	BOOL ThreadIsRunning;	UINT CurrentCheckedFilterItem;
	UINT CurrentCheckedPrioItem;
	
	CEthernetSpyGlobStatsDlg*	pGlobStatsDlg;
	CEthernetSpyPckTypeDlg*		pPckTypeDlg;
	CEthernetSpyDlg*			pSpyDlg;
	CEthernetSpyOptionsDlg*		pOptionsDlg;

public:
	BOOL IsPckTypeDlgOpen;	BOOL IsGlobStatsDlgOpen;			
	EthernetSpyReader SpyReader;
	
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEthernetSpyDoc)
	public:
	virtual void OnCloseDocument();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CEthernetSpyDoc();
	void OnSpyDlgClose();
	void OnPckTypeDlgClose();
	void OnGlobStatsDlgClose();
//	void OnTerminatedThread(void);
	
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	void Check_UnCheck_Item(UINT ItemID, UINT UnItemID);
	
// Generated message map functions
protected:
	//{{AFX_MSG(CEthernetSpyDoc)
	afx_msg void OnNetcardStartreading();
	afx_msg void OnNetcardStopreading();
	afx_msg void OnNetcardSetpriorityAbovenormal();
	afx_msg void OnNetcardSetpriorityHighest();
	afx_msg void OnNetcardSetpriorityIdle();
	afx_msg void OnNetcardSetpriorityNormal();
	afx_msg void OnNetcardSetpriorityTimecritical();
	afx_msg void OnNetcardShowglobalstatistics();
	afx_msg void OnNetcardShowpackettypesstatistics();
	afx_msg void OnNetcardShowspydialog();
	afx_msg void OnNetcardResumereading();
	afx_msg void OnNetcardSuspedreading();
	afx_msg void OnNetcardOptions();
	afx_msg void OnUpdateNetcardStartreading(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNetcardStopreading(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNetcardResumereading(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNetcardSuspedreading(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNetcardOptions(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNetcardShowspydialog(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNetcardShowglobalstatistics(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNetcardShowpackettypesstatistics(CCmdUI* pCmdUI);
	afx_msg void OnNetcardHeaderfilter();
	afx_msg void OnNetcardTwotalkingfilter();
	afx_msg void OnNetcardSoftwarefilterNone();
	afx_msg void OnAppAbout();
	afx_msg void OnNetcardHardwarefilter();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -