4 Star 0 Fork 2

leegoobin/AutoPHS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
fields.cpp 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
uksoft 提交于 2014-11-26 16:31 . VSS代码移植到Git
// 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 "fields.h"
// Dispatch interfaces referenced by this interface
#include "field.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
/////////////////////////////////////////////////////////////////////////////
// CFields properties
/////////////////////////////////////////////////////////////////////////////
// CFields operations
long CFields::GetCount()
{
long result;
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CFields::Refresh()
{
InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
CField CFields::GetItem(const VARIANT& Index)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_VARIANT;
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
&Index);
return CField(pDispatch);
}
void CFields::Delete(const VARIANT& Index)
{
static BYTE parms[] =
VTS_VARIANT;
InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
&Index);
}
void CFields::Append(LPCTSTR Name, long Type, long DefinedSize, long Attrib, const VARIANT& FieldValue)
{
static BYTE parms[] =
VTS_BSTR VTS_I4 VTS_I4 VTS_I4 VTS_VARIANT;
InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
Name, Type, DefinedSize, Attrib, &FieldValue);
}
void CFields::Update()
{
InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CFields::Resync(long ResyncValues)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
ResyncValues);
}
void CFields::CancelUpdate()
{
InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/uesoft/AutoPHS.git
git@gitee.com:uesoft/AutoPHS.git
uesoft
AutoPHS
AutoPHS
CAE

搜索帮助