?? searchkernel.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 "searchkernel.h"
/////////////////////////////////////////////////////////////////////////////
// CSearchKernel
IMPLEMENT_DYNCREATE(CSearchKernel, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CSearchKernel properties
long CSearchKernel::GetIMaxThread()
{
long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void CSearchKernel::SetIMaxThread(long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
long CSearchKernel::GetITimeOut()
{
long result;
GetProperty(0x2, VT_I4, (void*)&result);
return result;
}
void CSearchKernel::SetITimeOut(long propVal)
{
SetProperty(0x2, VT_I4, propVal);
}
BOOL CSearchKernel::GetBShowThreadState()
{
BOOL result;
GetProperty(0x3, VT_BOOL, (void*)&result);
return result;
}
void CSearchKernel::SetBShowThreadState(BOOL propVal)
{
SetProperty(0x3, VT_BOOL, propVal);
}
BOOL CSearchKernel::GetBAutoHTMLEngine()
{
BOOL result;
GetProperty(0x4, VT_BOOL, (void*)&result);
return result;
}
void CSearchKernel::SetBAutoHTMLEngine(BOOL propVal)
{
SetProperty(0x4, VT_BOOL, propVal);
}
BOOL CSearchKernel::GetBReturnInfo()
{
BOOL result;
GetProperty(0x5, VT_BOOL, (void*)&result);
return result;
}
void CSearchKernel::SetBReturnInfo(BOOL propVal)
{
SetProperty(0x5, VT_BOOL, propVal);
}
BOOL CSearchKernel::GetBEnbleProxy()
{
BOOL result;
GetProperty(0x6, VT_BOOL, (void*)&result);
return result;
}
void CSearchKernel::SetBEnbleProxy(BOOL propVal)
{
SetProperty(0x6, VT_BOOL, propVal);
}
CString CSearchKernel::GetStrProxyAddress()
{
CString result;
GetProperty(0x7, VT_BSTR, (void*)&result);
return result;
}
void CSearchKernel::SetStrProxyAddress(LPCTSTR propVal)
{
SetProperty(0x7, VT_BSTR, propVal);
}
CString CSearchKernel::GetStrProxyPort()
{
CString result;
GetProperty(0x8, VT_BSTR, (void*)&result);
return result;
}
void CSearchKernel::SetStrProxyPort(LPCTSTR propVal)
{
SetProperty(0x8, VT_BSTR, propVal);
}
CString CSearchKernel::GetStrProxyUserName()
{
CString result;
GetProperty(0x9, VT_BSTR, (void*)&result);
return result;
}
void CSearchKernel::SetStrProxyUserName(LPCTSTR propVal)
{
SetProperty(0x9, VT_BSTR, propVal);
}
CString CSearchKernel::GetStrProxyPassWord()
{
CString result;
GetProperty(0xa, VT_BSTR, (void*)&result);
return result;
}
void CSearchKernel::SetStrProxyPassWord(LPCTSTR propVal)
{
SetProperty(0xa, VT_BSTR, propVal);
}
BOOL CSearchKernel::GetBDecInfo()
{
BOOL result;
GetProperty(0xb, VT_BOOL, (void*)&result);
return result;
}
void CSearchKernel::SetBDecInfo(BOOL propVal)
{
SetProperty(0xb, VT_BOOL, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CSearchKernel operations
void CSearchKernel::SuspendAllThread()
{
InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSearchKernel::ResumeAllThread()
{
InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSearchKernel::SetWebValidate(LPCTSTR strURL, LPCTSTR strUserName, LPCTSTR strPassWord)
{
static BYTE parms[] =
VTS_BSTR VTS_BSTR VTS_BSTR;
InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
strURL, strUserName, strPassWord);
}
long CSearchKernel::StartThread(LPCTSTR strURL, LPCTSTR strTitle, LPCTSTR strSource, long iPlace, LPCTSTR strParentUrl)
{
long result;
static BYTE parms[] =
VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4 VTS_BSTR;
InvokeHelper(0xf, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
strURL, strTitle, strSource, iPlace, strParentUrl);
return result;
}
void CSearchKernel::FreeWebValidate()
{
InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSearchKernel::AboutBox()
{
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -