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

📄 led_intdlg.h

📁 通过evc编程实现wince下led灯中断控制
💻 H
字号:
// LED_INTDlg.h : header file
//

#if !defined(AFX_LED_INTDLG_H__F3C63057_A2BB_448A_BFC0_33DEF7039F72__INCLUDED_)
#define AFX_LED_INTDLG_H__F3C63057_A2BB_448A_BFC0_33DEF7039F72__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include <nkintr.h>
#include <oalintr.h>
#include <windev.h>
#include <Pkfuncs.h>
#include "s2410.h"
/////////////////////////////////////////////////////////////////////////////
// CLED_INTDlg dialog

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

	 HANDLE IntrEvent;
	volatile IOPreg * v_pIOPregs;
    volatile LCDreg *s2410LCD;    
	HANDLE hMouse;

	BOOL LED_Flag;

	UINT LoopNum;

// Dialog Data
	//{{AFX_DATA(CLED_INTDlg)
	enum { IDD = IDD_LED_INT_DIALOG };
	CString	m_DispBuf;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLED_INTDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CLED_INTDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnOpen();
	afx_msg void OnClose();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSystemSleep();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
void PortReadThread(CLED_INTDlg *dlg);
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LED_INTDLG_H__F3C63057_A2BB_448A_BFC0_33DEF7039F72__INCLUDED_)

⌨️ 快捷键说明

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