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

📄 _sms.h

📁 如何实现GSM短信收发
💻 H
字号:
#if !defined(AFX__SMS_H__A112783D_285B_402F_A9CF_92238AF20458__INCLUDED_)
#define AFX__SMS_H__A112783D_285B_402F_A9CF_92238AF20458__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.

/////////////////////////////////////////////////////////////////////////////
// C_SMS wrapper class

class C_SMS : public CWnd
{
protected:
	DECLARE_DYNCREATE(C_SMS)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x36a27454, 0x40d9, 0x4d79, { 0x81, 0x55, 0x38, 0x91, 0x97, 0xfb, 0x8c, 0x99 } };
		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 GetConnectionMode();
	void SetConnectionMode(short nNewValue);
	short GetMobileType();
	void SetMobileType(short nNewValue);
	BOOL GetAutoDeleteMsg();
	void SetAutoDeleteMsg(BOOL bNewValue);
	short GetState();
	void SetState(short nNewValue);
	CString GetLastReadSender();
	void SetLastReadSender(LPCTSTR lpszNewValue);
	CString GetLastReadMsg();
	void SetLastReadMsg(LPCTSTR lpszNewValue);
	DATE GetLastReadTime();
	void SetLastReadTime(DATE newValue);
	short CommOpen();
	short CommClose();
	short CheckConnection();
	short SendMsg(LPCTSTR MobileNo, LPCTSTR Msg, BOOL Chinese, BOOL NeedReport);
	short ReadMsg(short Index);
	short DeleteMsg(short Index);
	CString GetCenterNo();
	void SetCenterNo(LPCTSTR lpszNewValue);
	BOOL GetAutoReceive();
	void SetAutoReceive(BOOL bNewValue);
	CString GetSettings();
	void SetSettings(LPCTSTR lpszNewValue);
	short GetCommPort();
	void SetCommPort(short nNewValue);
	short GetSendTimeOut();
	void SetSendTimeOut(short nNewValue);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX__SMS_H__A112783D_285B_402F_A9CF_92238AF20458__INCLUDED_)

⌨️ 快捷键说明

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