www.pudn.com > test_vc_11.rar > filters.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 "filters.h"
// Dispatch interfaces referenced by this interface
#include "spreadsheet.h"
#include "filter.h"
#include "AutoFilter.h"
/////////////////////////////////////////////////////////////////////////////
// CFilters properties
/////////////////////////////////////////////////////////////////////////////
// CFilters operations
LPDISPATCH CFilters::GetApplication()
{
LPDISPATCH pDispatch;
InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
// return CSpreadsheet(pDispatch);
return pDispatch;
}
long CFilters::GetCount()
{
long result;
InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
CFilter CFilters::GetItem(long Index)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
Index);
return CFilter(pDispatch);
}
CAutoFilter CFilters::GetParent()
{
LPDISPATCH pDispatch;
InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CAutoFilter(pDispatch);
}