⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edisonsmsgw.h

📁 一个用串口gprs modem发短信的源程序
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -