smscom.h

来自「短信息开发的vc程序」· C头文件 代码 · 共 48 行

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

/////////////////////////////////////////////////////////////////////////////
// CSmscom wrapper class

class CSmscom : public CWnd
{
protected:
	DECLARE_DYNCREATE(CSmscom)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x9f92905, 0x7848, 0x11d5, { 0xa1, 0x15, 0x82, 0x55, 0xd1, 0xe8, 0xe0, 0x6a } };
		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:
	short SendMsg(LPCTSTR szPhone, LPCTSTR szText);
	short InitDevice(short nPort, short nBaud, short nType);
	short CloseDevice();
	short SendCmd(LPCTSTR szCmd);
	short RegSoftware(LPCTSTR szIMI, LPCTSTR szSerial);
	void SetCenter(LPCTSTR szNumber);
	short SetStateReport(short nRequest, short nDevice);
	void AboutBox();
};

⌨️ 快捷键说明

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