if101drivertestdlg.h
来自「evc++ 测试CMMB驱动」· C头文件 代码 · 共 72 行
H
72 行
// IF101DriverTestDlg.h : header file
//
#if !defined(AFX_IF101DRIVERTESTDLG_H__31110CA5_FC45_4EF3_BABD_04E6747D7890__INCLUDED_)
#define AFX_IF101DRIVERTESTDLG_H__31110CA5_FC45_4EF3_BABD_04E6747D7890__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CIF101DriverTestDlg dialog
class CIF101DriverTestDlg : public CDialog
{
// Construction
public:
CIF101DriverTestDlg(CWnd* pParent = NULL); // standard constructor
HANDLE hLGC1,hLGC2,hLGC3,hLGC1_record,hLGC2_record,hLGC3_record;
BOOL bLGC2ThreadExit,bLGC1ThreadExit,bLGC3ThreadExit;
HANDLE m_hIF101InterruptEvent;
// Dialog Data
//{{AFX_DATA(CIF101DriverTestDlg)
enum { IDD = IDD_IF101DRIVERTEST_DIALOG };
CButton m_lgc3_st;
CButton m_lgc3_sp;
CButton m_lgc2_sp;
CButton m_lgc2_st;
CButton m_lgc1_sp;
CButton m_lgc1_st;
DWORD m_lgc1_intr;
DWORD m_lgc2_intr;
DWORD m_Lgc1_len;
DWORD m_Lgc2_len;
DWORD m_lgc3_intr;
DWORD m_Lgc3_len;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIF101DriverTestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CIF101DriverTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnLgc1St();
afx_msg void OnLgc1Sp();
afx_msg void OnLgc2St();
afx_msg void OnLgc2Sp();
afx_msg void OnIf101IntrEmulator();
afx_msg void OnIf101Setting();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnIf101IntrEnable();
afx_msg void OnIf101IntrDisable();
afx_msg void OnLgc3St();
afx_msg void OnLgc3Sp();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IF101DRIVERTESTDLG_H__31110CA5_FC45_4EF3_BABD_04E6747D7890__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?