msgocx.h

来自「GSM Mobile收发短信」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_MSGOCX_H__655BB983_4E07_4FE6_B521_2C9042E53ED5__INCLUDED_)
#define AFX_MSGOCX_H__655BB983_4E07_4FE6_B521_2C9042E53ED5__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.

/////////////////////////////////////////////////////////////////////////////
// CMsgOcx wrapper class

class CMsgOcx : public CWnd
{
protected:
	DECLARE_DYNCREATE(CMsgOcx)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xbf5f9320, 0x6abf, 0x4df2, { 0xbf, 0x1b, 0x60, 0x50, 0x6e, 0xdf, 0xf3, 0xc4 } };
		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 comOpen(LPCTSTR ComN);
	short comSetUp(short Baudrate, short DataBits, short Parity, short StopBits);
	short comHandshaking(short Handshake);
	short comClose();
	short msgInit(LPCTSTR Cent);
	short msgSend(LPCTSTR Body, LPCTSTR Hand);
	short msgRead(short Type);
	short msgDel(short Index);
	short msgRet(short Seq, LPCTSTR Ret, short Len);
	void AboutBox();
};

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

#endif // !defined(AFX_MSGOCX_H__655BB983_4E07_4FE6_B521_2C9042E53ED5__INCLUDED_)

⌨️ 快捷键说明

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