smsx.h

来自「GSM短信测试程序」· C头文件 代码 · 共 50 行

H
50
字号
// 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.

/////////////////////////////////////////////////////////////////////////////
// CSMSX wrapper class

class CSMSX : public CWnd
{
protected:
	DECLARE_DYNCREATE(CSMSX)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x6c701a8e, 0xefd, 0x4539, { 0x83, 0xd6, 0x3b, 0xde, 0xbc, 0xdd, 0x9c, 0x1f } };
		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 Init();
	long ConnectModem(LPCTSTR PortName, long BaudRate, LPCTSTR AccessCode);
	void DisconnectModem();
	void SetSend(BOOL SendFlag);
	void SetRecv(BOOL RecvFlag);
	long SendMsg(LPCTSTR DestNum, LPCTSTR Content, long MsgIndex);
	long SendListCount();
	BOOL ModemConnected();
	long RecvListCount();
	void RecvMsg(BSTR* PhoneNum, BSTR* Content, long* Year, long* Month, long* Day, long* Hour, long* Minute, long* Second);
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?