usbdoc.h

来自「进行USB通讯的源码 所用芯片为EZ-USB2131Q」· C头文件 代码 · 共 63 行

H
63
字号
// USBDoc.h : interface of the CUSBDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_USBDOC_H__BE48B37E_7750_4991_B73E_6AF1859C8AEC__INCLUDED_)
#define AFX_USBDOC_H__BE48B37E_7750_4991_B73E_6AF1859C8AEC__INCLUDED_

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


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

// Attributes
public:

	HWND        m_hWndDigit;        // 数字窗口句柄
	HWND        m_hWndWave;         // 波形窗口句柄
    CWinThread* m_ReadThread;
    CWinThread* m_DrawWindowThread;
	// Operations
public:

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

// Implementation
public:
	virtual ~CUSBDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CUSBDoc)
	afx_msg void OnBtnRead();
	afx_msg void OnBtnStop();
	afx_msg void OnDigitalShow();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_USBDOC_H__BE48B37E_7750_4991_B73E_6AF1859C8AEC__INCLUDED_)

⌨️ 快捷键说明

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