result.h

来自「ARP test mode. According to the idea we 」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_RESULT_H__25AB2C7C_C1E0_4930_A301_700B654219E2__INCLUDED_)
#define AFX_RESULT_H__25AB2C7C_C1E0_4930_A301_700B654219E2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Result.h : header file
//
//#include <win32/libnet.h>
#include "RRecordset.h"
/////////////////////////////////////////////////////////////////////////////
// CResult dialog

class CResult : public CDialog
{
// Construction
public:
	CResult(CWnd* pParent = NULL);   // standard constructor

	void Insert(CString ip,CString mac_str,CString time);
	RRecordset m_db;
//void arp_protocol_packet_callback(u_char *argument, const struct pcap_pkthdr *packet_header, const u_char *packet_content);
// Dialog Data
	//{{AFX_DATA(CResult)
	enum { IDD = IDD_DIALOG_RESULT };
	CListCtrl	m_result;
	CString	m_send;
	//}}AFX_DATA

//void arp_protocol_packet_callback(u_char *argument, const struct pcap_pkthdr *packet_header, const u_char *packet_content);
//UINT ReceivePacket(LPVOID param);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CResult)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CResult)
	virtual BOOL OnInitDialog();
	afx_msg void OnStart();
	virtual void OnCancel();
	afx_msg void OnButtonStop();
	afx_msg void OnButtonLog();
	afx_msg void OnButtonSend();
	afx_msg void OnButtonSendall();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RESULT_H__25AB2C7C_C1E0_4930_A301_700B654219E2__INCLUDED_)

⌨️ 快捷键说明

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