📄 tcpctrl.cpp
字号:
// 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.
#include "stdafx.h"
#include "tcpctrl.h"
/////////////////////////////////////////////////////////////////////////////
// CTcpCtrl
IMPLEMENT_DYNCREATE(CTcpCtrl, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CTcpCtrl properties
/////////////////////////////////////////////////////////////////////////////
// CTcpCtrl operations
SCODE CTcpCtrl::ConnectSver(LPCTSTR SverIP, long Port)
{
SCODE result;
static BYTE parms[] =
VTS_BSTR VTS_I4;
InvokeHelper(0x1, DISPATCH_METHOD, VT_ERROR, (void*)&result, parms,
SverIP, Port);
return result;
}
SCODE CTcpCtrl::DestroyClientSock()
{
SCODE result;
InvokeHelper(0x2, DISPATCH_METHOD, VT_ERROR, (void*)&result, NULL);
return result;
}
BOOL CTcpCtrl::SendBuffer(LPCTSTR buff, long len)
{
BOOL result;
static BYTE parms[] =
VTS_BSTR VTS_I4;
InvokeHelper(0x3, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
buff, len);
return result;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -