tcpctrl.h

来自「网络通讯中间件」· C头文件 代码 · 共 43 行

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

/////////////////////////////////////////////////////////////////////////////
// CTcpCtrl wrapper class

class CTcpCtrl : public CWnd
{
protected:
	DECLARE_DYNCREATE(CTcpCtrl)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x4bfeb59b, 0x1c51, 0x4a08, { 0x9c, 0x9b, 0x11, 0xdf, 0x1c, 0x38, 0x29, 0x90 } };
		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:
	SCODE ConnectSver(LPCTSTR SverIP, long Port);
	SCODE DestroyClientSock();
	BOOL SendBuffer(LPCTSTR buff, long len);
};

⌨️ 快捷键说明

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