📄 com_test_1_0.cpp
字号:
// Machine generated IDispatch wrapper class(es) created with ClassWizard
#include "stdafx.h"
#include "com_test_1_0.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Icom_testclass properties
/////////////////////////////////////////////////////////////////////////////
// Icom_testclass operations
LPDISPATCH Icom_testclass::GetMWFlags()
{
LPDISPATCH result;
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
void Icom_testclass::SetMWFlags(LPDISPATCH newValue)
{
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
void Icom_testclass::plot_test()
{
InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void Icom_testclass::property_test(long nargout, VARIANT* result)
{
static BYTE parms[] =
VTS_I4 VTS_PVARIANT;
InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
nargout, result);
}
VARIANT Icom_testclass::GetA()
{
VARIANT result;
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
return result;
}
void Icom_testclass::SetA(const VARIANT& newValue)
{
static BYTE parms[] =
VTS_VARIANT;
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
&newValue);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -