Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

73 lines
2.1 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: FATQuery.hxx
//
// Contents: IInternalQuery interface
//
// History: 18-Jun-93 KyleP Created
//
//--------------------------------------------------------------------------
#pragma once
#include <rowset.hxx>
#include <queryunk.hxx>
#include <oldquery.hxx>
//+-------------------------------------------------------------------------
//
// Class: CGenericQuery
//
// Purpose: IInternalQuery interface for FAT
//
// History: 18-Jun-93 KyleP Created
//
//--------------------------------------------------------------------------
class CGenericQuery : public PIInternalQuery
{
public:
//
// IUnknown methods.
//
STDMETHOD(QueryInterface) (THIS_ REFIID riid, void ** ppvObj);
STDMETHOD_(ULONG,AddRef) (THIS);
STDMETHOD_(ULONG,Release) (THIS);
// PIInternalQuery method
void Execute (IUnknown * pUnkOuter,
RESTRICTION * pRestriction,
CPidMapperWithNames & PidMap,
CColumnSet & rColumns,
CSortSet & rSort,
XPtr<CMRowsetProps> & xRstProps,
CCategorizationSet & rCategorize,
ULONG cRowsets,
IUnknown ** ppUnknowns,
CAccessorBag & aAccessors,
IUnknown * pCreatorUnk=0);
BOOL IsQueryActive( ) { return _QueryUnknown.IsQueryActive(); }
//
// Local methods
//
CGenericQuery( IDBProperties * pDbProperties );
CGenericQuery( IDBProperties * pDbProperties, ICiCDocStore *pDocStore );
private:
~CGenericQuery();
CQueryUnknown _QueryUnknown; // For reference tracking of rowsets
XInterface<IDBProperties> _xDbProperties; // Query properties, such as scope
XInterface<ICiCDocStore> _xDocStore; // Document store for this query
};