usbtestdoc.h

来自「使用单片机通过USB发送数据」· C头文件 代码 · 共 63 行

H
63
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?