edisonsmsgw.h
来自「一个用串口gprs modem发短信的源程序」· C头文件 代码 · 共 57 行
H
57 行
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CEdisonSmsGw wrapper class
class CEdisonSmsGw : public CWnd
{
protected:
DECLARE_DYNCREATE(CEdisonSmsGw)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x9b73be22, 0x7265, 0x4f7e, { 0x83, 0x30, 0xe0, 0x91, 0x49, 0x4, 0x9e, 0xf5 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
// Operations
public:
long DisconnectModem();
long SendSms(LPCTSTR strPhoneNumber, LPCTSTR strSmsContent, long nSmsIndex);
long SetSendFlag(BOOL bSendFlag);
long SetRecvFlag(BOOL bRecvFlag);
BOOL GetSendFlag();
BOOL GetRecvFlag();
BOOL IsConnected();
BOOL IsFreeStatus();
long ConnectModem(LPCTSTR strComName, long nComRate, long nSoftID);
long IsConnecting();
long SetModemType(short nType);
void SetSmsServerNumber(LPCTSTR strNumber);
void SetSendRate(short nSendFreeTime);
CString GetConnectComName();
long GetTaskCount();
long SendSignifySms(LPCTSTR strPhoneNumber, LPCTSTR strSmsContent, long nSmsIndex);
void AboutBox();
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?