www.pudn.com > test_vc_11.rar > filter.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 "filter.h"
// Dispatch interfaces referenced by this interface
#include "Spreadsheet.h"
#include "Criteria.h"
#include "AutoFilter.h"
/////////////////////////////////////////////////////////////////////////////
// CFilter properties
/////////////////////////////////////////////////////////////////////////////
// CFilter operations
LPDISPATCH CFilter::GetApplication()
{
LPDISPATCH pDispatch;
InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
// return CSpreadsheet(pDispatch);
return pDispatch;
}
CCriteria CFilter::GetCriteria()
{
LPDISPATCH pDispatch;
InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CCriteria(pDispatch);
}
CAutoFilter CFilter::GetParent()
{
LPDISPATCH pDispatch;
InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CAutoFilter(pDispatch);
}