streamthread.cpp
来自「一个通过USB->UART读取C8051F060的程序」· C++ 代码 · 共 47 行
CPP
47 行
// StreamThread.cpp : implementation file
//
#include "stdafx.h"
#include "StreamThread.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStreamThread
IMPLEMENT_DYNCREATE(CStreamThread, CWinThread)
CStreamThread::CStreamThread()
{
}
CStreamThread::~CStreamThread()
{
}
BOOL CStreamThread::InitInstance()
{
// TODO: perform and per-thread initialization here
return TRUE;
}
int CStreamThread::ExitInstance()
{
// TODO: perform any per-thread cleanup here
return CWinThread::ExitInstance();
}
BEGIN_MESSAGE_MAP(CStreamThread, CWinThread)
//{{AFX_MSG_MAP(CStreamThread)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStreamThread message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?