Spaces:
Runtime error
Runtime error
| /* 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( ) | |
| /* verify that the <rpcndr.h> version is high enough to compile this file*/ | |
| /* verify that the <rpcsal.h> version is high enough to compile this file*/ | |
| /* Forward Declarations */ | |
| typedef interface IQueryParser IQueryParser; | |
| typedef interface IConditionFactory IConditionFactory; | |
| typedef interface IQuerySolution IQuerySolution; | |
| typedef interface ICondition ICondition; | |
| typedef interface IConditionGenerator IConditionGenerator; | |
| typedef interface IRichChunk IRichChunk; | |
| typedef interface IInterval IInterval; | |
| typedef interface IMetaData IMetaData; | |
| typedef interface IEntity IEntity; | |
| typedef interface IRelationship IRelationship; | |
| typedef interface INamedEntity INamedEntity; | |
| typedef interface ISchemaProvider ISchemaProvider; | |
| typedef interface ITokenCollection ITokenCollection; | |
| typedef interface INamedEntityCollector INamedEntityCollector; | |
| typedef interface ISchemaLocalizerSupport ISchemaLocalizerSupport; | |
| typedef interface IQueryParserManager IQueryParserManager; | |
| typedef class QueryParser QueryParser; | |
| typedef struct QueryParser QueryParser; | |
| typedef class NegationCondition NegationCondition; | |
| typedef struct NegationCondition NegationCondition; | |
| typedef class CompoundCondition CompoundCondition; | |
| typedef struct CompoundCondition CompoundCondition; | |
| typedef class LeafCondition LeafCondition; | |
| typedef struct LeafCondition LeafCondition; | |
| typedef class ConditionFactory ConditionFactory; | |
| typedef struct ConditionFactory ConditionFactory; | |
| typedef class Interval Interval; | |
| typedef struct Interval Interval; | |
| typedef class QueryParserManager QueryParserManager; | |
| typedef struct QueryParserManager QueryParserManager; | |
| /* header files for imported files */ | |
| extern "C"{ | |
| /* 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; | |
| /* interface IQueryParser */ | |
| /* [unique][uuid][object] */ | |
| EXTERN_C const IID IID_IQueryParser; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface IConditionFactory */ | |
| /* [unique][uuid][object] */ | |
| EXTERN_C const IID IID_IConditionFactory; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface IQuerySolution */ | |
| /* [unique][uuid][object] */ | |
| EXTERN_C const IID IID_IQuerySolution; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface ICondition */ | |
| /* [unique][uuid][object] */ | |
| EXTERN_C const IID IID_ICondition; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface IConditionGenerator */ | |
| /* [unique][uuid][object] */ | |
| EXTERN_C const IID IID_IConditionGenerator; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface IRichChunk */ | |
| /* [unique][uuid][object] */ | |
| EXTERN_C const IID IID_IRichChunk; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface IInterval */ | |
| /* [unique][uuid][object] */ | |
| EXTERN_C const IID IID_IInterval; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface IMetaData */ | |
| /* [unique][uuid][object][helpstring] */ | |
| EXTERN_C const IID IID_IMetaData; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* 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; | |
| /* interface IEntity */ | |
| /* [unique][object][uuid][helpstring] */ | |
| EXTERN_C const IID IID_IEntity; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface IRelationship */ | |
| /* [unique][object][uuid][helpstring] */ | |
| EXTERN_C const IID IID_IRelationship; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface INamedEntity */ | |
| /* [unique][uuid][object][helpstring] */ | |
| EXTERN_C const IID IID_INamedEntity; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface ISchemaProvider */ | |
| /* [unique][object][uuid][helpstring] */ | |
| EXTERN_C const IID IID_ISchemaProvider; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface ITokenCollection */ | |
| /* [unique][object][uuid][helpstring] */ | |
| EXTERN_C const IID IID_ITokenCollection; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* 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; | |
| /* interface INamedEntityCollector */ | |
| /* [unique][object][uuid][helpstring] */ | |
| EXTERN_C const IID IID_INamedEntityCollector; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface ISchemaLocalizerSupport */ | |
| /* [unique][object][uuid] */ | |
| EXTERN_C const IID IID_ISchemaLocalizerSupport; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* interface IQueryParserManager */ | |
| /* [unique][object][uuid] */ | |
| EXTERN_C const IID IID_IQueryParserManager; | |
| 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; | |
| }; | |
| 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; | |
| }; | |
| /* library StructuredQuery1 */ | |
| /* [version][uuid] */ | |
| EXTERN_C const IID LIBID_StructuredQuery1; | |
| EXTERN_C const CLSID CLSID_QueryParser; | |
| class DECLSPEC_UUID("B72F8FD8-0FAB-4dd9-BDBF-245A6CE1485B") | |
| QueryParser; | |
| EXTERN_C const CLSID CLSID_NegationCondition; | |
| class DECLSPEC_UUID("8DE9C74C-605A-4acd-BEE3-2B222AA2D23D") | |
| NegationCondition; | |
| EXTERN_C const CLSID CLSID_CompoundCondition; | |
| class DECLSPEC_UUID("116F8D13-101E-4fa5-84D4-FF8279381935") | |
| CompoundCondition; | |
| EXTERN_C const CLSID CLSID_LeafCondition; | |
| class DECLSPEC_UUID("52F15C89-5A17-48e1-BBCD-46A3F89C7CC2") | |
| LeafCondition; | |
| EXTERN_C const CLSID CLSID_ConditionFactory; | |
| class DECLSPEC_UUID("E03E85B0-7BE3-4000-BA98-6C13DE9FA486") | |
| ConditionFactory; | |
| EXTERN_C const CLSID CLSID_Interval; | |
| class DECLSPEC_UUID("D957171F-4BF9-4de2-BCD5-C70A7CA55836") | |
| Interval; | |
| EXTERN_C const CLSID CLSID_QueryParserManager; | |
| class DECLSPEC_UUID("5088B39A-29B4-4d9d-8245-4EE289222F66") | |
| QueryParserManager; | |
| /* 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 */ | |
| } | |