📄 comwin.h
字号:
#if !defined(AFX_COMWIN_H__BD00A561_80D2_11D3_96EA_00A0C948983E__INCLUDED_)
#define AFX_COMWIN_H__BD00A561_80D2_11D3_96EA_00A0C948983E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ComWin.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CComWin window
class CComWin : public CStatic
{
// Construction
public:
CComWin();
CComWin(int nPort,DCB *pDCB);
BOOL Create(int nPort,DCB *pDCB);
int WriteOut(BYTE * pBuffer,int nLen);
HANDLE hCom;
OVERLAPPED m_Overlapped;
DWORD m_RResult;
char m_RBuffer[1000];
HANDLE m_hREvent;
BOOL m_bRunning;
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CComWin)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CComWin();
// Generated message map functions
protected:
//{{AFX_MSG(CComWin)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMWIN_H__BD00A561_80D2_11D3_96EA_00A0C948983E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -