📄 buj.h
字号:
#if !defined(AFX_BUJ_H__20F54DEA_E3A7_430C_A7B6_ED5ACB2CA00E__INCLUDED_)
#define AFX_BUJ_H__20F54DEA_E3A7_430C_A7B6_ED5ACB2CA00E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// buj.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// Cbuj dialog
class Cbuj : public CDialog
{
// Construction
public:
Cbuj(CWnd* pParent = NULL); // standard constructor
void outlet1();
void outlet2();
int data,i,j,data1,data2,t;
HANDLE hDevice,hDevice1;
protected:
struct pci_cfg
{
DWORD MemBase;
DWORD MemLength;
WORD IOBase[2];
WORD IOPortLength[2];
BYTE IRQ;
BYTE DMA;
}*pci;
pci_cfg* m_p;
struct Write_AD
{
ULONG Address;
UCHAR Data;
};
struct Write_AD* W_AD;
DWORD nRet;
HANDLE hEvent;
// Dialog Data
//{{AFX_DATA(Cbuj)
enum { IDD = IDD_DIALOG25 };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Cbuj)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(Cbuj)
// NOTE: the ClassWizard will add member functions here
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
afx_msg void OnButton2();
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_BUJ_H__20F54DEA_E3A7_430C_A7B6_ED5ACB2CA00E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -