comwin.h
来自「用算法来实现一个收费系统」· C头文件 代码 · 共 58 行
H
58 行
#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 + =
减小字号Ctrl + -
显示快捷键?