📄 phoneport.h
字号:
// PhonePort.h: interface for the CPhonePort class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PHONEPORT_H__94E53724_3DC7_4847_983A_FEE823F9EA63__INCLUDED_)
#define AFX_PHONEPORT_H__94E53724_3DC7_4847_983A_FEE823F9EA63__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPhonePort
{
public:
HANDLE hCom3;
CWinThread *pPhoneTrd;
CWinThread *pProbTrd;
UINT ProbWrkSta;
BOOL fUsePhoneSys;
public:
void ClosePhoneSys();
void InitPhoneSys();
void ProbHangup();
int GetNextText(char *text);
void ProbIncomingCall();
int Recv(char *buf,int len);
int Send(const char *strAT);
CPhonePort();
virtual ~CPhonePort();
};
#endif // !defined(AFX_PHONEPORT_H__94E53724_3DC7_4847_983A_FEE823F9EA63__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -