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

📄 ch372updowndlg.h

📁 WinCE下操作USB,USB芯片为CH372
💻 H
字号:
// CH372UpDownDlg.h : header file
//

#if !defined(AFX_CH372UPDOWNDLG_H__5095ED62_FBFB_4C24_ACF0_21AA54260E57__INCLUDED_)
#define AFX_CH372UPDOWNDLG_H__5095ED62_FBFB_4C24_ACF0_21AA54260E57__INCLUDED_

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

UINT mHandleUp2( LPVOID pParam );

/////////////////////////////////////////////////////////////////////////////
// CCH372UpDownDlg dialog

class CCH372UpDownDlg : public CDialog
{
// Construction
public:
	HANDLE m_HandleUp;  //上传线程
	CCH372UpDownDlg(CWnd* pParent = NULL);	// standard constructor
	BOOL mLPCTStrtoVal(LPCTSTR str, PUCHAR pDataBuff,DWORD dwBuffLen);//0823
	BOOL mValtoLPCTStr(TCHAR *str,PUCHAR pDataBuff,DWORD dwCurLen);
	UINT m_DevIndex ;
	//void CCH372UpDownDlg::ShowDataLength(); //0827
// Dialog Data
	//{{AFX_DATA(CCH372UpDownDlg)
	enum { IDD = IDD_CH372UPDOWN_DIALOG };
	CString	m_downdata2;
	long	m_downlen2;
	CString	m_date;
	CString	m_time;
	long	m_UpNumb;
	CString	m_updata2;
	//}}AFX_DATA
	
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCH372UpDownDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	CComboBox * m_ComboBox;
	// Generated message map functions
	//{{AFX_MSG(CCH372UpDownDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnOpenCH375Device();
	afx_msg void OnButton2Down();
	afx_msg void OnClearU2Data();
	afx_msg void OnClearD2Data();
	afx_msg void OnButton2Up();
	//}}AFX_MSG
	afx_msg void CH372NOTIFYROUTINE(UINT message, WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CH372UPDOWNDLG_H__5095ED62_FBFB_4C24_ACF0_21AA54260E57__INCLUDED_)

⌨️ 快捷键说明

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