📄 serialbase.h
字号:
// SerialBase.h: interface for the CSerialBase class.
//
//////////////////////////////////////////////////////////////////////
//History
//*Data *Name *comments.
//2008-Feb-03 Rock Li Initialization
#if !defined(AFX_SERIALBASE_H__094BD63D_9D1C_4532_8401_59B43CE13BD0__INCLUDED_)
#define AFX_SERIALBASE_H__094BD63D_9D1C_4532_8401_59B43CE13BD0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MsgQue.h"
bool Init(HANDLE hProExit, unsigned char uploadCmd[], char szComName[]);
bool CleanUp();
bool WriteComm(unsigned char* lpBuffer, const DWORD dwBytesToWrite);
bool ReadComm();
bool WriteOneMsgIntoQue(unsigned char szMessage[]);
bool GetAckMessage(pMsgQue* msg);
bool GetRxMessage(pMsgQue msg);
DWORD WINAPI CommWatchPorc(LPVOID pParam);
#endif // !defined(AFX_SERIALBASE_H__094BD63D_9D1C_4532_8401_59B43CE13BD0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -