com_test_1_0.cpp
来自「数字信号处理的MATLAB实现」· C++ 代码 · 共 62 行
CPP
62 行
// 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 + =
减小字号Ctrl + -
显示快捷键?