Source code of Windows XP (NT5)
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
1.9 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: MetQSpec.hxx
  7. //
  8. // Contents: IQuery for metadata queries
  9. //
  10. // Classes: CMetadataQuerySpec
  11. //
  12. // History: 30 Jun 1995 AlanW Created
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #include "qryspec.hxx"
  17. //+---------------------------------------------------------------------------
  18. //
  19. // Class: CMetadataQuerySpec
  20. //
  21. // Purpose: Query spec for metadata queries
  22. //
  23. // History: 15-Apr-96 KyleP Created.
  24. //
  25. //----------------------------------------------------------------------------
  26. class CMetadataQuerySpec : public CRootQuerySpec
  27. {
  28. public:
  29. CMetadataQuerySpec( IUnknown * pOuterUnk, IUnknown ** ppMyUnk,
  30. CiMetaData eType, WCHAR const * pCat, WCHAR const *pMachine );
  31. //
  32. // ICommandProperties methods
  33. //
  34. STDMETHOD(GetProperties) ( const ULONG cPropertySetIDs,
  35. const DBPROPIDSET rgPropertySetIDs[],
  36. ULONG * pcPropertySets,
  37. DBPROPSET ** prgPropertySets);
  38. STDMETHOD(SetProperties) ( ULONG cPropertySets,
  39. DBPROPSET rgPropertySets[]);
  40. protected:
  41. ~CMetadataQuerySpec();
  42. PIInternalQuery * QueryInternalQuery();
  43. private:
  44. //
  45. // Don't use default copy ctor. Generate C2558 if copy ctor is used.
  46. //
  47. CMetadataQuerySpec( CMetadataQuerySpec & src ) : CRootQuerySpec( src )
  48. {
  49. Win4Assert( !"CMetadataQueryspec copy constructor not implemented" );
  50. }
  51. //
  52. // EvalMetaDataQuery parameters
  53. //
  54. CiMetaData _eType;
  55. WCHAR * _pCat;
  56. WCHAR * _pMachine;
  57. };