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

📄 pci_testdlg.h

📁 一个pci卡驱动程序
💻 H
字号:
// pci_testDlg.h : header file
//

#if !defined(AFX_PCI_TESTDLG_H__EE4015A5_7764_44EA_BA48_8FC96F46EA0A__INCLUDED_)
#define AFX_PCI_TESTDLG_H__EE4015A5_7764_44EA_BA48_8FC96F46EA0A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CPci_testDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CPci_testDlg)
	enum { IDD = IDD_PCI_TEST_DIALOG };
	int		m_intChange;
	CString	m_initial;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

    // Prototypes
    void Usage(void);

    void CloseIfOpen(void);
    int doWrite(int i);
    void Exit(int res);
    
    HANDLE OpenByName(void);

    // Handle to device opened in driver.
    //
    HANDLE	hDevice; 

    // Name used to open device
    //
    char *sLinkName;

	

	// Generated message map functions
	//{{AFX_MSG(CPci_testDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg void change();
	afx_msg void ampon();
	afx_msg void ampoff();
	afx_msg void lowcorrect();
	afx_msg void lowcorrect_off();
	afx_msg void highcorrect_on();
	afx_msg void highcorrect_off();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PCI_TESTDLG_H__EE4015A5_7764_44EA_BA48_8FC96F46EA0A__INCLUDED_)

⌨️ 快捷键说明

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