properties.cpp
资源名称:SQLVC.rar [点击查看]
上传用户:biney012
上传日期:2022-05-09
资源大小:4592k
文件大小:1k
源码类别:
数据库系统
开发平台:
Visual C++
- // 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 "properties.h"
- // Dispatch interfaces referenced by this interface
- #include "Property.h"
- /////////////////////////////////////////////////////////////////////////////
- // CProperties properties
- /////////////////////////////////////////////////////////////////////////////
- // CProperties operations
- long CProperties::GetCount()
- {
- long result;
- InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CProperties::Refresh()
- {
- InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- CProperty CProperties::GetItem(const VARIANT& Index)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
- &Index);
- return CProperty(pDispatch);
- }