summaryrefslogtreecommitdiff
path: root/portaudio/src/hostapi/wasapi/mingw-include/structuredquery.h
diff options
context:
space:
mode:
Diffstat (limited to 'portaudio/src/hostapi/wasapi/mingw-include/structuredquery.h')
-rw-r--r--portaudio/src/hostapi/wasapi/mingw-include/structuredquery.h2478
1 files changed, 2478 insertions, 0 deletions
diff --git a/portaudio/src/hostapi/wasapi/mingw-include/structuredquery.h b/portaudio/src/hostapi/wasapi/mingw-include/structuredquery.h
new file mode 100644
index 0000000..bca20a9
--- /dev/null
+++ b/portaudio/src/hostapi/wasapi/mingw-include/structuredquery.h
@@ -0,0 +1,2478 @@
+
+
+/* this ALWAYS GENERATED file contains the definitions for the interfaces */
+
+
+ /* File created by MIDL compiler version 7.00.0499 */
+/* Compiler settings for structuredquery.idl:
+ Oicf, W1, Zp8, env=Win32 (32b run)
+ protocol : dce , ms_ext, c_ext, robust
+ error checks: allocation ref bounds_check enum stub_data
+ VC __declspec() decoration level:
+ __declspec(uuid()), __declspec(selectany), __declspec(novtable)
+ DECLSPEC_UUID(), MIDL_INTERFACE()
+*/
+//@@MIDL_FILE_HEADING( )
+
+#pragma warning( disable: 4049 ) /* more than 64k source lines */
+
+
+/* verify that the <rpcndr.h> version is high enough to compile this file*/
+#ifndef __REQUIRED_RPCNDR_H_VERSION__
+#define __REQUIRED_RPCNDR_H_VERSION__ 475
+#endif
+
+/* verify that the <rpcsal.h> version is high enough to compile this file*/
+#ifndef __REQUIRED_RPCSAL_H_VERSION__
+#define __REQUIRED_RPCSAL_H_VERSION__ 100
+#endif
+
+#include "rpc.h"
+#include "rpcndr.h"
+
+#ifndef __RPCNDR_H_VERSION__
+#error this stub requires an updated version of <rpcndr.h>
+#endif // __RPCNDR_H_VERSION__
+
+#ifndef COM_NO_WINDOWS_H
+#include "windows.h"
+#include "ole2.h"
+#endif /*COM_NO_WINDOWS_H*/
+
+#ifndef __structuredquery_h__
+#define __structuredquery_h__
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+/* Forward Declarations */
+
+#ifndef __IQueryParser_FWD_DEFINED__
+#define __IQueryParser_FWD_DEFINED__
+typedef interface IQueryParser IQueryParser;
+#endif /* __IQueryParser_FWD_DEFINED__ */
+
+
+#ifndef __IConditionFactory_FWD_DEFINED__
+#define __IConditionFactory_FWD_DEFINED__
+typedef interface IConditionFactory IConditionFactory;
+#endif /* __IConditionFactory_FWD_DEFINED__ */
+
+
+#ifndef __IQuerySolution_FWD_DEFINED__
+#define __IQuerySolution_FWD_DEFINED__
+typedef interface IQuerySolution IQuerySolution;
+#endif /* __IQuerySolution_FWD_DEFINED__ */
+
+
+#ifndef __ICondition_FWD_DEFINED__
+#define __ICondition_FWD_DEFINED__
+typedef interface ICondition ICondition;
+#endif /* __ICondition_FWD_DEFINED__ */
+
+
+#ifndef __IConditionGenerator_FWD_DEFINED__
+#define __IConditionGenerator_FWD_DEFINED__
+typedef interface IConditionGenerator IConditionGenerator;
+#endif /* __IConditionGenerator_FWD_DEFINED__ */
+
+
+#ifndef __IRichChunk_FWD_DEFINED__
+#define __IRichChunk_FWD_DEFINED__
+typedef interface IRichChunk IRichChunk;
+#endif /* __IRichChunk_FWD_DEFINED__ */
+
+
+#ifndef __IInterval_FWD_DEFINED__
+#define __IInterval_FWD_DEFINED__
+typedef interface IInterval IInterval;
+#endif /* __IInterval_FWD_DEFINED__ */
+
+
+#ifndef __IMetaData_FWD_DEFINED__
+#define __IMetaData_FWD_DEFINED__
+typedef interface IMetaData IMetaData;
+#endif /* __IMetaData_FWD_DEFINED__ */
+
+
+#ifndef __IEntity_FWD_DEFINED__
+#define __IEntity_FWD_DEFINED__
+typedef interface IEntity IEntity;
+#endif /* __IEntity_FWD_DEFINED__ */
+
+
+#ifndef __IRelationship_FWD_DEFINED__
+#define __IRelationship_FWD_DEFINED__
+typedef interface IRelationship IRelationship;
+#endif /* __IRelationship_FWD_DEFINED__ */
+
+
+#ifndef __INamedEntity_FWD_DEFINED__
+#define __INamedEntity_FWD_DEFINED__
+typedef interface INamedEntity INamedEntity;
+#endif /* __INamedEntity_FWD_DEFINED__ */
+
+
+#ifndef __ISchemaProvider_FWD_DEFINED__
+#define __ISchemaProvider_FWD_DEFINED__
+typedef interface ISchemaProvider ISchemaProvider;
+#endif /* __ISchemaProvider_FWD_DEFINED__ */
+
+
+#ifndef __ITokenCollection_FWD_DEFINED__
+#define __ITokenCollection_FWD_DEFINED__
+typedef interface ITokenCollection ITokenCollection;
+#endif /* __ITokenCollection_FWD_DEFINED__ */
+
+
+#ifndef __INamedEntityCollector_FWD_DEFINED__
+#define __INamedEntityCollector_FWD_DEFINED__
+typedef interface INamedEntityCollector INamedEntityCollector;
+#endif /* __INamedEntityCollector_FWD_DEFINED__ */
+
+
+#ifndef __ISchemaLocalizerSupport_FWD_DEFINED__
+#define __ISchemaLocalizerSupport_FWD_DEFINED__
+typedef interface ISchemaLocalizerSupport ISchemaLocalizerSupport;
+#endif /* __ISchemaLocalizerSupport_FWD_DEFINED__ */
+
+
+#ifndef __IQueryParserManager_FWD_DEFINED__
+#define __IQueryParserManager_FWD_DEFINED__
+typedef interface IQueryParserManager IQueryParserManager;
+#endif /* __IQueryParserManager_FWD_DEFINED__ */
+
+
+#ifndef __QueryParser_FWD_DEFINED__
+#define __QueryParser_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class QueryParser QueryParser;
+#else
+typedef struct QueryParser QueryParser;
+#endif /* __cplusplus */
+
+#endif /* __QueryParser_FWD_DEFINED__ */
+
+
+#ifndef __NegationCondition_FWD_DEFINED__
+#define __NegationCondition_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class NegationCondition NegationCondition;
+#else
+typedef struct NegationCondition NegationCondition;
+#endif /* __cplusplus */
+
+#endif /* __NegationCondition_FWD_DEFINED__ */
+
+
+#ifndef __CompoundCondition_FWD_DEFINED__
+#define __CompoundCondition_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class CompoundCondition CompoundCondition;
+#else
+typedef struct CompoundCondition CompoundCondition;
+#endif /* __cplusplus */
+
+#endif /* __CompoundCondition_FWD_DEFINED__ */
+
+
+#ifndef __LeafCondition_FWD_DEFINED__
+#define __LeafCondition_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class LeafCondition LeafCondition;
+#else
+typedef struct LeafCondition LeafCondition;
+#endif /* __cplusplus */
+
+#endif /* __LeafCondition_FWD_DEFINED__ */
+
+
+#ifndef __ConditionFactory_FWD_DEFINED__
+#define __ConditionFactory_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class ConditionFactory ConditionFactory;
+#else
+typedef struct ConditionFactory ConditionFactory;
+#endif /* __cplusplus */
+
+#endif /* __ConditionFactory_FWD_DEFINED__ */
+
+
+#ifndef __Interval_FWD_DEFINED__
+#define __Interval_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class Interval Interval;
+#else
+typedef struct Interval Interval;
+#endif /* __cplusplus */
+
+#endif /* __Interval_FWD_DEFINED__ */
+
+
+#ifndef __QueryParserManager_FWD_DEFINED__
+#define __QueryParserManager_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class QueryParserManager QueryParserManager;
+#else
+typedef struct QueryParserManager QueryParserManager;
+#endif /* __cplusplus */
+
+#endif /* __QueryParserManager_FWD_DEFINED__ */
+
+
+/* header files for imported files */
+#include "oaidl.h"
+#include "ocidl.h"
+#include "propidl.h"
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+
+/* interface __MIDL_itf_structuredquery_0000_0000 */
+/* [local] */
+
+
+
+
+
+
+
+
+
+
+
+typedef /* [v1_enum] */
+enum tagCONDITION_TYPE
+ { CT_AND_CONDITION = 0,
+ CT_OR_CONDITION = ( CT_AND_CONDITION + 1 ) ,
+ CT_NOT_CONDITION = ( CT_OR_CONDITION + 1 ) ,
+ CT_LEAF_CONDITION = ( CT_NOT_CONDITION + 1 )
+ } CONDITION_TYPE;
+
+typedef /* [v1_enum] */
+enum tagCONDITION_OPERATION
+ { COP_IMPLICIT = 0,
+ COP_EQUAL = ( COP_IMPLICIT + 1 ) ,
+ COP_NOTEQUAL = ( COP_EQUAL + 1 ) ,
+ COP_LESSTHAN = ( COP_NOTEQUAL + 1 ) ,
+ COP_GREATERTHAN = ( COP_LESSTHAN + 1 ) ,
+ COP_LESSTHANOREQUAL = ( COP_GREATERTHAN + 1 ) ,
+ COP_GREATERTHANOREQUAL = ( COP_LESSTHANOREQUAL + 1 ) ,
+ COP_VALUE_STARTSWITH = ( COP_GREATERTHANOREQUAL + 1 ) ,
+ COP_VALUE_ENDSWITH = ( COP_VALUE_STARTSWITH + 1 ) ,
+ COP_VALUE_CONTAINS = ( COP_VALUE_ENDSWITH + 1 ) ,
+ COP_VALUE_NOTCONTAINS = ( COP_VALUE_CONTAINS + 1 ) ,
+ COP_DOSWILDCARDS = ( COP_VALUE_NOTCONTAINS + 1 ) ,
+ COP_WORD_EQUAL = ( COP_DOSWILDCARDS + 1 ) ,
+ COP_WORD_STARTSWITH = ( COP_WORD_EQUAL + 1 ) ,
+ COP_APPLICATION_SPECIFIC = ( COP_WORD_STARTSWITH + 1 )
+ } CONDITION_OPERATION;
+
+typedef /* [v1_enum] */
+enum tagSTRUCTURED_QUERY_SINGLE_OPTION
+ { SQSO_SCHEMA = 0,
+ SQSO_LOCALE_WORD_BREAKING = ( SQSO_SCHEMA + 1 ) ,
+ SQSO_WORD_BREAKER = ( SQSO_LOCALE_WORD_BREAKING + 1 ) ,
+ SQSO_NATURAL_SYNTAX = ( SQSO_WORD_BREAKER + 1 ) ,
+ SQSO_AUTOMATIC_WILDCARD = ( SQSO_NATURAL_SYNTAX + 1 ) ,
+ SQSO_TRACE_LEVEL = ( SQSO_AUTOMATIC_WILDCARD + 1 ) ,
+ SQSO_LANGUAGE_KEYWORDS = ( SQSO_TRACE_LEVEL + 1 )
+ } STRUCTURED_QUERY_SINGLE_OPTION;
+
+typedef /* [v1_enum] */
+enum tagSTRUCTURED_QUERY_MULTIOPTION
+ { SQMO_VIRTUAL_PROPERTY = 0,
+ SQMO_DEFAULT_PROPERTY = ( SQMO_VIRTUAL_PROPERTY + 1 ) ,
+ SQMO_GENERATOR_FOR_TYPE = ( SQMO_DEFAULT_PROPERTY + 1 )
+ } STRUCTURED_QUERY_MULTIOPTION;
+
+typedef /* [v1_enum] */
+enum tagSTRUCTURED_QUERY_PARSE_ERROR
+ { SQPE_NONE = 0,
+ SQPE_EXTRA_OPENING_PARENTHESIS = ( SQPE_NONE + 1 ) ,
+ SQPE_EXTRA_CLOSING_PARENTHESIS = ( SQPE_EXTRA_OPENING_PARENTHESIS + 1 ) ,
+ SQPE_IGNORED_MODIFIER = ( SQPE_EXTRA_CLOSING_PARENTHESIS + 1 ) ,
+ SQPE_IGNORED_CONNECTOR = ( SQPE_IGNORED_MODIFIER + 1 ) ,
+ SQPE_IGNORED_KEYWORD = ( SQPE_IGNORED_CONNECTOR + 1 ) ,
+ SQPE_UNHANDLED = ( SQPE_IGNORED_KEYWORD + 1 )
+ } STRUCTURED_QUERY_PARSE_ERROR;
+
+/* [v1_enum] */
+enum tagSTRUCTURED_QUERY_RESOLVE_OPTION
+ { SQRO_DONT_RESOLVE_DATETIME = 0x1,
+ SQRO_ALWAYS_ONE_INTERVAL = 0x2,
+ SQRO_DONT_SIMPLIFY_CONDITION_TREES = 0x4,
+ SQRO_DONT_MAP_RELATIONS = 0x8,
+ SQRO_DONT_RESOLVE_RANGES = 0x10,
+ SQRO_DONT_REMOVE_UNRESTRICTED_KEYWORDS = 0x20,
+ SQRO_DONT_SPLIT_WORDS = 0x40,
+ SQRO_IGNORE_PHRASE_ORDER = 0x80
+ } ;
+typedef int STRUCTURED_QUERY_RESOLVE_OPTION;
+
+typedef /* [v1_enum] */
+enum tagINTERVAL_LIMIT_KIND
+ { ILK_EXPLICIT_INCLUDED = 0,
+ ILK_EXPLICIT_EXCLUDED = ( ILK_EXPLICIT_INCLUDED + 1 ) ,
+ ILK_NEGATIVE_INFINITY = ( ILK_EXPLICIT_EXCLUDED + 1 ) ,
+ ILK_POSITIVE_INFINITY = ( ILK_NEGATIVE_INFINITY + 1 )
+ } INTERVAL_LIMIT_KIND;
+
+typedef /* [v1_enum] */
+enum tagQUERY_PARSER_MANAGER_OPTION
+ { QPMO_SCHEMA_BINARY_NAME = 0,
+ QPMO_PRELOCALIZED_SCHEMA_BINARY_PATH = ( QPMO_SCHEMA_BINARY_NAME + 1 ) ,
+ QPMO_UNLOCALIZED_SCHEMA_BINARY_PATH = ( QPMO_PRELOCALIZED_SCHEMA_BINARY_PATH + 1 ) ,
+ QPMO_LOCALIZED_SCHEMA_BINARY_PATH = ( QPMO_UNLOCALIZED_SCHEMA_BINARY_PATH + 1 ) ,
+ QPMO_APPEND_LCID_TO_LOCALIZED_PATH = ( QPMO_LOCALIZED_SCHEMA_BINARY_PATH + 1 ) ,
+ QPMO_LOCALIZER_SUPPORT = ( QPMO_APPEND_LCID_TO_LOCALIZED_PATH + 1 )
+ } QUERY_PARSER_MANAGER_OPTION;
+
+
+
+extern RPC_IF_HANDLE __MIDL_itf_structuredquery_0000_0000_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_structuredquery_0000_0000_v0_0_s_ifspec;
+
+#ifndef __IQueryParser_INTERFACE_DEFINED__
+#define __IQueryParser_INTERFACE_DEFINED__
+
+/* interface IQueryParser */
+/* [unique][uuid][object] */
+
+
+EXTERN_C const IID IID_IQueryParser;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("2EBDEE67-3505-43f8-9946-EA44ABC8E5B0")
+ IQueryParser : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Parse(
+ /* [in] */ __RPC__in LPCWSTR pszInputString,
+ /* [in] */ __RPC__in_opt IEnumUnknown *pCustomProperties,
+ /* [retval][out] */ __RPC__deref_out_opt IQuerySolution **ppSolution) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE SetOption(
+ /* [in] */ STRUCTURED_QUERY_SINGLE_OPTION option,
+ /* [in] */ __RPC__in const PROPVARIANT *pOptionValue) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetOption(
+ /* [in] */ STRUCTURED_QUERY_SINGLE_OPTION option,
+ /* [retval][out] */ __RPC__out PROPVARIANT *pOptionValue) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE SetMultiOption(
+ /* [in] */ STRUCTURED_QUERY_MULTIOPTION option,
+ /* [in] */ __RPC__in LPCWSTR pszOptionKey,
+ /* [in] */ __RPC__in const PROPVARIANT *pOptionValue) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetSchemaProvider(
+ /* [retval][out] */ __RPC__deref_out_opt ISchemaProvider **ppSchemaProvider) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE RestateToString(
+ /* [in] */ __RPC__in_opt ICondition *pCondition,
+ /* [in] */ BOOL fUseEnglish,
+ /* [out] */ __RPC__deref_out_opt LPWSTR *ppszQueryString) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE ParsePropertyValue(
+ /* [in] */ __RPC__in LPCWSTR pszPropertyName,
+ /* [in] */ __RPC__in LPCWSTR pszInputString,
+ /* [retval][out] */ __RPC__deref_out_opt IQuerySolution **ppSolution) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE RestatePropertyValueToString(
+ /* [in] */ __RPC__in_opt ICondition *pCondition,
+ /* [in] */ BOOL fUseEnglish,
+ /* [out] */ __RPC__deref_out_opt LPWSTR *ppszPropertyName,
+ /* [out] */ __RPC__deref_out_opt LPWSTR *ppszQueryString) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IQueryParserVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IQueryParser * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IQueryParser * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IQueryParser * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Parse )(
+ IQueryParser * This,
+ /* [in] */ __RPC__in LPCWSTR pszInputString,
+ /* [in] */ __RPC__in_opt IEnumUnknown *pCustomProperties,
+ /* [retval][out] */ __RPC__deref_out_opt IQuerySolution **ppSolution);
+
+ HRESULT ( STDMETHODCALLTYPE *SetOption )(
+ IQueryParser * This,
+ /* [in] */ STRUCTURED_QUERY_SINGLE_OPTION option,
+ /* [in] */ __RPC__in const PROPVARIANT *pOptionValue);
+
+ HRESULT ( STDMETHODCALLTYPE *GetOption )(
+ IQueryParser * This,
+ /* [in] */ STRUCTURED_QUERY_SINGLE_OPTION option,
+ /* [retval][out] */ __RPC__out PROPVARIANT *pOptionValue);
+
+ HRESULT ( STDMETHODCALLTYPE *SetMultiOption )(
+ IQueryParser * This,
+ /* [in] */ STRUCTURED_QUERY_MULTIOPTION option,
+ /* [in] */ __RPC__in LPCWSTR pszOptionKey,
+ /* [in] */ __RPC__in const PROPVARIANT *pOptionValue);
+
+ HRESULT ( STDMETHODCALLTYPE *GetSchemaProvider )(
+ IQueryParser * This,
+ /* [retval][out] */ __RPC__deref_out_opt ISchemaProvider **ppSchemaProvider);
+
+ HRESULT ( STDMETHODCALLTYPE *RestateToString )(
+ IQueryParser * This,
+ /* [in] */ __RPC__in_opt ICondition *pCondition,
+ /* [in] */ BOOL fUseEnglish,
+ /* [out] */ __RPC__deref_out_opt LPWSTR *ppszQueryString);
+
+ HRESULT ( STDMETHODCALLTYPE *ParsePropertyValue )(
+ IQueryParser * This,
+ /* [in] */ __RPC__in LPCWSTR pszPropertyName,
+ /* [in] */ __RPC__in LPCWSTR pszInputString,
+ /* [retval][out] */ __RPC__deref_out_opt IQuerySolution **ppSolution);
+
+ HRESULT ( STDMETHODCALLTYPE *RestatePropertyValueToString )(
+ IQueryParser * This,
+ /* [in] */ __RPC__in_opt ICondition *pCondition,
+ /* [in] */ BOOL fUseEnglish,
+ /* [out] */ __RPC__deref_out_opt LPWSTR *ppszPropertyName,
+ /* [out] */ __RPC__deref_out_opt LPWSTR *ppszQueryString);
+
+ END_INTERFACE
+ } IQueryParserVtbl;
+
+ interface IQueryParser
+ {
+ CONST_VTBL struct IQueryParserVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IQueryParser_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IQueryParser_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IQueryParser_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IQueryParser_Parse(This,pszInputString,pCustomProperties,ppSolution) \
+ ( (This)->lpVtbl -> Parse(This,pszInputString,pCustomProperties,ppSolution) )
+
+#define IQueryParser_SetOption(This,option,pOptionValue) \
+ ( (This)->lpVtbl -> SetOption(This,option,pOptionValue) )
+
+#define IQueryParser_GetOption(This,option,pOptionValue) \
+ ( (This)->lpVtbl -> GetOption(This,option,pOptionValue) )
+
+#define IQueryParser_SetMultiOption(This,option,pszOptionKey,pOptionValue) \
+ ( (This)->lpVtbl -> SetMultiOption(This,option,pszOptionKey,pOptionValue) )
+
+#define IQueryParser_GetSchemaProvider(This,ppSchemaProvider) \
+ ( (This)->lpVtbl -> GetSchemaProvider(This,ppSchemaProvider) )
+
+#define IQueryParser_RestateToString(This,pCondition,fUseEnglish,ppszQueryString) \
+ ( (This)->lpVtbl -> RestateToString(This,pCondition,fUseEnglish,ppszQueryString) )
+
+#define IQueryParser_ParsePropertyValue(This,pszPropertyName,pszInputString,ppSolution) \
+ ( (This)->lpVtbl -> ParsePropertyValue(This,pszPropertyName,pszInputString,ppSolution) )
+
+#define IQueryParser_RestatePropertyValueToString(This,pCondition,fUseEnglish,ppszPropertyName,ppszQueryString) \
+ ( (This)->lpVtbl -> RestatePropertyValueToString(This,pCondition,fUseEnglish,ppszPropertyName,ppszQueryString) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IQueryParser_INTERFACE_DEFINED__ */
+
+
+#ifndef __IConditionFactory_INTERFACE_DEFINED__
+#define __IConditionFactory_INTERFACE_DEFINED__
+
+/* interface IConditionFactory */
+/* [unique][uuid][object] */
+
+
+EXTERN_C const IID IID_IConditionFactory;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("A5EFE073-B16F-474f-9F3E-9F8B497A3E08")
+ IConditionFactory : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE MakeNot(
+ /* [in] */ __RPC__in_opt ICondition *pSubCondition,
+ /* [in] */ BOOL simplify,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE MakeAndOr(
+ /* [in] */ CONDITION_TYPE nodeType,
+ /* [in] */ __RPC__in_opt IEnumUnknown *pSubConditions,
+ /* [in] */ BOOL simplify,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE MakeLeaf(
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszPropertyName,
+ /* [in] */ CONDITION_OPERATION op,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszValueType,
+ /* [in] */ __RPC__in const PROPVARIANT *pValue,
+ /* [in] */ __RPC__in_opt IRichChunk *pPropertyNameTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pOperationTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pValueTerm,
+ /* [in] */ BOOL expand,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE Resolve(
+ /* [in] */
+ __in ICondition *pConditionTree,
+ /* [in] */
+ __in STRUCTURED_QUERY_RESOLVE_OPTION sqro,
+ /* [ref][in] */
+ __in_opt const SYSTEMTIME *pstReferenceTime,
+ /* [retval][out] */
+ __out ICondition **ppResolvedConditionTree) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IConditionFactoryVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IConditionFactory * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IConditionFactory * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IConditionFactory * This);
+
+ HRESULT ( STDMETHODCALLTYPE *MakeNot )(
+ IConditionFactory * This,
+ /* [in] */ __RPC__in_opt ICondition *pSubCondition,
+ /* [in] */ BOOL simplify,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery);
+
+ HRESULT ( STDMETHODCALLTYPE *MakeAndOr )(
+ IConditionFactory * This,
+ /* [in] */ CONDITION_TYPE nodeType,
+ /* [in] */ __RPC__in_opt IEnumUnknown *pSubConditions,
+ /* [in] */ BOOL simplify,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery);
+
+ HRESULT ( STDMETHODCALLTYPE *MakeLeaf )(
+ IConditionFactory * This,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszPropertyName,
+ /* [in] */ CONDITION_OPERATION op,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszValueType,
+ /* [in] */ __RPC__in const PROPVARIANT *pValue,
+ /* [in] */ __RPC__in_opt IRichChunk *pPropertyNameTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pOperationTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pValueTerm,
+ /* [in] */ BOOL expand,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *Resolve )(
+ IConditionFactory * This,
+ /* [in] */
+ __in ICondition *pConditionTree,
+ /* [in] */
+ __in STRUCTURED_QUERY_RESOLVE_OPTION sqro,
+ /* [ref][in] */
+ __in_opt const SYSTEMTIME *pstReferenceTime,
+ /* [retval][out] */
+ __out ICondition **ppResolvedConditionTree);
+
+ END_INTERFACE
+ } IConditionFactoryVtbl;
+
+ interface IConditionFactory
+ {
+ CONST_VTBL struct IConditionFactoryVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IConditionFactory_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IConditionFactory_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IConditionFactory_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IConditionFactory_MakeNot(This,pSubCondition,simplify,ppResultQuery) \
+ ( (This)->lpVtbl -> MakeNot(This,pSubCondition,simplify,ppResultQuery) )
+
+#define IConditionFactory_MakeAndOr(This,nodeType,pSubConditions,simplify,ppResultQuery) \
+ ( (This)->lpVtbl -> MakeAndOr(This,nodeType,pSubConditions,simplify,ppResultQuery) )
+
+#define IConditionFactory_MakeLeaf(This,pszPropertyName,op,pszValueType,pValue,pPropertyNameTerm,pOperationTerm,pValueTerm,expand,ppResultQuery) \
+ ( (This)->lpVtbl -> MakeLeaf(This,pszPropertyName,op,pszValueType,pValue,pPropertyNameTerm,pOperationTerm,pValueTerm,expand,ppResultQuery) )
+
+#define IConditionFactory_Resolve(This,pConditionTree,sqro,pstReferenceTime,ppResolvedConditionTree) \
+ ( (This)->lpVtbl -> Resolve(This,pConditionTree,sqro,pstReferenceTime,ppResolvedConditionTree) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IConditionFactory_INTERFACE_DEFINED__ */
+
+
+#ifndef __IQuerySolution_INTERFACE_DEFINED__
+#define __IQuerySolution_INTERFACE_DEFINED__
+
+/* interface IQuerySolution */
+/* [unique][uuid][object] */
+
+
+EXTERN_C const IID IID_IQuerySolution;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("D6EBC66B-8921-4193-AFDD-A1789FB7FF57")
+ IQuerySolution : public IConditionFactory
+ {
+ public:
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetQuery(
+ /* [out] */
+ __out_opt ICondition **ppQueryNode,
+ /* [out] */
+ __out_opt IEntity **ppMainType) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetErrors(
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **ppParseErrors) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetLexicalData(
+ /* [out] */
+ __deref_opt_out LPWSTR *ppszInputString,
+ /* [out] */
+ __out_opt ITokenCollection **ppTokens,
+ /* [out] */
+ __out_opt LCID *pLocale,
+ /* [out] */
+ __out_opt IUnknown **ppWordBreaker) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IQuerySolutionVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IQuerySolution * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IQuerySolution * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IQuerySolution * This);
+
+ HRESULT ( STDMETHODCALLTYPE *MakeNot )(
+ IQuerySolution * This,
+ /* [in] */ __RPC__in_opt ICondition *pSubCondition,
+ /* [in] */ BOOL simplify,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery);
+
+ HRESULT ( STDMETHODCALLTYPE *MakeAndOr )(
+ IQuerySolution * This,
+ /* [in] */ CONDITION_TYPE nodeType,
+ /* [in] */ __RPC__in_opt IEnumUnknown *pSubConditions,
+ /* [in] */ BOOL simplify,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery);
+
+ HRESULT ( STDMETHODCALLTYPE *MakeLeaf )(
+ IQuerySolution * This,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszPropertyName,
+ /* [in] */ CONDITION_OPERATION op,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszValueType,
+ /* [in] */ __RPC__in const PROPVARIANT *pValue,
+ /* [in] */ __RPC__in_opt IRichChunk *pPropertyNameTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pOperationTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pValueTerm,
+ /* [in] */ BOOL expand,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppResultQuery);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *Resolve )(
+ IQuerySolution * This,
+ /* [in] */
+ __in ICondition *pConditionTree,
+ /* [in] */
+ __in STRUCTURED_QUERY_RESOLVE_OPTION sqro,
+ /* [ref][in] */
+ __in_opt const SYSTEMTIME *pstReferenceTime,
+ /* [retval][out] */
+ __out ICondition **ppResolvedConditionTree);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetQuery )(
+ IQuerySolution * This,
+ /* [out] */
+ __out_opt ICondition **ppQueryNode,
+ /* [out] */
+ __out_opt IEntity **ppMainType);
+
+ HRESULT ( STDMETHODCALLTYPE *GetErrors )(
+ IQuerySolution * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **ppParseErrors);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetLexicalData )(
+ IQuerySolution * This,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppszInputString,
+ /* [out] */
+ __out_opt ITokenCollection **ppTokens,
+ /* [out] */
+ __out_opt LCID *pLocale,
+ /* [out] */
+ __out_opt IUnknown **ppWordBreaker);
+
+ END_INTERFACE
+ } IQuerySolutionVtbl;
+
+ interface IQuerySolution
+ {
+ CONST_VTBL struct IQuerySolutionVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IQuerySolution_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IQuerySolution_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IQuerySolution_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IQuerySolution_MakeNot(This,pSubCondition,simplify,ppResultQuery) \
+ ( (This)->lpVtbl -> MakeNot(This,pSubCondition,simplify,ppResultQuery) )
+
+#define IQuerySolution_MakeAndOr(This,nodeType,pSubConditions,simplify,ppResultQuery) \
+ ( (This)->lpVtbl -> MakeAndOr(This,nodeType,pSubConditions,simplify,ppResultQuery) )
+
+#define IQuerySolution_MakeLeaf(This,pszPropertyName,op,pszValueType,pValue,pPropertyNameTerm,pOperationTerm,pValueTerm,expand,ppResultQuery) \
+ ( (This)->lpVtbl -> MakeLeaf(This,pszPropertyName,op,pszValueType,pValue,pPropertyNameTerm,pOperationTerm,pValueTerm,expand,ppResultQuery) )
+
+#define IQuerySolution_Resolve(This,pConditionTree,sqro,pstReferenceTime,ppResolvedConditionTree) \
+ ( (This)->lpVtbl -> Resolve(This,pConditionTree,sqro,pstReferenceTime,ppResolvedConditionTree) )
+
+
+#define IQuerySolution_GetQuery(This,ppQueryNode,ppMainType) \
+ ( (This)->lpVtbl -> GetQuery(This,ppQueryNode,ppMainType) )
+
+#define IQuerySolution_GetErrors(This,riid,ppParseErrors) \
+ ( (This)->lpVtbl -> GetErrors(This,riid,ppParseErrors) )
+
+#define IQuerySolution_GetLexicalData(This,ppszInputString,ppTokens,pLocale,ppWordBreaker) \
+ ( (This)->lpVtbl -> GetLexicalData(This,ppszInputString,ppTokens,pLocale,ppWordBreaker) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IQuerySolution_INTERFACE_DEFINED__ */
+
+
+#ifndef __ICondition_INTERFACE_DEFINED__
+#define __ICondition_INTERFACE_DEFINED__
+
+/* interface ICondition */
+/* [unique][uuid][object] */
+
+
+EXTERN_C const IID IID_ICondition;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("0FC988D4-C935-4b97-A973-46282EA175C8")
+ ICondition : public IPersistStream
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE GetConditionType(
+ /* [retval][out] */ __RPC__out CONDITION_TYPE *pNodeType) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetSubConditions(
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **ppv) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetComparisonInfo(
+ /* [out] */
+ __deref_opt_out LPWSTR *ppszPropertyName,
+ /* [out] */
+ __out_opt CONDITION_OPERATION *pOperation,
+ /* [out] */
+ __out_opt PROPVARIANT *pValue) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetValueType(
+ /* [retval][out] */ __RPC__deref_out_opt LPWSTR *ppszValueTypeName) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetValueNormalization(
+ /* [retval][out] */ __RPC__deref_out_opt LPWSTR *ppszNormalization) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetInputTerms(
+ /* [out] */
+ __out_opt IRichChunk **ppPropertyTerm,
+ /* [out] */
+ __out_opt IRichChunk **ppOperationTerm,
+ /* [out] */
+ __out_opt IRichChunk **ppValueTerm) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Clone(
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppc) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IConditionVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ ICondition * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ ICondition * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ ICondition * This);
+
+ HRESULT ( STDMETHODCALLTYPE *GetClassID )(
+ ICondition * This,
+ /* [out] */ __RPC__out CLSID *pClassID);
+
+ HRESULT ( STDMETHODCALLTYPE *IsDirty )(
+ ICondition * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Load )(
+ ICondition * This,
+ /* [unique][in] */ __RPC__in_opt IStream *pStm);
+
+ HRESULT ( STDMETHODCALLTYPE *Save )(
+ ICondition * This,
+ /* [unique][in] */ __RPC__in_opt IStream *pStm,
+ /* [in] */ BOOL fClearDirty);
+
+ HRESULT ( STDMETHODCALLTYPE *GetSizeMax )(
+ ICondition * This,
+ /* [out] */ __RPC__out ULARGE_INTEGER *pcbSize);
+
+ HRESULT ( STDMETHODCALLTYPE *GetConditionType )(
+ ICondition * This,
+ /* [retval][out] */ __RPC__out CONDITION_TYPE *pNodeType);
+
+ HRESULT ( STDMETHODCALLTYPE *GetSubConditions )(
+ ICondition * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **ppv);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetComparisonInfo )(
+ ICondition * This,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppszPropertyName,
+ /* [out] */
+ __out_opt CONDITION_OPERATION *pOperation,
+ /* [out] */
+ __out_opt PROPVARIANT *pValue);
+
+ HRESULT ( STDMETHODCALLTYPE *GetValueType )(
+ ICondition * This,
+ /* [retval][out] */ __RPC__deref_out_opt LPWSTR *ppszValueTypeName);
+
+ HRESULT ( STDMETHODCALLTYPE *GetValueNormalization )(
+ ICondition * This,
+ /* [retval][out] */ __RPC__deref_out_opt LPWSTR *ppszNormalization);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetInputTerms )(
+ ICondition * This,
+ /* [out] */
+ __out_opt IRichChunk **ppPropertyTerm,
+ /* [out] */
+ __out_opt IRichChunk **ppOperationTerm,
+ /* [out] */
+ __out_opt IRichChunk **ppValueTerm);
+
+ HRESULT ( STDMETHODCALLTYPE *Clone )(
+ ICondition * This,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppc);
+
+ END_INTERFACE
+ } IConditionVtbl;
+
+ interface ICondition
+ {
+ CONST_VTBL struct IConditionVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define ICondition_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define ICondition_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define ICondition_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define ICondition_GetClassID(This,pClassID) \
+ ( (This)->lpVtbl -> GetClassID(This,pClassID) )
+
+
+#define ICondition_IsDirty(This) \
+ ( (This)->lpVtbl -> IsDirty(This) )
+
+#define ICondition_Load(This,pStm) \
+ ( (This)->lpVtbl -> Load(This,pStm) )
+
+#define ICondition_Save(This,pStm,fClearDirty) \
+ ( (This)->lpVtbl -> Save(This,pStm,fClearDirty) )
+
+#define ICondition_GetSizeMax(This,pcbSize) \
+ ( (This)->lpVtbl -> GetSizeMax(This,pcbSize) )
+
+
+#define ICondition_GetConditionType(This,pNodeType) \
+ ( (This)->lpVtbl -> GetConditionType(This,pNodeType) )
+
+#define ICondition_GetSubConditions(This,riid,ppv) \
+ ( (This)->lpVtbl -> GetSubConditions(This,riid,ppv) )
+
+#define ICondition_GetComparisonInfo(This,ppszPropertyName,pOperation,pValue) \
+ ( (This)->lpVtbl -> GetComparisonInfo(This,ppszPropertyName,pOperation,pValue) )
+
+#define ICondition_GetValueType(This,ppszValueTypeName) \
+ ( (This)->lpVtbl -> GetValueType(This,ppszValueTypeName) )
+
+#define ICondition_GetValueNormalization(This,ppszNormalization) \
+ ( (This)->lpVtbl -> GetValueNormalization(This,ppszNormalization) )
+
+#define ICondition_GetInputTerms(This,ppPropertyTerm,ppOperationTerm,ppValueTerm) \
+ ( (This)->lpVtbl -> GetInputTerms(This,ppPropertyTerm,ppOperationTerm,ppValueTerm) )
+
+#define ICondition_Clone(This,ppc) \
+ ( (This)->lpVtbl -> Clone(This,ppc) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __ICondition_INTERFACE_DEFINED__ */
+
+
+#ifndef __IConditionGenerator_INTERFACE_DEFINED__
+#define __IConditionGenerator_INTERFACE_DEFINED__
+
+/* interface IConditionGenerator */
+/* [unique][uuid][object] */
+
+
+EXTERN_C const IID IID_IConditionGenerator;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("92D2CC58-4386-45a3-B98C-7E0CE64A4117")
+ IConditionGenerator : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Initialize(
+ /* [in] */ __RPC__in_opt ISchemaProvider *pSchemaProvider) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE RecognizeNamedEntities(
+ /* [in] */ __RPC__in LPCWSTR pszInputString,
+ /* [in] */ LCID lcid,
+ /* [in] */ __RPC__in_opt ITokenCollection *pTokenCollection,
+ /* [out][in] */ __RPC__inout_opt INamedEntityCollector *pNamedEntities) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GenerateForLeaf(
+ /* [in] */ __RPC__in_opt IConditionFactory *pConditionFactory,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszPropertyName,
+ /* [in] */ CONDITION_OPERATION op,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszValueType,
+ /* [in] */ __RPC__in LPCWSTR pszValue,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszValue2,
+ /* [in] */ __RPC__in_opt IRichChunk *pPropertyNameTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pOperationTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pValueTerm,
+ /* [in] */ BOOL automaticWildcard,
+ /* [out] */ __RPC__out BOOL *pNoStringQuery,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppQueryExpression) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE DefaultPhrase(
+ /* [unique][in] */ LPCWSTR pszValueType,
+ /* [in] */ const PROPVARIANT *ppropvar,
+ /* [in] */ BOOL fUseEnglish,
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszPhrase) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IConditionGeneratorVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IConditionGenerator * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IConditionGenerator * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IConditionGenerator * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Initialize )(
+ IConditionGenerator * This,
+ /* [in] */ __RPC__in_opt ISchemaProvider *pSchemaProvider);
+
+ HRESULT ( STDMETHODCALLTYPE *RecognizeNamedEntities )(
+ IConditionGenerator * This,
+ /* [in] */ __RPC__in LPCWSTR pszInputString,
+ /* [in] */ LCID lcid,
+ /* [in] */ __RPC__in_opt ITokenCollection *pTokenCollection,
+ /* [out][in] */ __RPC__inout_opt INamedEntityCollector *pNamedEntities);
+
+ HRESULT ( STDMETHODCALLTYPE *GenerateForLeaf )(
+ IConditionGenerator * This,
+ /* [in] */ __RPC__in_opt IConditionFactory *pConditionFactory,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszPropertyName,
+ /* [in] */ CONDITION_OPERATION op,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszValueType,
+ /* [in] */ __RPC__in LPCWSTR pszValue,
+ /* [unique][in] */ __RPC__in_opt LPCWSTR pszValue2,
+ /* [in] */ __RPC__in_opt IRichChunk *pPropertyNameTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pOperationTerm,
+ /* [in] */ __RPC__in_opt IRichChunk *pValueTerm,
+ /* [in] */ BOOL automaticWildcard,
+ /* [out] */ __RPC__out BOOL *pNoStringQuery,
+ /* [retval][out] */ __RPC__deref_out_opt ICondition **ppQueryExpression);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *DefaultPhrase )(
+ IConditionGenerator * This,
+ /* [unique][in] */ LPCWSTR pszValueType,
+ /* [in] */ const PROPVARIANT *ppropvar,
+ /* [in] */ BOOL fUseEnglish,
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszPhrase);
+
+ END_INTERFACE
+ } IConditionGeneratorVtbl;
+
+ interface IConditionGenerator
+ {
+ CONST_VTBL struct IConditionGeneratorVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IConditionGenerator_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IConditionGenerator_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IConditionGenerator_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IConditionGenerator_Initialize(This,pSchemaProvider) \
+ ( (This)->lpVtbl -> Initialize(This,pSchemaProvider) )
+
+#define IConditionGenerator_RecognizeNamedEntities(This,pszInputString,lcid,pTokenCollection,pNamedEntities) \
+ ( (This)->lpVtbl -> RecognizeNamedEntities(This,pszInputString,lcid,pTokenCollection,pNamedEntities) )
+
+#define IConditionGenerator_GenerateForLeaf(This,pConditionFactory,pszPropertyName,op,pszValueType,pszValue,pszValue2,pPropertyNameTerm,pOperationTerm,pValueTerm,automaticWildcard,pNoStringQuery,ppQueryExpression) \
+ ( (This)->lpVtbl -> GenerateForLeaf(This,pConditionFactory,pszPropertyName,op,pszValueType,pszValue,pszValue2,pPropertyNameTerm,pOperationTerm,pValueTerm,automaticWildcard,pNoStringQuery,ppQueryExpression) )
+
+#define IConditionGenerator_DefaultPhrase(This,pszValueType,ppropvar,fUseEnglish,ppszPhrase) \
+ ( (This)->lpVtbl -> DefaultPhrase(This,pszValueType,ppropvar,fUseEnglish,ppszPhrase) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IConditionGenerator_INTERFACE_DEFINED__ */
+
+
+#ifndef __IRichChunk_INTERFACE_DEFINED__
+#define __IRichChunk_INTERFACE_DEFINED__
+
+/* interface IRichChunk */
+/* [unique][uuid][object] */
+
+
+EXTERN_C const IID IID_IRichChunk;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("4FDEF69C-DBC9-454e-9910-B34F3C64B510")
+ IRichChunk : public IUnknown
+ {
+ public:
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetData(
+ /* [out] */
+ __out_opt ULONG *pFirstPos,
+ /* [out] */
+ __out_opt ULONG *pLength,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppsz,
+ /* [out] */
+ __out_opt PROPVARIANT *pValue) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IRichChunkVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IRichChunk * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IRichChunk * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IRichChunk * This);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetData )(
+ IRichChunk * This,
+ /* [out] */
+ __out_opt ULONG *pFirstPos,
+ /* [out] */
+ __out_opt ULONG *pLength,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppsz,
+ /* [out] */
+ __out_opt PROPVARIANT *pValue);
+
+ END_INTERFACE
+ } IRichChunkVtbl;
+
+ interface IRichChunk
+ {
+ CONST_VTBL struct IRichChunkVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IRichChunk_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IRichChunk_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IRichChunk_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IRichChunk_GetData(This,pFirstPos,pLength,ppsz,pValue) \
+ ( (This)->lpVtbl -> GetData(This,pFirstPos,pLength,ppsz,pValue) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IRichChunk_INTERFACE_DEFINED__ */
+
+
+#ifndef __IInterval_INTERFACE_DEFINED__
+#define __IInterval_INTERFACE_DEFINED__
+
+/* interface IInterval */
+/* [unique][uuid][object] */
+
+
+EXTERN_C const IID IID_IInterval;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("6BF0A714-3C18-430b-8B5D-83B1C234D3DB")
+ IInterval : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE GetLimits(
+ /* [out] */ __RPC__out INTERVAL_LIMIT_KIND *pilkLower,
+ /* [out] */ __RPC__out PROPVARIANT *ppropvarLower,
+ /* [out] */ __RPC__out INTERVAL_LIMIT_KIND *pilkUpper,
+ /* [out] */ __RPC__out PROPVARIANT *ppropvarUpper) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IIntervalVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IInterval * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IInterval * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IInterval * This);
+
+ HRESULT ( STDMETHODCALLTYPE *GetLimits )(
+ IInterval * This,
+ /* [out] */ __RPC__out INTERVAL_LIMIT_KIND *pilkLower,
+ /* [out] */ __RPC__out PROPVARIANT *ppropvarLower,
+ /* [out] */ __RPC__out INTERVAL_LIMIT_KIND *pilkUpper,
+ /* [out] */ __RPC__out PROPVARIANT *ppropvarUpper);
+
+ END_INTERFACE
+ } IIntervalVtbl;
+
+ interface IInterval
+ {
+ CONST_VTBL struct IIntervalVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IInterval_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IInterval_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IInterval_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IInterval_GetLimits(This,pilkLower,ppropvarLower,pilkUpper,ppropvarUpper) \
+ ( (This)->lpVtbl -> GetLimits(This,pilkLower,ppropvarLower,pilkUpper,ppropvarUpper) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IInterval_INTERFACE_DEFINED__ */
+
+
+#ifndef __IMetaData_INTERFACE_DEFINED__
+#define __IMetaData_INTERFACE_DEFINED__
+
+/* interface IMetaData */
+/* [unique][uuid][object][helpstring] */
+
+
+EXTERN_C const IID IID_IMetaData;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("780102B0-C43B-4876-BC7B-5E9BA5C88794")
+ IMetaData : public IUnknown
+ {
+ public:
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetData(
+ /* [out] */
+ __deref_opt_out LPWSTR *ppszKey,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppszValue) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IMetaDataVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IMetaData * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IMetaData * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IMetaData * This);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetData )(
+ IMetaData * This,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppszKey,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppszValue);
+
+ END_INTERFACE
+ } IMetaDataVtbl;
+
+ interface IMetaData
+ {
+ CONST_VTBL struct IMetaDataVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IMetaData_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IMetaData_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IMetaData_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IMetaData_GetData(This,ppszKey,ppszValue) \
+ ( (This)->lpVtbl -> GetData(This,ppszKey,ppszValue) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IMetaData_INTERFACE_DEFINED__ */
+
+
+/* interface __MIDL_itf_structuredquery_0000_0008 */
+/* [local] */
+
+
+
+
+extern RPC_IF_HANDLE __MIDL_itf_structuredquery_0000_0008_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_structuredquery_0000_0008_v0_0_s_ifspec;
+
+#ifndef __IEntity_INTERFACE_DEFINED__
+#define __IEntity_INTERFACE_DEFINED__
+
+/* interface IEntity */
+/* [unique][object][uuid][helpstring] */
+
+
+EXTERN_C const IID IID_IEntity;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("24264891-E80B-4fd3-B7CE-4FF2FAE8931F")
+ IEntity : public IUnknown
+ {
+ public:
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE Name(
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszName) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Base(
+ /* [retval][out] */ __RPC__deref_out_opt IEntity **pBaseEntity) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Relationships(
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pRelationships) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetRelationship(
+ /* [in] */ __RPC__in LPCWSTR pszRelationName,
+ /* [retval][out] */ __RPC__deref_out_opt IRelationship **pRelationship) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE MetaData(
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pMetaData) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE NamedEntities(
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pNamedEntities) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetNamedEntity(
+ /* [in] */ __RPC__in LPCWSTR pszValue,
+ /* [retval][out] */ __RPC__deref_out_opt INamedEntity **ppNamedEntity) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE DefaultPhrase(
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszPhrase) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IEntityVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IEntity * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IEntity * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IEntity * This);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *Name )(
+ IEntity * This,
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszName);
+
+ HRESULT ( STDMETHODCALLTYPE *Base )(
+ IEntity * This,
+ /* [retval][out] */ __RPC__deref_out_opt IEntity **pBaseEntity);
+
+ HRESULT ( STDMETHODCALLTYPE *Relationships )(
+ IEntity * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pRelationships);
+
+ HRESULT ( STDMETHODCALLTYPE *GetRelationship )(
+ IEntity * This,
+ /* [in] */ __RPC__in LPCWSTR pszRelationName,
+ /* [retval][out] */ __RPC__deref_out_opt IRelationship **pRelationship);
+
+ HRESULT ( STDMETHODCALLTYPE *MetaData )(
+ IEntity * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pMetaData);
+
+ HRESULT ( STDMETHODCALLTYPE *NamedEntities )(
+ IEntity * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pNamedEntities);
+
+ HRESULT ( STDMETHODCALLTYPE *GetNamedEntity )(
+ IEntity * This,
+ /* [in] */ __RPC__in LPCWSTR pszValue,
+ /* [retval][out] */ __RPC__deref_out_opt INamedEntity **ppNamedEntity);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *DefaultPhrase )(
+ IEntity * This,
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszPhrase);
+
+ END_INTERFACE
+ } IEntityVtbl;
+
+ interface IEntity
+ {
+ CONST_VTBL struct IEntityVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IEntity_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IEntity_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IEntity_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IEntity_Name(This,ppszName) \
+ ( (This)->lpVtbl -> Name(This,ppszName) )
+
+#define IEntity_Base(This,pBaseEntity) \
+ ( (This)->lpVtbl -> Base(This,pBaseEntity) )
+
+#define IEntity_Relationships(This,riid,pRelationships) \
+ ( (This)->lpVtbl -> Relationships(This,riid,pRelationships) )
+
+#define IEntity_GetRelationship(This,pszRelationName,pRelationship) \
+ ( (This)->lpVtbl -> GetRelationship(This,pszRelationName,pRelationship) )
+
+#define IEntity_MetaData(This,riid,pMetaData) \
+ ( (This)->lpVtbl -> MetaData(This,riid,pMetaData) )
+
+#define IEntity_NamedEntities(This,riid,pNamedEntities) \
+ ( (This)->lpVtbl -> NamedEntities(This,riid,pNamedEntities) )
+
+#define IEntity_GetNamedEntity(This,pszValue,ppNamedEntity) \
+ ( (This)->lpVtbl -> GetNamedEntity(This,pszValue,ppNamedEntity) )
+
+#define IEntity_DefaultPhrase(This,ppszPhrase) \
+ ( (This)->lpVtbl -> DefaultPhrase(This,ppszPhrase) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IEntity_INTERFACE_DEFINED__ */
+
+
+#ifndef __IRelationship_INTERFACE_DEFINED__
+#define __IRelationship_INTERFACE_DEFINED__
+
+/* interface IRelationship */
+/* [unique][object][uuid][helpstring] */
+
+
+EXTERN_C const IID IID_IRelationship;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("2769280B-5108-498c-9C7F-A51239B63147")
+ IRelationship : public IUnknown
+ {
+ public:
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE Name(
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszName) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE IsReal(
+ /* [retval][out] */ __RPC__out BOOL *pIsReal) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Destination(
+ /* [retval][out] */ __RPC__deref_out_opt IEntity **pDestinationEntity) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE MetaData(
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pMetaData) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE DefaultPhrase(
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszPhrase) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IRelationshipVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IRelationship * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IRelationship * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IRelationship * This);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *Name )(
+ IRelationship * This,
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszName);
+
+ HRESULT ( STDMETHODCALLTYPE *IsReal )(
+ IRelationship * This,
+ /* [retval][out] */ __RPC__out BOOL *pIsReal);
+
+ HRESULT ( STDMETHODCALLTYPE *Destination )(
+ IRelationship * This,
+ /* [retval][out] */ __RPC__deref_out_opt IEntity **pDestinationEntity);
+
+ HRESULT ( STDMETHODCALLTYPE *MetaData )(
+ IRelationship * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pMetaData);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *DefaultPhrase )(
+ IRelationship * This,
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszPhrase);
+
+ END_INTERFACE
+ } IRelationshipVtbl;
+
+ interface IRelationship
+ {
+ CONST_VTBL struct IRelationshipVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IRelationship_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IRelationship_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IRelationship_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IRelationship_Name(This,ppszName) \
+ ( (This)->lpVtbl -> Name(This,ppszName) )
+
+#define IRelationship_IsReal(This,pIsReal) \
+ ( (This)->lpVtbl -> IsReal(This,pIsReal) )
+
+#define IRelationship_Destination(This,pDestinationEntity) \
+ ( (This)->lpVtbl -> Destination(This,pDestinationEntity) )
+
+#define IRelationship_MetaData(This,riid,pMetaData) \
+ ( (This)->lpVtbl -> MetaData(This,riid,pMetaData) )
+
+#define IRelationship_DefaultPhrase(This,ppszPhrase) \
+ ( (This)->lpVtbl -> DefaultPhrase(This,ppszPhrase) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IRelationship_INTERFACE_DEFINED__ */
+
+
+#ifndef __INamedEntity_INTERFACE_DEFINED__
+#define __INamedEntity_INTERFACE_DEFINED__
+
+/* interface INamedEntity */
+/* [unique][uuid][object][helpstring] */
+
+
+EXTERN_C const IID IID_INamedEntity;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("ABDBD0B1-7D54-49fb-AB5C-BFF4130004CD")
+ INamedEntity : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE GetValue(
+ /* [retval][out] */ __RPC__deref_out_opt LPWSTR *ppszValue) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE DefaultPhrase(
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszPhrase) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INamedEntityVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INamedEntity * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INamedEntity * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INamedEntity * This);
+
+ HRESULT ( STDMETHODCALLTYPE *GetValue )(
+ INamedEntity * This,
+ /* [retval][out] */ __RPC__deref_out_opt LPWSTR *ppszValue);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *DefaultPhrase )(
+ INamedEntity * This,
+ /* [retval][out] */
+ __deref_opt_out LPWSTR *ppszPhrase);
+
+ END_INTERFACE
+ } INamedEntityVtbl;
+
+ interface INamedEntity
+ {
+ CONST_VTBL struct INamedEntityVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INamedEntity_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INamedEntity_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INamedEntity_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INamedEntity_GetValue(This,ppszValue) \
+ ( (This)->lpVtbl -> GetValue(This,ppszValue) )
+
+#define INamedEntity_DefaultPhrase(This,ppszPhrase) \
+ ( (This)->lpVtbl -> DefaultPhrase(This,ppszPhrase) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INamedEntity_INTERFACE_DEFINED__ */
+
+
+#ifndef __ISchemaProvider_INTERFACE_DEFINED__
+#define __ISchemaProvider_INTERFACE_DEFINED__
+
+/* interface ISchemaProvider */
+/* [unique][object][uuid][helpstring] */
+
+
+EXTERN_C const IID IID_ISchemaProvider;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("8CF89BCB-394C-49b2-AE28-A59DD4ED7F68")
+ ISchemaProvider : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Entities(
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pEntities) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE RootEntity(
+ /* [retval][out] */ __RPC__deref_out_opt IEntity **pRootEntity) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetEntity(
+ /* [in] */ __RPC__in LPCWSTR pszEntityName,
+ /* [retval][out] */ __RPC__deref_out_opt IEntity **pEntity) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE MetaData(
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pMetaData) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Localize(
+ /* [in] */ LCID lcid,
+ /* [in] */ __RPC__in_opt ISchemaLocalizerSupport *pSchemaLocalizerSupport) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE SaveBinary(
+ /* [in] */ __RPC__in LPCWSTR pszSchemaBinaryPath) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE LookupAuthoredNamedEntity(
+ /* [in] */ __RPC__in_opt IEntity *pEntity,
+ /* [in] */ __RPC__in LPCWSTR pszInputString,
+ /* [in] */ __RPC__in_opt ITokenCollection *pTokenCollection,
+ /* [in] */ ULONG cTokensBegin,
+ /* [out] */ __RPC__out ULONG *pcTokensLength,
+ /* [out] */ __RPC__deref_out_opt LPWSTR *ppszValue) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct ISchemaProviderVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ ISchemaProvider * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ ISchemaProvider * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ ISchemaProvider * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Entities )(
+ ISchemaProvider * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pEntities);
+
+ HRESULT ( STDMETHODCALLTYPE *RootEntity )(
+ ISchemaProvider * This,
+ /* [retval][out] */ __RPC__deref_out_opt IEntity **pRootEntity);
+
+ HRESULT ( STDMETHODCALLTYPE *GetEntity )(
+ ISchemaProvider * This,
+ /* [in] */ __RPC__in LPCWSTR pszEntityName,
+ /* [retval][out] */ __RPC__deref_out_opt IEntity **pEntity);
+
+ HRESULT ( STDMETHODCALLTYPE *MetaData )(
+ ISchemaProvider * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **pMetaData);
+
+ HRESULT ( STDMETHODCALLTYPE *Localize )(
+ ISchemaProvider * This,
+ /* [in] */ LCID lcid,
+ /* [in] */ __RPC__in_opt ISchemaLocalizerSupport *pSchemaLocalizerSupport);
+
+ HRESULT ( STDMETHODCALLTYPE *SaveBinary )(
+ ISchemaProvider * This,
+ /* [in] */ __RPC__in LPCWSTR pszSchemaBinaryPath);
+
+ HRESULT ( STDMETHODCALLTYPE *LookupAuthoredNamedEntity )(
+ ISchemaProvider * This,
+ /* [in] */ __RPC__in_opt IEntity *pEntity,
+ /* [in] */ __RPC__in LPCWSTR pszInputString,
+ /* [in] */ __RPC__in_opt ITokenCollection *pTokenCollection,
+ /* [in] */ ULONG cTokensBegin,
+ /* [out] */ __RPC__out ULONG *pcTokensLength,
+ /* [out] */ __RPC__deref_out_opt LPWSTR *ppszValue);
+
+ END_INTERFACE
+ } ISchemaProviderVtbl;
+
+ interface ISchemaProvider
+ {
+ CONST_VTBL struct ISchemaProviderVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define ISchemaProvider_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define ISchemaProvider_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define ISchemaProvider_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define ISchemaProvider_Entities(This,riid,pEntities) \
+ ( (This)->lpVtbl -> Entities(This,riid,pEntities) )
+
+#define ISchemaProvider_RootEntity(This,pRootEntity) \
+ ( (This)->lpVtbl -> RootEntity(This,pRootEntity) )
+
+#define ISchemaProvider_GetEntity(This,pszEntityName,pEntity) \
+ ( (This)->lpVtbl -> GetEntity(This,pszEntityName,pEntity) )
+
+#define ISchemaProvider_MetaData(This,riid,pMetaData) \
+ ( (This)->lpVtbl -> MetaData(This,riid,pMetaData) )
+
+#define ISchemaProvider_Localize(This,lcid,pSchemaLocalizerSupport) \
+ ( (This)->lpVtbl -> Localize(This,lcid,pSchemaLocalizerSupport) )
+
+#define ISchemaProvider_SaveBinary(This,pszSchemaBinaryPath) \
+ ( (This)->lpVtbl -> SaveBinary(This,pszSchemaBinaryPath) )
+
+#define ISchemaProvider_LookupAuthoredNamedEntity(This,pEntity,pszInputString,pTokenCollection,cTokensBegin,pcTokensLength,ppszValue) \
+ ( (This)->lpVtbl -> LookupAuthoredNamedEntity(This,pEntity,pszInputString,pTokenCollection,cTokensBegin,pcTokensLength,ppszValue) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __ISchemaProvider_INTERFACE_DEFINED__ */
+
+
+#ifndef __ITokenCollection_INTERFACE_DEFINED__
+#define __ITokenCollection_INTERFACE_DEFINED__
+
+/* interface ITokenCollection */
+/* [unique][object][uuid][helpstring] */
+
+
+EXTERN_C const IID IID_ITokenCollection;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("22D8B4F2-F577-4adb-A335-C2AE88416FAB")
+ ITokenCollection : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE NumberOfTokens(
+ __RPC__in ULONG *pCount) = 0;
+
+ virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetToken(
+ /* [in] */ ULONG i,
+ /* [out] */
+ __out_opt ULONG *pBegin,
+ /* [out] */
+ __out_opt ULONG *pLength,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppsz) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct ITokenCollectionVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ ITokenCollection * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ ITokenCollection * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ ITokenCollection * This);
+
+ HRESULT ( STDMETHODCALLTYPE *NumberOfTokens )(
+ ITokenCollection * This,
+ __RPC__in ULONG *pCount);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetToken )(
+ ITokenCollection * This,
+ /* [in] */ ULONG i,
+ /* [out] */
+ __out_opt ULONG *pBegin,
+ /* [out] */
+ __out_opt ULONG *pLength,
+ /* [out] */
+ __deref_opt_out LPWSTR *ppsz);
+
+ END_INTERFACE
+ } ITokenCollectionVtbl;
+
+ interface ITokenCollection
+ {
+ CONST_VTBL struct ITokenCollectionVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define ITokenCollection_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define ITokenCollection_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define ITokenCollection_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define ITokenCollection_NumberOfTokens(This,pCount) \
+ ( (This)->lpVtbl -> NumberOfTokens(This,pCount) )
+
+#define ITokenCollection_GetToken(This,i,pBegin,pLength,ppsz) \
+ ( (This)->lpVtbl -> GetToken(This,i,pBegin,pLength,ppsz) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __ITokenCollection_INTERFACE_DEFINED__ */
+
+
+/* interface __MIDL_itf_structuredquery_0000_0013 */
+/* [local] */
+
+typedef /* [public][public][v1_enum] */
+enum __MIDL___MIDL_itf_structuredquery_0000_0013_0001
+ { NEC_LOW = 0,
+ NEC_MEDIUM = ( NEC_LOW + 1 ) ,
+ NEC_HIGH = ( NEC_MEDIUM + 1 )
+ } NAMED_ENTITY_CERTAINTY;
+
+
+
+extern RPC_IF_HANDLE __MIDL_itf_structuredquery_0000_0013_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_structuredquery_0000_0013_v0_0_s_ifspec;
+
+#ifndef __INamedEntityCollector_INTERFACE_DEFINED__
+#define __INamedEntityCollector_INTERFACE_DEFINED__
+
+/* interface INamedEntityCollector */
+/* [unique][object][uuid][helpstring] */
+
+
+EXTERN_C const IID IID_INamedEntityCollector;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("AF2440F6-8AFC-47d0-9A7F-396A0ACFB43D")
+ INamedEntityCollector : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Add(
+ /* [in] */ ULONG beginSpan,
+ /* [in] */ ULONG endSpan,
+ /* [in] */ ULONG beginActual,
+ /* [in] */ ULONG endActual,
+ /* [in] */ __RPC__in_opt IEntity *pType,
+ /* [in] */ __RPC__in LPCWSTR pszValue,
+ /* [in] */ NAMED_ENTITY_CERTAINTY certainty) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INamedEntityCollectorVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INamedEntityCollector * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INamedEntityCollector * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INamedEntityCollector * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Add )(
+ INamedEntityCollector * This,
+ /* [in] */ ULONG beginSpan,
+ /* [in] */ ULONG endSpan,
+ /* [in] */ ULONG beginActual,
+ /* [in] */ ULONG endActual,
+ /* [in] */ __RPC__in_opt IEntity *pType,
+ /* [in] */ __RPC__in LPCWSTR pszValue,
+ /* [in] */ NAMED_ENTITY_CERTAINTY certainty);
+
+ END_INTERFACE
+ } INamedEntityCollectorVtbl;
+
+ interface INamedEntityCollector
+ {
+ CONST_VTBL struct INamedEntityCollectorVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INamedEntityCollector_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INamedEntityCollector_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INamedEntityCollector_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INamedEntityCollector_Add(This,beginSpan,endSpan,beginActual,endActual,pType,pszValue,certainty) \
+ ( (This)->lpVtbl -> Add(This,beginSpan,endSpan,beginActual,endActual,pType,pszValue,certainty) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INamedEntityCollector_INTERFACE_DEFINED__ */
+
+
+#ifndef __ISchemaLocalizerSupport_INTERFACE_DEFINED__
+#define __ISchemaLocalizerSupport_INTERFACE_DEFINED__
+
+/* interface ISchemaLocalizerSupport */
+/* [unique][object][uuid] */
+
+
+EXTERN_C const IID IID_ISchemaLocalizerSupport;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("CA3FDCA2-BFBE-4eed-90D7-0CAEF0A1BDA1")
+ ISchemaLocalizerSupport : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Localize(
+ /* [in] */ __RPC__in LPCWSTR pszGlobalString,
+ /* [retval][out] */ __RPC__deref_out_opt LPWSTR *ppszLocalString) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct ISchemaLocalizerSupportVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ ISchemaLocalizerSupport * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ ISchemaLocalizerSupport * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ ISchemaLocalizerSupport * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Localize )(
+ ISchemaLocalizerSupport * This,
+ /* [in] */ __RPC__in LPCWSTR pszGlobalString,
+ /* [retval][out] */ __RPC__deref_out_opt LPWSTR *ppszLocalString);
+
+ END_INTERFACE
+ } ISchemaLocalizerSupportVtbl;
+
+ interface ISchemaLocalizerSupport
+ {
+ CONST_VTBL struct ISchemaLocalizerSupportVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define ISchemaLocalizerSupport_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define ISchemaLocalizerSupport_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define ISchemaLocalizerSupport_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define ISchemaLocalizerSupport_Localize(This,pszGlobalString,ppszLocalString) \
+ ( (This)->lpVtbl -> Localize(This,pszGlobalString,ppszLocalString) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __ISchemaLocalizerSupport_INTERFACE_DEFINED__ */
+
+
+#ifndef __IQueryParserManager_INTERFACE_DEFINED__
+#define __IQueryParserManager_INTERFACE_DEFINED__
+
+/* interface IQueryParserManager */
+/* [unique][object][uuid] */
+
+
+EXTERN_C const IID IID_IQueryParserManager;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("A879E3C4-AF77-44fb-8F37-EBD1487CF920")
+ IQueryParserManager : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE CreateLoadedParser(
+ /* [in] */ __RPC__in LPCWSTR pszCatalog,
+ /* [in] */ LANGID langidForKeywords,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **ppQueryParser) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE InitializeOptions(
+ /* [in] */ BOOL fUnderstandNQS,
+ /* [in] */ BOOL fAutoWildCard,
+ /* [in] */ __RPC__in_opt IQueryParser *pQueryParser) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE SetOption(
+ /* [in] */ QUERY_PARSER_MANAGER_OPTION option,
+ /* [in] */ __RPC__in const PROPVARIANT *pOptionValue) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IQueryParserManagerVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IQueryParserManager * This,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IQueryParserManager * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IQueryParserManager * This);
+
+ HRESULT ( STDMETHODCALLTYPE *CreateLoadedParser )(
+ IQueryParserManager * This,
+ /* [in] */ __RPC__in LPCWSTR pszCatalog,
+ /* [in] */ LANGID langidForKeywords,
+ /* [in] */ __RPC__in REFIID riid,
+ /* [iid_is][retval][out] */ __RPC__deref_out_opt void **ppQueryParser);
+
+ HRESULT ( STDMETHODCALLTYPE *InitializeOptions )(
+ IQueryParserManager * This,
+ /* [in] */ BOOL fUnderstandNQS,
+ /* [in] */ BOOL fAutoWildCard,
+ /* [in] */ __RPC__in_opt IQueryParser *pQueryParser);
+
+ HRESULT ( STDMETHODCALLTYPE *SetOption )(
+ IQueryParserManager * This,
+ /* [in] */ QUERY_PARSER_MANAGER_OPTION option,
+ /* [in] */ __RPC__in const PROPVARIANT *pOptionValue);
+
+ END_INTERFACE
+ } IQueryParserManagerVtbl;
+
+ interface IQueryParserManager
+ {
+ CONST_VTBL struct IQueryParserManagerVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IQueryParserManager_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IQueryParserManager_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IQueryParserManager_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IQueryParserManager_CreateLoadedParser(This,pszCatalog,langidForKeywords,riid,ppQueryParser) \
+ ( (This)->lpVtbl -> CreateLoadedParser(This,pszCatalog,langidForKeywords,riid,ppQueryParser) )
+
+#define IQueryParserManager_InitializeOptions(This,fUnderstandNQS,fAutoWildCard,pQueryParser) \
+ ( (This)->lpVtbl -> InitializeOptions(This,fUnderstandNQS,fAutoWildCard,pQueryParser) )
+
+#define IQueryParserManager_SetOption(This,option,pOptionValue) \
+ ( (This)->lpVtbl -> SetOption(This,option,pOptionValue) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IQueryParserManager_INTERFACE_DEFINED__ */
+
+
+
+#ifndef __StructuredQuery1_LIBRARY_DEFINED__
+#define __StructuredQuery1_LIBRARY_DEFINED__
+
+/* library StructuredQuery1 */
+/* [version][uuid] */
+
+
+EXTERN_C const IID LIBID_StructuredQuery1;
+
+EXTERN_C const CLSID CLSID_QueryParser;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("B72F8FD8-0FAB-4dd9-BDBF-245A6CE1485B")
+QueryParser;
+#endif
+
+EXTERN_C const CLSID CLSID_NegationCondition;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("8DE9C74C-605A-4acd-BEE3-2B222AA2D23D")
+NegationCondition;
+#endif
+
+EXTERN_C const CLSID CLSID_CompoundCondition;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("116F8D13-101E-4fa5-84D4-FF8279381935")
+CompoundCondition;
+#endif
+
+EXTERN_C const CLSID CLSID_LeafCondition;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("52F15C89-5A17-48e1-BBCD-46A3F89C7CC2")
+LeafCondition;
+#endif
+
+EXTERN_C const CLSID CLSID_ConditionFactory;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("E03E85B0-7BE3-4000-BA98-6C13DE9FA486")
+ConditionFactory;
+#endif
+
+EXTERN_C const CLSID CLSID_Interval;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("D957171F-4BF9-4de2-BCD5-C70A7CA55836")
+Interval;
+#endif
+
+EXTERN_C const CLSID CLSID_QueryParserManager;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("5088B39A-29B4-4d9d-8245-4EE289222F66")
+QueryParserManager;
+#endif
+#endif /* __StructuredQuery1_LIBRARY_DEFINED__ */
+
+/* Additional Prototypes for ALL interfaces */
+
+unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
+unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
+unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
+void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
+
+unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
+unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
+unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
+void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
+
+/* end of Additional Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+
+