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

📄 usbtestdoc.h

📁 使用单片机通过USB发送数据
💻 H
字号:
// USBTESTDoc.h : interface of the CUSBTESTDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_USBTESTDOC_H__751062A7_C2D6_4DD7_85BE_304A2866E779__INCLUDED_)
#define AFX_USBTESTDOC_H__751062A7_C2D6_4DD7_85BE_304A2866E779__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ftd2xx.h"//	usbdriver header file

class CUSBTESTDoc : public CDocument
{
protected: // create from serialization only
	CUSBTESTDoc();
	DECLARE_DYNCREATE(CUSBTESTDoc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUSBTESTDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	int m_nCurrentDisHeight;//当前数据显示区的宽度
	int m_nCurrentDisWidth;
	int m_nCurrentHeight;//当前屏幕的宽度
	int m_nCurrentWidth;
	FT_STATUS m_ftStatus;
	FT_HANDLE m_ftHandle;
	char* m_lpData;
	virtual ~CUSBTESTDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CUSBTESTDoc)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_USBTESTDOC_H__751062A7_C2D6_4DD7_85BE_304A2866E779__INCLUDED_)

⌨️ 快捷键说明

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