📄 _sms.h
字号:
#if !defined(AFX__SMS_H__6F3C80D2_2FDE_43FA_8104_6EBEC38CEFA8__INCLUDED_)
#define AFX__SMS_H__6F3C80D2_2FDE_43FA_8104_6EBEC38CEFA8__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
= { 0xf25d629, 0xc92a, 0x4423, { 0xb6, 0x6d, 0x53, 0xa5, 0x4f, 0xdd, 0x2b, 0x3d } };
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 CommOpen();
short CommClose();
short CheckConnection();
void SendMsg(LPCTSTR MobileNo, LPCTSTR Msg, BOOL IsChinese, BOOL NeedReport, BOOL IsFlash);
// method 'GetALLSMSFromSim' not emitted because of invalid return type or parameter type
CString GetAllSMSIndexFromSim();
CString GetAllReportIndexFromSim();
short ReadReport(short Index);
short ReadMsg(short Index);
short DeleteMsg(short Index);
short DeleteAllMsg();
CString GetCenterNo();
CString GetCIMI();
CString GetSIMSN();
short GetSignalQuality();
short GetRegState();
void ResetControl();
CString GetLastReportMsgReference();
CString GetLastReportReceiver();
CString GetLastReportOriginSendTime();
CString GetLastReportArrivedTime();
CString GetLastReportStatus();
short GetMobileType();
void SetMobileType(short nNewValue);
BOOL GetIsRegister();
CString GetLastReadSender();
CString GetLastReadMsg();
DATE GetLastReadTime();
//
// Note: additional method 'GetCenterNo' not emitted because its C++ signature is the
// same as another implementation already present - probably both
// propput and propputref methods on the same property, both with VARIANT
// type arguments.
//
void SetCenterNo(LPCTSTR lpszNewValue);
CString GetSettings();
void SetSettings(LPCTSTR lpszNewValue);
short GetCommPort();
void SetCommPort(short nNewValue);
short GetHandshaking();
void SetHandshaking(short nNewValue);
BOOL GetIsBusy();
CString GetLicense();
void SetLicense(LPCTSTR lpszNewValue);
short GetSendTimeOut();
void SetSendTimeOut(short nNewValue);
short GetRingCount();
void SetRingCount(short nNewValue);
CString GetAvailablePorts();
short CheckModemPara(short CommPort, BSTR* RateSettings, BSTR* ModemType, BSTR* CenterNo);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX__SMS_H__6F3C80D2_2FDE_43FA_8104_6EBEC38CEFA8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -