Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1781 lines
46 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for query.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __query_h__
  27. #define __query_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISearchQueryHits_FWD_DEFINED__
  33. #define __ISearchQueryHits_FWD_DEFINED__
  34. typedef interface ISearchQueryHits ISearchQueryHits;
  35. #endif /* __ISearchQueryHits_FWD_DEFINED__ */
  36. #ifndef __IPhraseSink_FWD_DEFINED__
  37. #define __IPhraseSink_FWD_DEFINED__
  38. typedef interface IPhraseSink IPhraseSink;
  39. #endif /* __IPhraseSink_FWD_DEFINED__ */
  40. #ifndef __IWordSink_FWD_DEFINED__
  41. #define __IWordSink_FWD_DEFINED__
  42. typedef interface IWordSink IWordSink;
  43. #endif /* __IWordSink_FWD_DEFINED__ */
  44. #ifndef __IWordBreaker_FWD_DEFINED__
  45. #define __IWordBreaker_FWD_DEFINED__
  46. typedef interface IWordBreaker IWordBreaker;
  47. #endif /* __IWordBreaker_FWD_DEFINED__ */
  48. #ifndef __IStemSink_FWD_DEFINED__
  49. #define __IStemSink_FWD_DEFINED__
  50. typedef interface IStemSink IStemSink;
  51. #endif /* __IStemSink_FWD_DEFINED__ */
  52. #ifndef __IStemmer_FWD_DEFINED__
  53. #define __IStemmer_FWD_DEFINED__
  54. typedef interface IStemmer IStemmer;
  55. #endif /* __IStemmer_FWD_DEFINED__ */
  56. #ifndef __IRowsetQueryStatus_FWD_DEFINED__
  57. #define __IRowsetQueryStatus_FWD_DEFINED__
  58. typedef interface IRowsetQueryStatus IRowsetQueryStatus;
  59. #endif /* __IRowsetQueryStatus_FWD_DEFINED__ */
  60. #ifndef __IColumnMapper_FWD_DEFINED__
  61. #define __IColumnMapper_FWD_DEFINED__
  62. typedef interface IColumnMapper IColumnMapper;
  63. #endif /* __IColumnMapper_FWD_DEFINED__ */
  64. #ifndef __IColumnMapperCreator_FWD_DEFINED__
  65. #define __IColumnMapperCreator_FWD_DEFINED__
  66. typedef interface IColumnMapperCreator IColumnMapperCreator;
  67. #endif /* __IColumnMapperCreator_FWD_DEFINED__ */
  68. /* header files for imported files */
  69. #include "oaidl.h"
  70. #include "filter.h"
  71. #ifdef __cplusplus
  72. extern "C"{
  73. #endif
  74. void * __RPC_USER MIDL_user_allocate(size_t);
  75. void __RPC_USER MIDL_user_free( void * );
  76. #ifndef __IQueryStructures_INTERFACE_DEFINED__
  77. #define __IQueryStructures_INTERFACE_DEFINED__
  78. /* interface IQueryStructures */
  79. /* [auto_handle][unique][uuid] */
  80. #define DBQUERYGUID { 0x49691C90, \
  81. 0x7E17, 0x101A, \
  82. 0xA9, 0x1C, 0x08, 0x00, 0x2B, \
  83. 0x2E, 0xCD, 0xA9 }
  84. #define DISPID_QUERY_RANKVECTOR ( 2 )
  85. #define DISPID_QUERY_RANK ( 3 )
  86. #define DISPID_QUERY_HITCOUNT ( 4 )
  87. #define DISPID_QUERY_WORKID ( 5 )
  88. #define DISPID_QUERY_ALL ( 6 )
  89. #define DISPID_QUERY_UNFILTERED ( 7 )
  90. #define DISPID_QUERY_REVNAME ( 8 )
  91. #define DISPID_QUERY_VIRTUALPATH ( 9 )
  92. #define DISPID_QUERY_LASTSEENTIME ( 10 )
  93. #define CQUERYDISPIDS ( 11 )
  94. #define PSGUID_QUERY_METADATA { 0x624C9360, \
  95. 0x93D0, 0x11CF, \
  96. 0xA7, 0x87, 0x00, 0x00, 0x4C, \
  97. 0x75, 0x27, 0x52 }
  98. #define DISPID_QUERY_METADATA_VROOTUSED ( 2 )
  99. #define DISPID_QUERY_METADATA_VROOTAUTOMATIC ( 3 )
  100. #define DISPID_QUERY_METADATA_VROOTMANUAL ( 4 )
  101. #define DISPID_QUERY_METADATA_PROPGUID ( 5 )
  102. #define DISPID_QUERY_METADATA_PROPDISPID ( 6 )
  103. #define DISPID_QUERY_METADATA_PROPNAME ( 7 )
  104. #define DISPID_QUERY_METADATA_STORELEVEL ( 8 )
  105. #define DISPID_QUERY_METADATA_PROPMODIFIABLE ( 9 )
  106. #define CQUERYMETADISPIDS ( 10 )
  107. #define DBBMKGUID { 0xC8B52232L, \
  108. 0x5CF3, 0x11CE, \
  109. {0xAD, 0xE5, 0x00, 0xAA, 0x00, \
  110. 0x44, 0x77, 0x3D } }
  111. #define PROPID_DBBMK_BOOKMARK ( 2 )
  112. #define PROPID_DBBMK_CHAPTER ( 3 )
  113. #define CDBBMKDISPIDS ( 8 )
  114. #define DBSELFGUID {0xc8b52231,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}
  115. #define PROPID_DBSELF_SELF ( 2 )
  116. #define CDBSELFDISPIDS ( 8 )
  117. #define CDBCOLDISPIDS ( 28 )
  118. #define CQUERYPROPERTY ( 64 )
  119. #define PSGUID_CHARACTERIZATION { 0x560c36c0, \
  120. 0x503a, 0x11cf, \
  121. 0xba, 0xa1, 0x00, 0x00, \
  122. 0x4c, 0x75, 0x2a, 0x9a }
  123. #define QUERY_VALIDBITS ( 3 )
  124. #define RTNone ( 0 )
  125. #define RTAnd ( 1 )
  126. #define RTOr ( 2 )
  127. #define RTNot ( 3 )
  128. #define RTContent ( 4 )
  129. #define RTProperty ( 5 )
  130. #define RTProximity ( 6 )
  131. #define RTVector ( 7 )
  132. #define RTNatLanguage ( 8 )
  133. typedef struct tagRESTRICTION RESTRICTION;
  134. typedef struct tagNOTRESTRICTION
  135. {
  136. RESTRICTION *pRes;
  137. } NOTRESTRICTION;
  138. typedef struct tagNODERESTRICTION
  139. {
  140. ULONG cRes;
  141. /* [size_is] */ RESTRICTION **paRes;
  142. ULONG reserved;
  143. } NODERESTRICTION;
  144. #define VECTOR_RANK_MIN ( 0 )
  145. #define VECTOR_RANK_MAX ( 1 )
  146. #define VECTOR_RANK_INNER ( 2 )
  147. #define VECTOR_RANK_DICE ( 3 )
  148. #define VECTOR_RANK_JACCARD ( 4 )
  149. typedef struct tagVECTORRESTRICTION
  150. {
  151. NODERESTRICTION Node;
  152. ULONG RankMethod;
  153. } VECTORRESTRICTION;
  154. #define GENERATE_METHOD_EXACT ( 0 )
  155. #define GENERATE_METHOD_PREFIXMATCH ( 1 )
  156. #define GENERATE_METHOD_STEMMED ( 2 )
  157. typedef struct tagCONTENTRESTRICTION
  158. {
  159. FULLPROPSPEC prop;
  160. /* [string] */ WCHAR *pwcsPhrase;
  161. LCID lcid;
  162. ULONG ulGenerateMethod;
  163. } CONTENTRESTRICTION;
  164. typedef struct tagNATLANGUAGERESTRICTION
  165. {
  166. FULLPROPSPEC prop;
  167. /* [string] */ WCHAR *pwcsPhrase;
  168. LCID lcid;
  169. } NATLANGUAGERESTRICTION;
  170. #define PRLT ( 0 )
  171. #define PRLE ( 1 )
  172. #define PRGT ( 2 )
  173. #define PRGE ( 3 )
  174. #define PREQ ( 4 )
  175. #define PRNE ( 5 )
  176. #define PRRE ( 6 )
  177. #define PRAllBits ( 7 )
  178. #define PRSomeBits ( 8 )
  179. #define PRAll ( 0x100 )
  180. #define PRAny ( 0x200 )
  181. typedef struct tagPROPERTYRESTRICTION
  182. {
  183. ULONG rel;
  184. FULLPROPSPEC prop;
  185. PROPVARIANT prval;
  186. } PROPERTYRESTRICTION;
  187. struct tagRESTRICTION
  188. {
  189. ULONG rt;
  190. ULONG weight;
  191. /* [switch_is][switch_type] */ union _URes
  192. {
  193. /* [case()] */ NODERESTRICTION ar;
  194. /* [case()] */ NODERESTRICTION or;
  195. /* [case()] */ NODERESTRICTION pxr;
  196. /* [case()] */ VECTORRESTRICTION vr;
  197. /* [case()] */ NOTRESTRICTION nr;
  198. /* [case()] */ CONTENTRESTRICTION cr;
  199. /* [case()] */ NATLANGUAGERESTRICTION nlr;
  200. /* [case()] */ PROPERTYRESTRICTION pr;
  201. /* [default] */ /* Empty union arm */
  202. } res;
  203. } ;
  204. typedef struct tagCOLUMNSET
  205. {
  206. ULONG cCol;
  207. /* [size_is] */ FULLPROPSPEC *aCol;
  208. } COLUMNSET;
  209. #define QUERY_SORTASCEND ( 0 )
  210. #define QUERY_SORTDESCEND ( 1 )
  211. #define QUERY_SORTXASCEND ( 2 )
  212. #define QUERY_SORTXDESCEND ( 3 )
  213. #define QUERY_SORTDEFAULT ( 4 )
  214. typedef struct tagSORTKEY
  215. {
  216. FULLPROPSPEC propColumn;
  217. ULONG dwOrder;
  218. LCID locale;
  219. } SORTKEY;
  220. typedef struct tagSORTSET
  221. {
  222. ULONG cCol;
  223. /* [size_is] */ SORTKEY *aCol;
  224. } SORTSET;
  225. #define CATEGORIZE_UNIQUE ( 0 )
  226. #define CATEGORIZE_CLUSTER ( 1 )
  227. #define CATEGORIZE_BUCKETS ( 2 )
  228. #define BUCKET_LINEAR ( 0 )
  229. #define BUCKET_EXPONENTIAL ( 1 )
  230. typedef struct tagBUCKETCATEGORIZE
  231. {
  232. ULONG cBuckets;
  233. ULONG Distribution;
  234. } BUCKETCATEGORIZE;
  235. #define CATEGORIZE_RANGE ( 3 )
  236. typedef struct tagRANGECATEGORIZE
  237. {
  238. ULONG cRange;
  239. /* [size_is] */ PROPVARIANT *aRangeBegin;
  240. } RANGECATEGORIZE;
  241. typedef struct tagCATEGORIZATION
  242. {
  243. ULONG ulCatType;
  244. /* [switch_is][switch_type] */ union
  245. {
  246. /* [case()] */ ULONG cClusters;
  247. /* [case()] */ BUCKETCATEGORIZE bucket;
  248. /* [case()] */ RANGECATEGORIZE range;
  249. /* [case()] */ /* Empty union arm */
  250. } ;
  251. COLUMNSET csColumns;
  252. } CATEGORIZATION;
  253. typedef struct tagCATEGORIZATIONSET
  254. {
  255. ULONG cCat;
  256. /* [size_is] */ CATEGORIZATION *aCat;
  257. } CATEGORIZATIONSET;
  258. typedef unsigned long OCCURRENCE;
  259. #define OCC_INVALID ( 0xffffffff )
  260. #define MAX_QUERY_RANK ( 1000 )
  261. extern RPC_IF_HANDLE IQueryStructures_v0_0_c_ifspec;
  262. extern RPC_IF_HANDLE IQueryStructures_v0_0_s_ifspec;
  263. #endif /* __IQueryStructures_INTERFACE_DEFINED__ */
  264. #ifndef __ISearchQueryHits_INTERFACE_DEFINED__
  265. #define __ISearchQueryHits_INTERFACE_DEFINED__
  266. /* interface ISearchQueryHits */
  267. /* [unique][uuid][object][local] */
  268. EXTERN_C const IID IID_ISearchQueryHits;
  269. #if defined(__cplusplus) && !defined(CINTERFACE)
  270. MIDL_INTERFACE("ed8ce7e0-106c-11ce-84e2-00aa004b9986")
  271. ISearchQueryHits : public IUnknown
  272. {
  273. public:
  274. virtual SCODE STDMETHODCALLTYPE Init(
  275. /* [in] */ IFilter *pflt,
  276. /* [in] */ ULONG ulFlags) = 0;
  277. virtual SCODE STDMETHODCALLTYPE NextHitMoniker(
  278. /* [out][in] */ ULONG *pcMnk,
  279. /* [size_is][out] */ IMoniker ***papMnk) = 0;
  280. virtual SCODE STDMETHODCALLTYPE NextHitOffset(
  281. /* [out][in] */ ULONG *pcRegion,
  282. /* [size_is][out] */ FILTERREGION **paRegion) = 0;
  283. };
  284. #else /* C style interface */
  285. typedef struct ISearchQueryHitsVtbl
  286. {
  287. BEGIN_INTERFACE
  288. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  289. ISearchQueryHits * This,
  290. /* [in] */ REFIID riid,
  291. /* [iid_is][out] */ void **ppvObject);
  292. ULONG ( STDMETHODCALLTYPE *AddRef )(
  293. ISearchQueryHits * This);
  294. ULONG ( STDMETHODCALLTYPE *Release )(
  295. ISearchQueryHits * This);
  296. SCODE ( STDMETHODCALLTYPE *Init )(
  297. ISearchQueryHits * This,
  298. /* [in] */ IFilter *pflt,
  299. /* [in] */ ULONG ulFlags);
  300. SCODE ( STDMETHODCALLTYPE *NextHitMoniker )(
  301. ISearchQueryHits * This,
  302. /* [out][in] */ ULONG *pcMnk,
  303. /* [size_is][out] */ IMoniker ***papMnk);
  304. SCODE ( STDMETHODCALLTYPE *NextHitOffset )(
  305. ISearchQueryHits * This,
  306. /* [out][in] */ ULONG *pcRegion,
  307. /* [size_is][out] */ FILTERREGION **paRegion);
  308. END_INTERFACE
  309. } ISearchQueryHitsVtbl;
  310. interface ISearchQueryHits
  311. {
  312. CONST_VTBL struct ISearchQueryHitsVtbl *lpVtbl;
  313. };
  314. #ifdef COBJMACROS
  315. #define ISearchQueryHits_QueryInterface(This,riid,ppvObject) \
  316. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  317. #define ISearchQueryHits_AddRef(This) \
  318. (This)->lpVtbl -> AddRef(This)
  319. #define ISearchQueryHits_Release(This) \
  320. (This)->lpVtbl -> Release(This)
  321. #define ISearchQueryHits_Init(This,pflt,ulFlags) \
  322. (This)->lpVtbl -> Init(This,pflt,ulFlags)
  323. #define ISearchQueryHits_NextHitMoniker(This,pcMnk,papMnk) \
  324. (This)->lpVtbl -> NextHitMoniker(This,pcMnk,papMnk)
  325. #define ISearchQueryHits_NextHitOffset(This,pcRegion,paRegion) \
  326. (This)->lpVtbl -> NextHitOffset(This,pcRegion,paRegion)
  327. #endif /* COBJMACROS */
  328. #endif /* C style interface */
  329. SCODE STDMETHODCALLTYPE ISearchQueryHits_Init_Proxy(
  330. ISearchQueryHits * This,
  331. /* [in] */ IFilter *pflt,
  332. /* [in] */ ULONG ulFlags);
  333. void __RPC_STUB ISearchQueryHits_Init_Stub(
  334. IRpcStubBuffer *This,
  335. IRpcChannelBuffer *_pRpcChannelBuffer,
  336. PRPC_MESSAGE _pRpcMessage,
  337. DWORD *_pdwStubPhase);
  338. SCODE STDMETHODCALLTYPE ISearchQueryHits_NextHitMoniker_Proxy(
  339. ISearchQueryHits * This,
  340. /* [out][in] */ ULONG *pcMnk,
  341. /* [size_is][out] */ IMoniker ***papMnk);
  342. void __RPC_STUB ISearchQueryHits_NextHitMoniker_Stub(
  343. IRpcStubBuffer *This,
  344. IRpcChannelBuffer *_pRpcChannelBuffer,
  345. PRPC_MESSAGE _pRpcMessage,
  346. DWORD *_pdwStubPhase);
  347. SCODE STDMETHODCALLTYPE ISearchQueryHits_NextHitOffset_Proxy(
  348. ISearchQueryHits * This,
  349. /* [out][in] */ ULONG *pcRegion,
  350. /* [size_is][out] */ FILTERREGION **paRegion);
  351. void __RPC_STUB ISearchQueryHits_NextHitOffset_Stub(
  352. IRpcStubBuffer *This,
  353. IRpcChannelBuffer *_pRpcChannelBuffer,
  354. PRPC_MESSAGE _pRpcMessage,
  355. DWORD *_pdwStubPhase);
  356. #endif /* __ISearchQueryHits_INTERFACE_DEFINED__ */
  357. #ifndef __IPhraseSink_INTERFACE_DEFINED__
  358. #define __IPhraseSink_INTERFACE_DEFINED__
  359. /* interface IPhraseSink */
  360. /* [unique][uuid][object][local] */
  361. EXTERN_C const IID IID_IPhraseSink;
  362. #if defined(__cplusplus) && !defined(CINTERFACE)
  363. MIDL_INTERFACE("CC906FF0-C058-101A-B554-08002B33B0E6")
  364. IPhraseSink : public IUnknown
  365. {
  366. public:
  367. virtual SCODE STDMETHODCALLTYPE PutSmallPhrase(
  368. /* [size_is][in] */ const WCHAR *pwcNoun,
  369. /* [in] */ ULONG cwcNoun,
  370. /* [size_is][in] */ const WCHAR *pwcModifier,
  371. /* [in] */ ULONG cwcModifier,
  372. /* [in] */ ULONG ulAttachmentType) = 0;
  373. virtual SCODE STDMETHODCALLTYPE PutPhrase(
  374. /* [size_is][in] */ const WCHAR *pwcPhrase,
  375. /* [in] */ ULONG cwcPhrase) = 0;
  376. };
  377. #else /* C style interface */
  378. typedef struct IPhraseSinkVtbl
  379. {
  380. BEGIN_INTERFACE
  381. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  382. IPhraseSink * This,
  383. /* [in] */ REFIID riid,
  384. /* [iid_is][out] */ void **ppvObject);
  385. ULONG ( STDMETHODCALLTYPE *AddRef )(
  386. IPhraseSink * This);
  387. ULONG ( STDMETHODCALLTYPE *Release )(
  388. IPhraseSink * This);
  389. SCODE ( STDMETHODCALLTYPE *PutSmallPhrase )(
  390. IPhraseSink * This,
  391. /* [size_is][in] */ const WCHAR *pwcNoun,
  392. /* [in] */ ULONG cwcNoun,
  393. /* [size_is][in] */ const WCHAR *pwcModifier,
  394. /* [in] */ ULONG cwcModifier,
  395. /* [in] */ ULONG ulAttachmentType);
  396. SCODE ( STDMETHODCALLTYPE *PutPhrase )(
  397. IPhraseSink * This,
  398. /* [size_is][in] */ const WCHAR *pwcPhrase,
  399. /* [in] */ ULONG cwcPhrase);
  400. END_INTERFACE
  401. } IPhraseSinkVtbl;
  402. interface IPhraseSink
  403. {
  404. CONST_VTBL struct IPhraseSinkVtbl *lpVtbl;
  405. };
  406. #ifdef COBJMACROS
  407. #define IPhraseSink_QueryInterface(This,riid,ppvObject) \
  408. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  409. #define IPhraseSink_AddRef(This) \
  410. (This)->lpVtbl -> AddRef(This)
  411. #define IPhraseSink_Release(This) \
  412. (This)->lpVtbl -> Release(This)
  413. #define IPhraseSink_PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType) \
  414. (This)->lpVtbl -> PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType)
  415. #define IPhraseSink_PutPhrase(This,pwcPhrase,cwcPhrase) \
  416. (This)->lpVtbl -> PutPhrase(This,pwcPhrase,cwcPhrase)
  417. #endif /* COBJMACROS */
  418. #endif /* C style interface */
  419. SCODE STDMETHODCALLTYPE IPhraseSink_PutSmallPhrase_Proxy(
  420. IPhraseSink * This,
  421. /* [size_is][in] */ const WCHAR *pwcNoun,
  422. /* [in] */ ULONG cwcNoun,
  423. /* [size_is][in] */ const WCHAR *pwcModifier,
  424. /* [in] */ ULONG cwcModifier,
  425. /* [in] */ ULONG ulAttachmentType);
  426. void __RPC_STUB IPhraseSink_PutSmallPhrase_Stub(
  427. IRpcStubBuffer *This,
  428. IRpcChannelBuffer *_pRpcChannelBuffer,
  429. PRPC_MESSAGE _pRpcMessage,
  430. DWORD *_pdwStubPhase);
  431. SCODE STDMETHODCALLTYPE IPhraseSink_PutPhrase_Proxy(
  432. IPhraseSink * This,
  433. /* [size_is][in] */ const WCHAR *pwcPhrase,
  434. /* [in] */ ULONG cwcPhrase);
  435. void __RPC_STUB IPhraseSink_PutPhrase_Stub(
  436. IRpcStubBuffer *This,
  437. IRpcChannelBuffer *_pRpcChannelBuffer,
  438. PRPC_MESSAGE _pRpcMessage,
  439. DWORD *_pdwStubPhase);
  440. #endif /* __IPhraseSink_INTERFACE_DEFINED__ */
  441. #ifndef __IWordSink_INTERFACE_DEFINED__
  442. #define __IWordSink_INTERFACE_DEFINED__
  443. /* interface IWordSink */
  444. /* [unique][uuid][object][local] */
  445. #ifndef _tagWORDREP_BREAK_TYPE_DEFINED
  446. typedef
  447. enum tagWORDREP_BREAK_TYPE
  448. { WORDREP_BREAK_EOW = 0,
  449. WORDREP_BREAK_EOS = 1,
  450. WORDREP_BREAK_EOP = 2,
  451. WORDREP_BREAK_EOC = 3
  452. } WORDREP_BREAK_TYPE;
  453. #define _tagWORDREP_BREAK_TYPE_DEFINED
  454. #define _WORDREP_BREAK_TYPE_DEFINED
  455. #endif
  456. EXTERN_C const IID IID_IWordSink;
  457. #if defined(__cplusplus) && !defined(CINTERFACE)
  458. MIDL_INTERFACE("CC907054-C058-101A-B554-08002B33B0E6")
  459. IWordSink : public IUnknown
  460. {
  461. public:
  462. virtual SCODE STDMETHODCALLTYPE PutWord(
  463. /* [in] */ ULONG cwc,
  464. /* [size_is][in] */ const WCHAR *pwcInBuf,
  465. /* [in] */ ULONG cwcSrcLen,
  466. /* [in] */ ULONG cwcSrcPos) = 0;
  467. virtual SCODE STDMETHODCALLTYPE PutAltWord(
  468. /* [in] */ ULONG cwc,
  469. /* [size_is][in] */ const WCHAR *pwcInBuf,
  470. /* [in] */ ULONG cwcSrcLen,
  471. /* [in] */ ULONG cwcSrcPos) = 0;
  472. virtual SCODE STDMETHODCALLTYPE StartAltPhrase( void) = 0;
  473. virtual SCODE STDMETHODCALLTYPE EndAltPhrase( void) = 0;
  474. virtual SCODE STDMETHODCALLTYPE PutBreak(
  475. /* [in] */ WORDREP_BREAK_TYPE breakType) = 0;
  476. };
  477. #else /* C style interface */
  478. typedef struct IWordSinkVtbl
  479. {
  480. BEGIN_INTERFACE
  481. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  482. IWordSink * This,
  483. /* [in] */ REFIID riid,
  484. /* [iid_is][out] */ void **ppvObject);
  485. ULONG ( STDMETHODCALLTYPE *AddRef )(
  486. IWordSink * This);
  487. ULONG ( STDMETHODCALLTYPE *Release )(
  488. IWordSink * This);
  489. SCODE ( STDMETHODCALLTYPE *PutWord )(
  490. IWordSink * This,
  491. /* [in] */ ULONG cwc,
  492. /* [size_is][in] */ const WCHAR *pwcInBuf,
  493. /* [in] */ ULONG cwcSrcLen,
  494. /* [in] */ ULONG cwcSrcPos);
  495. SCODE ( STDMETHODCALLTYPE *PutAltWord )(
  496. IWordSink * This,
  497. /* [in] */ ULONG cwc,
  498. /* [size_is][in] */ const WCHAR *pwcInBuf,
  499. /* [in] */ ULONG cwcSrcLen,
  500. /* [in] */ ULONG cwcSrcPos);
  501. SCODE ( STDMETHODCALLTYPE *StartAltPhrase )(
  502. IWordSink * This);
  503. SCODE ( STDMETHODCALLTYPE *EndAltPhrase )(
  504. IWordSink * This);
  505. SCODE ( STDMETHODCALLTYPE *PutBreak )(
  506. IWordSink * This,
  507. /* [in] */ WORDREP_BREAK_TYPE breakType);
  508. END_INTERFACE
  509. } IWordSinkVtbl;
  510. interface IWordSink
  511. {
  512. CONST_VTBL struct IWordSinkVtbl *lpVtbl;
  513. };
  514. #ifdef COBJMACROS
  515. #define IWordSink_QueryInterface(This,riid,ppvObject) \
  516. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  517. #define IWordSink_AddRef(This) \
  518. (This)->lpVtbl -> AddRef(This)
  519. #define IWordSink_Release(This) \
  520. (This)->lpVtbl -> Release(This)
  521. #define IWordSink_PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) \
  522. (This)->lpVtbl -> PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos)
  523. #define IWordSink_PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) \
  524. (This)->lpVtbl -> PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos)
  525. #define IWordSink_StartAltPhrase(This) \
  526. (This)->lpVtbl -> StartAltPhrase(This)
  527. #define IWordSink_EndAltPhrase(This) \
  528. (This)->lpVtbl -> EndAltPhrase(This)
  529. #define IWordSink_PutBreak(This,breakType) \
  530. (This)->lpVtbl -> PutBreak(This,breakType)
  531. #endif /* COBJMACROS */
  532. #endif /* C style interface */
  533. SCODE STDMETHODCALLTYPE IWordSink_PutWord_Proxy(
  534. IWordSink * This,
  535. /* [in] */ ULONG cwc,
  536. /* [size_is][in] */ const WCHAR *pwcInBuf,
  537. /* [in] */ ULONG cwcSrcLen,
  538. /* [in] */ ULONG cwcSrcPos);
  539. void __RPC_STUB IWordSink_PutWord_Stub(
  540. IRpcStubBuffer *This,
  541. IRpcChannelBuffer *_pRpcChannelBuffer,
  542. PRPC_MESSAGE _pRpcMessage,
  543. DWORD *_pdwStubPhase);
  544. SCODE STDMETHODCALLTYPE IWordSink_PutAltWord_Proxy(
  545. IWordSink * This,
  546. /* [in] */ ULONG cwc,
  547. /* [size_is][in] */ const WCHAR *pwcInBuf,
  548. /* [in] */ ULONG cwcSrcLen,
  549. /* [in] */ ULONG cwcSrcPos);
  550. void __RPC_STUB IWordSink_PutAltWord_Stub(
  551. IRpcStubBuffer *This,
  552. IRpcChannelBuffer *_pRpcChannelBuffer,
  553. PRPC_MESSAGE _pRpcMessage,
  554. DWORD *_pdwStubPhase);
  555. SCODE STDMETHODCALLTYPE IWordSink_StartAltPhrase_Proxy(
  556. IWordSink * This);
  557. void __RPC_STUB IWordSink_StartAltPhrase_Stub(
  558. IRpcStubBuffer *This,
  559. IRpcChannelBuffer *_pRpcChannelBuffer,
  560. PRPC_MESSAGE _pRpcMessage,
  561. DWORD *_pdwStubPhase);
  562. SCODE STDMETHODCALLTYPE IWordSink_EndAltPhrase_Proxy(
  563. IWordSink * This);
  564. void __RPC_STUB IWordSink_EndAltPhrase_Stub(
  565. IRpcStubBuffer *This,
  566. IRpcChannelBuffer *_pRpcChannelBuffer,
  567. PRPC_MESSAGE _pRpcMessage,
  568. DWORD *_pdwStubPhase);
  569. SCODE STDMETHODCALLTYPE IWordSink_PutBreak_Proxy(
  570. IWordSink * This,
  571. /* [in] */ WORDREP_BREAK_TYPE breakType);
  572. void __RPC_STUB IWordSink_PutBreak_Stub(
  573. IRpcStubBuffer *This,
  574. IRpcChannelBuffer *_pRpcChannelBuffer,
  575. PRPC_MESSAGE _pRpcMessage,
  576. DWORD *_pdwStubPhase);
  577. #endif /* __IWordSink_INTERFACE_DEFINED__ */
  578. /* interface __MIDL_itf_query_0125 */
  579. /* [local] */
  580. #ifndef _tagTEXT_SOURCE_DEFINED
  581. typedef SCODE ( __stdcall *PFNFILLTEXTBUFFER )(
  582. struct tagTEXT_SOURCE *pTextSource);
  583. typedef struct tagTEXT_SOURCE
  584. {
  585. PFNFILLTEXTBUFFER pfnFillTextBuffer;
  586. const WCHAR *awcBuffer;
  587. ULONG iEnd;
  588. ULONG iCur;
  589. } TEXT_SOURCE;
  590. #define _tagTEXT_SOURCE_DEFINED
  591. #define _TEXT_SOURCE_DEFINED
  592. #endif
  593. extern RPC_IF_HANDLE __MIDL_itf_query_0125_v0_0_c_ifspec;
  594. extern RPC_IF_HANDLE __MIDL_itf_query_0125_v0_0_s_ifspec;
  595. #ifndef __IWordBreaker_INTERFACE_DEFINED__
  596. #define __IWordBreaker_INTERFACE_DEFINED__
  597. /* interface IWordBreaker */
  598. /* [unique][uuid][object][local] */
  599. EXTERN_C const IID IID_IWordBreaker;
  600. #if defined(__cplusplus) && !defined(CINTERFACE)
  601. MIDL_INTERFACE("D53552C8-77E3-101A-B552-08002B33B0E6")
  602. IWordBreaker : public IUnknown
  603. {
  604. public:
  605. virtual SCODE STDMETHODCALLTYPE Init(
  606. /* [in] */ BOOL fQuery,
  607. /* [in] */ ULONG ulMaxTokenSize,
  608. /* [out] */ BOOL *pfLicense) = 0;
  609. virtual SCODE STDMETHODCALLTYPE BreakText(
  610. /* [in] */ TEXT_SOURCE *pTextSource,
  611. /* [in] */ IWordSink *pWordSink,
  612. /* [in] */ IPhraseSink *pPhraseSink) = 0;
  613. virtual SCODE STDMETHODCALLTYPE ComposePhrase(
  614. /* [size_is][in] */ const WCHAR *pwcNoun,
  615. /* [in] */ ULONG cwcNoun,
  616. /* [size_is][in] */ const WCHAR *pwcModifier,
  617. /* [in] */ ULONG cwcModifier,
  618. /* [in] */ ULONG ulAttachmentType,
  619. /* [size_is][out] */ WCHAR *pwcPhrase,
  620. /* [out][in] */ ULONG *pcwcPhrase) = 0;
  621. virtual SCODE STDMETHODCALLTYPE GetLicenseToUse(
  622. /* [string][out] */ const WCHAR **ppwcsLicense) = 0;
  623. };
  624. #else /* C style interface */
  625. typedef struct IWordBreakerVtbl
  626. {
  627. BEGIN_INTERFACE
  628. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  629. IWordBreaker * This,
  630. /* [in] */ REFIID riid,
  631. /* [iid_is][out] */ void **ppvObject);
  632. ULONG ( STDMETHODCALLTYPE *AddRef )(
  633. IWordBreaker * This);
  634. ULONG ( STDMETHODCALLTYPE *Release )(
  635. IWordBreaker * This);
  636. SCODE ( STDMETHODCALLTYPE *Init )(
  637. IWordBreaker * This,
  638. /* [in] */ BOOL fQuery,
  639. /* [in] */ ULONG ulMaxTokenSize,
  640. /* [out] */ BOOL *pfLicense);
  641. SCODE ( STDMETHODCALLTYPE *BreakText )(
  642. IWordBreaker * This,
  643. /* [in] */ TEXT_SOURCE *pTextSource,
  644. /* [in] */ IWordSink *pWordSink,
  645. /* [in] */ IPhraseSink *pPhraseSink);
  646. SCODE ( STDMETHODCALLTYPE *ComposePhrase )(
  647. IWordBreaker * This,
  648. /* [size_is][in] */ const WCHAR *pwcNoun,
  649. /* [in] */ ULONG cwcNoun,
  650. /* [size_is][in] */ const WCHAR *pwcModifier,
  651. /* [in] */ ULONG cwcModifier,
  652. /* [in] */ ULONG ulAttachmentType,
  653. /* [size_is][out] */ WCHAR *pwcPhrase,
  654. /* [out][in] */ ULONG *pcwcPhrase);
  655. SCODE ( STDMETHODCALLTYPE *GetLicenseToUse )(
  656. IWordBreaker * This,
  657. /* [string][out] */ const WCHAR **ppwcsLicense);
  658. END_INTERFACE
  659. } IWordBreakerVtbl;
  660. interface IWordBreaker
  661. {
  662. CONST_VTBL struct IWordBreakerVtbl *lpVtbl;
  663. };
  664. #ifdef COBJMACROS
  665. #define IWordBreaker_QueryInterface(This,riid,ppvObject) \
  666. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  667. #define IWordBreaker_AddRef(This) \
  668. (This)->lpVtbl -> AddRef(This)
  669. #define IWordBreaker_Release(This) \
  670. (This)->lpVtbl -> Release(This)
  671. #define IWordBreaker_Init(This,fQuery,ulMaxTokenSize,pfLicense) \
  672. (This)->lpVtbl -> Init(This,fQuery,ulMaxTokenSize,pfLicense)
  673. #define IWordBreaker_BreakText(This,pTextSource,pWordSink,pPhraseSink) \
  674. (This)->lpVtbl -> BreakText(This,pTextSource,pWordSink,pPhraseSink)
  675. #define IWordBreaker_ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase) \
  676. (This)->lpVtbl -> ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase)
  677. #define IWordBreaker_GetLicenseToUse(This,ppwcsLicense) \
  678. (This)->lpVtbl -> GetLicenseToUse(This,ppwcsLicense)
  679. #endif /* COBJMACROS */
  680. #endif /* C style interface */
  681. SCODE STDMETHODCALLTYPE IWordBreaker_Init_Proxy(
  682. IWordBreaker * This,
  683. /* [in] */ BOOL fQuery,
  684. /* [in] */ ULONG ulMaxTokenSize,
  685. /* [out] */ BOOL *pfLicense);
  686. void __RPC_STUB IWordBreaker_Init_Stub(
  687. IRpcStubBuffer *This,
  688. IRpcChannelBuffer *_pRpcChannelBuffer,
  689. PRPC_MESSAGE _pRpcMessage,
  690. DWORD *_pdwStubPhase);
  691. SCODE STDMETHODCALLTYPE IWordBreaker_BreakText_Proxy(
  692. IWordBreaker * This,
  693. /* [in] */ TEXT_SOURCE *pTextSource,
  694. /* [in] */ IWordSink *pWordSink,
  695. /* [in] */ IPhraseSink *pPhraseSink);
  696. void __RPC_STUB IWordBreaker_BreakText_Stub(
  697. IRpcStubBuffer *This,
  698. IRpcChannelBuffer *_pRpcChannelBuffer,
  699. PRPC_MESSAGE _pRpcMessage,
  700. DWORD *_pdwStubPhase);
  701. SCODE STDMETHODCALLTYPE IWordBreaker_ComposePhrase_Proxy(
  702. IWordBreaker * This,
  703. /* [size_is][in] */ const WCHAR *pwcNoun,
  704. /* [in] */ ULONG cwcNoun,
  705. /* [size_is][in] */ const WCHAR *pwcModifier,
  706. /* [in] */ ULONG cwcModifier,
  707. /* [in] */ ULONG ulAttachmentType,
  708. /* [size_is][out] */ WCHAR *pwcPhrase,
  709. /* [out][in] */ ULONG *pcwcPhrase);
  710. void __RPC_STUB IWordBreaker_ComposePhrase_Stub(
  711. IRpcStubBuffer *This,
  712. IRpcChannelBuffer *_pRpcChannelBuffer,
  713. PRPC_MESSAGE _pRpcMessage,
  714. DWORD *_pdwStubPhase);
  715. SCODE STDMETHODCALLTYPE IWordBreaker_GetLicenseToUse_Proxy(
  716. IWordBreaker * This,
  717. /* [string][out] */ const WCHAR **ppwcsLicense);
  718. void __RPC_STUB IWordBreaker_GetLicenseToUse_Stub(
  719. IRpcStubBuffer *This,
  720. IRpcChannelBuffer *_pRpcChannelBuffer,
  721. PRPC_MESSAGE _pRpcMessage,
  722. DWORD *_pdwStubPhase);
  723. #endif /* __IWordBreaker_INTERFACE_DEFINED__ */
  724. #ifndef __IStemSink_INTERFACE_DEFINED__
  725. #define __IStemSink_INTERFACE_DEFINED__
  726. /* interface IStemSink */
  727. /* [unique][uuid][object][local] */
  728. EXTERN_C const IID IID_IStemSink;
  729. #if defined(__cplusplus) && !defined(CINTERFACE)
  730. MIDL_INTERFACE("fe77c330-7f42-11ce-be57-00aa0051fe20")
  731. IStemSink : public IUnknown
  732. {
  733. public:
  734. virtual SCODE STDMETHODCALLTYPE PutAltWord(
  735. /* [size_is][in] */ const WCHAR *pwcInBuf,
  736. /* [in] */ ULONG cwc) = 0;
  737. virtual SCODE STDMETHODCALLTYPE PutWord(
  738. /* [size_is][in] */ const WCHAR *pwcInBuf,
  739. /* [in] */ ULONG cwc) = 0;
  740. };
  741. #else /* C style interface */
  742. typedef struct IStemSinkVtbl
  743. {
  744. BEGIN_INTERFACE
  745. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  746. IStemSink * This,
  747. /* [in] */ REFIID riid,
  748. /* [iid_is][out] */ void **ppvObject);
  749. ULONG ( STDMETHODCALLTYPE *AddRef )(
  750. IStemSink * This);
  751. ULONG ( STDMETHODCALLTYPE *Release )(
  752. IStemSink * This);
  753. SCODE ( STDMETHODCALLTYPE *PutAltWord )(
  754. IStemSink * This,
  755. /* [size_is][in] */ const WCHAR *pwcInBuf,
  756. /* [in] */ ULONG cwc);
  757. SCODE ( STDMETHODCALLTYPE *PutWord )(
  758. IStemSink * This,
  759. /* [size_is][in] */ const WCHAR *pwcInBuf,
  760. /* [in] */ ULONG cwc);
  761. END_INTERFACE
  762. } IStemSinkVtbl;
  763. interface IStemSink
  764. {
  765. CONST_VTBL struct IStemSinkVtbl *lpVtbl;
  766. };
  767. #ifdef COBJMACROS
  768. #define IStemSink_QueryInterface(This,riid,ppvObject) \
  769. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  770. #define IStemSink_AddRef(This) \
  771. (This)->lpVtbl -> AddRef(This)
  772. #define IStemSink_Release(This) \
  773. (This)->lpVtbl -> Release(This)
  774. #define IStemSink_PutAltWord(This,pwcInBuf,cwc) \
  775. (This)->lpVtbl -> PutAltWord(This,pwcInBuf,cwc)
  776. #define IStemSink_PutWord(This,pwcInBuf,cwc) \
  777. (This)->lpVtbl -> PutWord(This,pwcInBuf,cwc)
  778. #endif /* COBJMACROS */
  779. #endif /* C style interface */
  780. SCODE STDMETHODCALLTYPE IStemSink_PutAltWord_Proxy(
  781. IStemSink * This,
  782. /* [size_is][in] */ const WCHAR *pwcInBuf,
  783. /* [in] */ ULONG cwc);
  784. void __RPC_STUB IStemSink_PutAltWord_Stub(
  785. IRpcStubBuffer *This,
  786. IRpcChannelBuffer *_pRpcChannelBuffer,
  787. PRPC_MESSAGE _pRpcMessage,
  788. DWORD *_pdwStubPhase);
  789. SCODE STDMETHODCALLTYPE IStemSink_PutWord_Proxy(
  790. IStemSink * This,
  791. /* [size_is][in] */ const WCHAR *pwcInBuf,
  792. /* [in] */ ULONG cwc);
  793. void __RPC_STUB IStemSink_PutWord_Stub(
  794. IRpcStubBuffer *This,
  795. IRpcChannelBuffer *_pRpcChannelBuffer,
  796. PRPC_MESSAGE _pRpcMessage,
  797. DWORD *_pdwStubPhase);
  798. #endif /* __IStemSink_INTERFACE_DEFINED__ */
  799. #ifndef __IStemmer_INTERFACE_DEFINED__
  800. #define __IStemmer_INTERFACE_DEFINED__
  801. /* interface IStemmer */
  802. /* [unique][uuid][object][local] */
  803. EXTERN_C const IID IID_IStemmer;
  804. #if defined(__cplusplus) && !defined(CINTERFACE)
  805. MIDL_INTERFACE("efbaf140-7f42-11ce-be57-00aa0051fe20")
  806. IStemmer : public IUnknown
  807. {
  808. public:
  809. virtual SCODE STDMETHODCALLTYPE Init(
  810. /* [in] */ ULONG ulMaxTokenSize,
  811. /* [out] */ BOOL *pfLicense) = 0;
  812. virtual SCODE STDMETHODCALLTYPE StemWord(
  813. /* [in] */ const WCHAR *pwcInBuf,
  814. /* [in] */ ULONG cwc,
  815. /* [in] */ IStemSink *pStemSink) = 0;
  816. virtual SCODE STDMETHODCALLTYPE GetLicenseToUse(
  817. /* [string][out] */ const WCHAR **ppwcsLicense) = 0;
  818. };
  819. #else /* C style interface */
  820. typedef struct IStemmerVtbl
  821. {
  822. BEGIN_INTERFACE
  823. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  824. IStemmer * This,
  825. /* [in] */ REFIID riid,
  826. /* [iid_is][out] */ void **ppvObject);
  827. ULONG ( STDMETHODCALLTYPE *AddRef )(
  828. IStemmer * This);
  829. ULONG ( STDMETHODCALLTYPE *Release )(
  830. IStemmer * This);
  831. SCODE ( STDMETHODCALLTYPE *Init )(
  832. IStemmer * This,
  833. /* [in] */ ULONG ulMaxTokenSize,
  834. /* [out] */ BOOL *pfLicense);
  835. SCODE ( STDMETHODCALLTYPE *StemWord )(
  836. IStemmer * This,
  837. /* [in] */ const WCHAR *pwcInBuf,
  838. /* [in] */ ULONG cwc,
  839. /* [in] */ IStemSink *pStemSink);
  840. SCODE ( STDMETHODCALLTYPE *GetLicenseToUse )(
  841. IStemmer * This,
  842. /* [string][out] */ const WCHAR **ppwcsLicense);
  843. END_INTERFACE
  844. } IStemmerVtbl;
  845. interface IStemmer
  846. {
  847. CONST_VTBL struct IStemmerVtbl *lpVtbl;
  848. };
  849. #ifdef COBJMACROS
  850. #define IStemmer_QueryInterface(This,riid,ppvObject) \
  851. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  852. #define IStemmer_AddRef(This) \
  853. (This)->lpVtbl -> AddRef(This)
  854. #define IStemmer_Release(This) \
  855. (This)->lpVtbl -> Release(This)
  856. #define IStemmer_Init(This,ulMaxTokenSize,pfLicense) \
  857. (This)->lpVtbl -> Init(This,ulMaxTokenSize,pfLicense)
  858. #define IStemmer_StemWord(This,pwcInBuf,cwc,pStemSink) \
  859. (This)->lpVtbl -> StemWord(This,pwcInBuf,cwc,pStemSink)
  860. #define IStemmer_GetLicenseToUse(This,ppwcsLicense) \
  861. (This)->lpVtbl -> GetLicenseToUse(This,ppwcsLicense)
  862. #endif /* COBJMACROS */
  863. #endif /* C style interface */
  864. SCODE STDMETHODCALLTYPE IStemmer_Init_Proxy(
  865. IStemmer * This,
  866. /* [in] */ ULONG ulMaxTokenSize,
  867. /* [out] */ BOOL *pfLicense);
  868. void __RPC_STUB IStemmer_Init_Stub(
  869. IRpcStubBuffer *This,
  870. IRpcChannelBuffer *_pRpcChannelBuffer,
  871. PRPC_MESSAGE _pRpcMessage,
  872. DWORD *_pdwStubPhase);
  873. SCODE STDMETHODCALLTYPE IStemmer_StemWord_Proxy(
  874. IStemmer * This,
  875. /* [in] */ const WCHAR *pwcInBuf,
  876. /* [in] */ ULONG cwc,
  877. /* [in] */ IStemSink *pStemSink);
  878. void __RPC_STUB IStemmer_StemWord_Stub(
  879. IRpcStubBuffer *This,
  880. IRpcChannelBuffer *_pRpcChannelBuffer,
  881. PRPC_MESSAGE _pRpcMessage,
  882. DWORD *_pdwStubPhase);
  883. SCODE STDMETHODCALLTYPE IStemmer_GetLicenseToUse_Proxy(
  884. IStemmer * This,
  885. /* [string][out] */ const WCHAR **ppwcsLicense);
  886. void __RPC_STUB IStemmer_GetLicenseToUse_Stub(
  887. IRpcStubBuffer *This,
  888. IRpcChannelBuffer *_pRpcChannelBuffer,
  889. PRPC_MESSAGE _pRpcMessage,
  890. DWORD *_pdwStubPhase);
  891. #endif /* __IStemmer_INTERFACE_DEFINED__ */
  892. #ifndef __IRowsetQueryStatus_INTERFACE_DEFINED__
  893. #define __IRowsetQueryStatus_INTERFACE_DEFINED__
  894. /* interface IRowsetQueryStatus */
  895. /* [unique][uuid][object][local] */
  896. EXTERN_C const IID IID_IRowsetQueryStatus;
  897. #if defined(__cplusplus) && !defined(CINTERFACE)
  898. MIDL_INTERFACE("a7ac77ed-f8d7-11ce-a798-0020f8008024")
  899. IRowsetQueryStatus : public IUnknown
  900. {
  901. public:
  902. virtual HRESULT STDMETHODCALLTYPE GetStatus(
  903. /* [out] */ DWORD *pdwStatus) = 0;
  904. virtual HRESULT STDMETHODCALLTYPE GetStatusEx(
  905. /* [out] */ DWORD *pdwStatus,
  906. /* [out] */ DWORD *pcFilteredDocuments,
  907. /* [out] */ DWORD *pcDocumentsToFilter,
  908. /* [out] */ ULONG_PTR *pdwRatioFinishedDenominator,
  909. /* [out] */ ULONG_PTR *pdwRatioFinishedNumerator,
  910. /* [in] */ ULONG_PTR cbBmk,
  911. /* [size_is][in] */ const BYTE *pBmk,
  912. /* [out] */ ULONG_PTR *piRowBmk,
  913. /* [out] */ ULONG_PTR *pcRowsTotal) = 0;
  914. };
  915. #else /* C style interface */
  916. typedef struct IRowsetQueryStatusVtbl
  917. {
  918. BEGIN_INTERFACE
  919. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  920. IRowsetQueryStatus * This,
  921. /* [in] */ REFIID riid,
  922. /* [iid_is][out] */ void **ppvObject);
  923. ULONG ( STDMETHODCALLTYPE *AddRef )(
  924. IRowsetQueryStatus * This);
  925. ULONG ( STDMETHODCALLTYPE *Release )(
  926. IRowsetQueryStatus * This);
  927. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  928. IRowsetQueryStatus * This,
  929. /* [out] */ DWORD *pdwStatus);
  930. HRESULT ( STDMETHODCALLTYPE *GetStatusEx )(
  931. IRowsetQueryStatus * This,
  932. /* [out] */ DWORD *pdwStatus,
  933. /* [out] */ DWORD *pcFilteredDocuments,
  934. /* [out] */ DWORD *pcDocumentsToFilter,
  935. /* [out] */ ULONG_PTR *pdwRatioFinishedDenominator,
  936. /* [out] */ ULONG_PTR *pdwRatioFinishedNumerator,
  937. /* [in] */ ULONG_PTR cbBmk,
  938. /* [size_is][in] */ const BYTE *pBmk,
  939. /* [out] */ ULONG_PTR *piRowBmk,
  940. /* [out] */ ULONG_PTR *pcRowsTotal);
  941. END_INTERFACE
  942. } IRowsetQueryStatusVtbl;
  943. interface IRowsetQueryStatus
  944. {
  945. CONST_VTBL struct IRowsetQueryStatusVtbl *lpVtbl;
  946. };
  947. #ifdef COBJMACROS
  948. #define IRowsetQueryStatus_QueryInterface(This,riid,ppvObject) \
  949. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  950. #define IRowsetQueryStatus_AddRef(This) \
  951. (This)->lpVtbl -> AddRef(This)
  952. #define IRowsetQueryStatus_Release(This) \
  953. (This)->lpVtbl -> Release(This)
  954. #define IRowsetQueryStatus_GetStatus(This,pdwStatus) \
  955. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  956. #define IRowsetQueryStatus_GetStatusEx(This,pdwStatus,pcFilteredDocuments,pcDocumentsToFilter,pdwRatioFinishedDenominator,pdwRatioFinishedNumerator,cbBmk,pBmk,piRowBmk,pcRowsTotal) \
  957. (This)->lpVtbl -> GetStatusEx(This,pdwStatus,pcFilteredDocuments,pcDocumentsToFilter,pdwRatioFinishedDenominator,pdwRatioFinishedNumerator,cbBmk,pBmk,piRowBmk,pcRowsTotal)
  958. #endif /* COBJMACROS */
  959. #endif /* C style interface */
  960. HRESULT STDMETHODCALLTYPE IRowsetQueryStatus_GetStatus_Proxy(
  961. IRowsetQueryStatus * This,
  962. /* [out] */ DWORD *pdwStatus);
  963. void __RPC_STUB IRowsetQueryStatus_GetStatus_Stub(
  964. IRpcStubBuffer *This,
  965. IRpcChannelBuffer *_pRpcChannelBuffer,
  966. PRPC_MESSAGE _pRpcMessage,
  967. DWORD *_pdwStubPhase);
  968. HRESULT STDMETHODCALLTYPE IRowsetQueryStatus_GetStatusEx_Proxy(
  969. IRowsetQueryStatus * This,
  970. /* [out] */ DWORD *pdwStatus,
  971. /* [out] */ DWORD *pcFilteredDocuments,
  972. /* [out] */ DWORD *pcDocumentsToFilter,
  973. /* [out] */ ULONG_PTR *pdwRatioFinishedDenominator,
  974. /* [out] */ ULONG_PTR *pdwRatioFinishedNumerator,
  975. /* [in] */ ULONG_PTR cbBmk,
  976. /* [size_is][in] */ const BYTE *pBmk,
  977. /* [out] */ ULONG_PTR *piRowBmk,
  978. /* [out] */ ULONG_PTR *pcRowsTotal);
  979. void __RPC_STUB IRowsetQueryStatus_GetStatusEx_Stub(
  980. IRpcStubBuffer *This,
  981. IRpcChannelBuffer *_pRpcChannelBuffer,
  982. PRPC_MESSAGE _pRpcMessage,
  983. DWORD *_pdwStubPhase);
  984. #endif /* __IRowsetQueryStatus_INTERFACE_DEFINED__ */
  985. /* interface __MIDL_itf_query_0129 */
  986. /* [local] */
  987. typedef struct tagDBID DBID;
  988. typedef WORD DBTYPE;
  989. extern RPC_IF_HANDLE __MIDL_itf_query_0129_v0_0_c_ifspec;
  990. extern RPC_IF_HANDLE __MIDL_itf_query_0129_v0_0_s_ifspec;
  991. #ifndef __IColumnMapper_INTERFACE_DEFINED__
  992. #define __IColumnMapper_INTERFACE_DEFINED__
  993. /* interface IColumnMapper */
  994. /* [unique][uuid][object][local] */
  995. EXTERN_C const IID IID_IColumnMapper;
  996. #if defined(__cplusplus) && !defined(CINTERFACE)
  997. MIDL_INTERFACE("0b63e37a-9ccc-11d0-bcdb-00805fccce04")
  998. IColumnMapper : public IUnknown
  999. {
  1000. public:
  1001. virtual HRESULT STDMETHODCALLTYPE GetPropInfoFromName(
  1002. /* [string][in] */ const WCHAR *wcsPropName,
  1003. /* [out] */ DBID **ppPropId,
  1004. /* [out] */ DBTYPE *pPropType,
  1005. /* [out] */ unsigned int *puiWidth) = 0;
  1006. virtual HRESULT STDMETHODCALLTYPE GetPropInfoFromId(
  1007. /* [in] */ const DBID *pPropId,
  1008. /* [out] */ WCHAR **pwcsName,
  1009. /* [out] */ DBTYPE *pPropType,
  1010. /* [out] */ unsigned int *puiWidth) = 0;
  1011. virtual HRESULT STDMETHODCALLTYPE EnumPropInfo(
  1012. /* [in] */ ULONG iEntry,
  1013. /* [out] */ const WCHAR **pwcsName,
  1014. /* [out] */ DBID **ppPropId,
  1015. /* [out] */ DBTYPE *pPropType,
  1016. /* [out] */ unsigned int *puiWidth) = 0;
  1017. virtual HRESULT STDMETHODCALLTYPE IsMapUpToDate( void) = 0;
  1018. };
  1019. #else /* C style interface */
  1020. typedef struct IColumnMapperVtbl
  1021. {
  1022. BEGIN_INTERFACE
  1023. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1024. IColumnMapper * This,
  1025. /* [in] */ REFIID riid,
  1026. /* [iid_is][out] */ void **ppvObject);
  1027. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1028. IColumnMapper * This);
  1029. ULONG ( STDMETHODCALLTYPE *Release )(
  1030. IColumnMapper * This);
  1031. HRESULT ( STDMETHODCALLTYPE *GetPropInfoFromName )(
  1032. IColumnMapper * This,
  1033. /* [string][in] */ const WCHAR *wcsPropName,
  1034. /* [out] */ DBID **ppPropId,
  1035. /* [out] */ DBTYPE *pPropType,
  1036. /* [out] */ unsigned int *puiWidth);
  1037. HRESULT ( STDMETHODCALLTYPE *GetPropInfoFromId )(
  1038. IColumnMapper * This,
  1039. /* [in] */ const DBID *pPropId,
  1040. /* [out] */ WCHAR **pwcsName,
  1041. /* [out] */ DBTYPE *pPropType,
  1042. /* [out] */ unsigned int *puiWidth);
  1043. HRESULT ( STDMETHODCALLTYPE *EnumPropInfo )(
  1044. IColumnMapper * This,
  1045. /* [in] */ ULONG iEntry,
  1046. /* [out] */ const WCHAR **pwcsName,
  1047. /* [out] */ DBID **ppPropId,
  1048. /* [out] */ DBTYPE *pPropType,
  1049. /* [out] */ unsigned int *puiWidth);
  1050. HRESULT ( STDMETHODCALLTYPE *IsMapUpToDate )(
  1051. IColumnMapper * This);
  1052. END_INTERFACE
  1053. } IColumnMapperVtbl;
  1054. interface IColumnMapper
  1055. {
  1056. CONST_VTBL struct IColumnMapperVtbl *lpVtbl;
  1057. };
  1058. #ifdef COBJMACROS
  1059. #define IColumnMapper_QueryInterface(This,riid,ppvObject) \
  1060. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1061. #define IColumnMapper_AddRef(This) \
  1062. (This)->lpVtbl -> AddRef(This)
  1063. #define IColumnMapper_Release(This) \
  1064. (This)->lpVtbl -> Release(This)
  1065. #define IColumnMapper_GetPropInfoFromName(This,wcsPropName,ppPropId,pPropType,puiWidth) \
  1066. (This)->lpVtbl -> GetPropInfoFromName(This,wcsPropName,ppPropId,pPropType,puiWidth)
  1067. #define IColumnMapper_GetPropInfoFromId(This,pPropId,pwcsName,pPropType,puiWidth) \
  1068. (This)->lpVtbl -> GetPropInfoFromId(This,pPropId,pwcsName,pPropType,puiWidth)
  1069. #define IColumnMapper_EnumPropInfo(This,iEntry,pwcsName,ppPropId,pPropType,puiWidth) \
  1070. (This)->lpVtbl -> EnumPropInfo(This,iEntry,pwcsName,ppPropId,pPropType,puiWidth)
  1071. #define IColumnMapper_IsMapUpToDate(This) \
  1072. (This)->lpVtbl -> IsMapUpToDate(This)
  1073. #endif /* COBJMACROS */
  1074. #endif /* C style interface */
  1075. HRESULT STDMETHODCALLTYPE IColumnMapper_GetPropInfoFromName_Proxy(
  1076. IColumnMapper * This,
  1077. /* [string][in] */ const WCHAR *wcsPropName,
  1078. /* [out] */ DBID **ppPropId,
  1079. /* [out] */ DBTYPE *pPropType,
  1080. /* [out] */ unsigned int *puiWidth);
  1081. void __RPC_STUB IColumnMapper_GetPropInfoFromName_Stub(
  1082. IRpcStubBuffer *This,
  1083. IRpcChannelBuffer *_pRpcChannelBuffer,
  1084. PRPC_MESSAGE _pRpcMessage,
  1085. DWORD *_pdwStubPhase);
  1086. HRESULT STDMETHODCALLTYPE IColumnMapper_GetPropInfoFromId_Proxy(
  1087. IColumnMapper * This,
  1088. /* [in] */ const DBID *pPropId,
  1089. /* [out] */ WCHAR **pwcsName,
  1090. /* [out] */ DBTYPE *pPropType,
  1091. /* [out] */ unsigned int *puiWidth);
  1092. void __RPC_STUB IColumnMapper_GetPropInfoFromId_Stub(
  1093. IRpcStubBuffer *This,
  1094. IRpcChannelBuffer *_pRpcChannelBuffer,
  1095. PRPC_MESSAGE _pRpcMessage,
  1096. DWORD *_pdwStubPhase);
  1097. HRESULT STDMETHODCALLTYPE IColumnMapper_EnumPropInfo_Proxy(
  1098. IColumnMapper * This,
  1099. /* [in] */ ULONG iEntry,
  1100. /* [out] */ const WCHAR **pwcsName,
  1101. /* [out] */ DBID **ppPropId,
  1102. /* [out] */ DBTYPE *pPropType,
  1103. /* [out] */ unsigned int *puiWidth);
  1104. void __RPC_STUB IColumnMapper_EnumPropInfo_Stub(
  1105. IRpcStubBuffer *This,
  1106. IRpcChannelBuffer *_pRpcChannelBuffer,
  1107. PRPC_MESSAGE _pRpcMessage,
  1108. DWORD *_pdwStubPhase);
  1109. HRESULT STDMETHODCALLTYPE IColumnMapper_IsMapUpToDate_Proxy(
  1110. IColumnMapper * This);
  1111. void __RPC_STUB IColumnMapper_IsMapUpToDate_Stub(
  1112. IRpcStubBuffer *This,
  1113. IRpcChannelBuffer *_pRpcChannelBuffer,
  1114. PRPC_MESSAGE _pRpcMessage,
  1115. DWORD *_pdwStubPhase);
  1116. #endif /* __IColumnMapper_INTERFACE_DEFINED__ */
  1117. /* interface __MIDL_itf_query_0130 */
  1118. /* [local] */
  1119. #define LOCAL_MACHINE ( L"." )
  1120. #define SYSTEM_DEFAULT_CAT ( L"__SystemDefault__" )
  1121. #define INDEX_SERVER_DEFAULT_CAT ( L"__IndexServerDefault__" )
  1122. extern RPC_IF_HANDLE __MIDL_itf_query_0130_v0_0_c_ifspec;
  1123. extern RPC_IF_HANDLE __MIDL_itf_query_0130_v0_0_s_ifspec;
  1124. #ifndef __IColumnMapperCreator_INTERFACE_DEFINED__
  1125. #define __IColumnMapperCreator_INTERFACE_DEFINED__
  1126. /* interface IColumnMapperCreator */
  1127. /* [unique][uuid][object][local] */
  1128. EXTERN_C const IID IID_IColumnMapperCreator;
  1129. #if defined(__cplusplus) && !defined(CINTERFACE)
  1130. MIDL_INTERFACE("0b63e37b-9ccc-11d0-bcdb-00805fccce04")
  1131. IColumnMapperCreator : public IUnknown
  1132. {
  1133. public:
  1134. virtual HRESULT STDMETHODCALLTYPE GetColumnMapper(
  1135. /* [string][in] */ const WCHAR *wcsMachineName,
  1136. /* [string][in] */ const WCHAR *wcsCatalogName,
  1137. /* [out] */ IColumnMapper **ppColumnMapper) = 0;
  1138. };
  1139. #else /* C style interface */
  1140. typedef struct IColumnMapperCreatorVtbl
  1141. {
  1142. BEGIN_INTERFACE
  1143. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1144. IColumnMapperCreator * This,
  1145. /* [in] */ REFIID riid,
  1146. /* [iid_is][out] */ void **ppvObject);
  1147. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1148. IColumnMapperCreator * This);
  1149. ULONG ( STDMETHODCALLTYPE *Release )(
  1150. IColumnMapperCreator * This);
  1151. HRESULT ( STDMETHODCALLTYPE *GetColumnMapper )(
  1152. IColumnMapperCreator * This,
  1153. /* [string][in] */ const WCHAR *wcsMachineName,
  1154. /* [string][in] */ const WCHAR *wcsCatalogName,
  1155. /* [out] */ IColumnMapper **ppColumnMapper);
  1156. END_INTERFACE
  1157. } IColumnMapperCreatorVtbl;
  1158. interface IColumnMapperCreator
  1159. {
  1160. CONST_VTBL struct IColumnMapperCreatorVtbl *lpVtbl;
  1161. };
  1162. #ifdef COBJMACROS
  1163. #define IColumnMapperCreator_QueryInterface(This,riid,ppvObject) \
  1164. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1165. #define IColumnMapperCreator_AddRef(This) \
  1166. (This)->lpVtbl -> AddRef(This)
  1167. #define IColumnMapperCreator_Release(This) \
  1168. (This)->lpVtbl -> Release(This)
  1169. #define IColumnMapperCreator_GetColumnMapper(This,wcsMachineName,wcsCatalogName,ppColumnMapper) \
  1170. (This)->lpVtbl -> GetColumnMapper(This,wcsMachineName,wcsCatalogName,ppColumnMapper)
  1171. #endif /* COBJMACROS */
  1172. #endif /* C style interface */
  1173. HRESULT STDMETHODCALLTYPE IColumnMapperCreator_GetColumnMapper_Proxy(
  1174. IColumnMapperCreator * This,
  1175. /* [string][in] */ const WCHAR *wcsMachineName,
  1176. /* [string][in] */ const WCHAR *wcsCatalogName,
  1177. /* [out] */ IColumnMapper **ppColumnMapper);
  1178. void __RPC_STUB IColumnMapperCreator_GetColumnMapper_Stub(
  1179. IRpcStubBuffer *This,
  1180. IRpcChannelBuffer *_pRpcChannelBuffer,
  1181. PRPC_MESSAGE _pRpcMessage,
  1182. DWORD *_pdwStubPhase);
  1183. #endif /* __IColumnMapperCreator_INTERFACE_DEFINED__ */
  1184. /* Additional Prototypes for ALL interfaces */
  1185. /* end of Additional Prototypes */
  1186. #ifdef __cplusplus
  1187. }
  1188. #endif
  1189. #endif