source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/indexsrv.h@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 24.8 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef __REQUIRED_RPCNDR_H_VERSION__
7#define __REQUIRED_RPCNDR_H_VERSION__ 475
8#endif
9
10#include "rpc.h"
11#include "rpcndr.h"
12
13#ifndef __RPCNDR_H_VERSION__
14#error This stub requires an updated version of <rpcndr.h>
15#endif
16
17#ifndef COM_NO_WINDOWS_H
18#include "windows.h"
19#include "ole2.h"
20#endif
21
22#ifndef __indexsrv_h__
23#define __indexsrv_h__
24
25#ifndef __IPhraseSink_FWD_DEFINED__
26#define __IPhraseSink_FWD_DEFINED__
27typedef struct IPhraseSink IPhraseSink;
28#endif
29
30#ifndef __IWordSink_FWD_DEFINED__
31#define __IWordSink_FWD_DEFINED__
32typedef struct IWordSink IWordSink;
33#endif
34
35#ifndef __IWordBreaker_FWD_DEFINED__
36#define __IWordBreaker_FWD_DEFINED__
37typedef struct IWordBreaker IWordBreaker;
38#endif
39
40#ifndef __IWordFormSink_FWD_DEFINED__
41#define __IWordFormSink_FWD_DEFINED__
42typedef struct IWordFormSink IWordFormSink;
43#endif
44
45#ifndef __IStemmer_FWD_DEFINED__
46#define __IStemmer_FWD_DEFINED__
47typedef struct IStemmer IStemmer;
48#endif
49
50#ifndef __ISimpleCommandCreator_FWD_DEFINED__
51#define __ISimpleCommandCreator_FWD_DEFINED__
52typedef struct ISimpleCommandCreator ISimpleCommandCreator;
53#endif
54
55#ifndef __IColumnMapper_FWD_DEFINED__
56#define __IColumnMapper_FWD_DEFINED__
57typedef struct IColumnMapper IColumnMapper;
58#endif
59
60#ifndef __IColumnMapperCreator_FWD_DEFINED__
61#define __IColumnMapperCreator_FWD_DEFINED__
62typedef struct IColumnMapperCreator IColumnMapperCreator;
63#endif
64
65#include "oaidl.h"
66#include "filter.h"
67
68#ifdef __cplusplus
69extern "C"{
70#endif
71
72#ifndef __MIDL_user_allocate_free_DEFINED__
73#define __MIDL_user_allocate_free_DEFINED__
74 void *__RPC_API MIDL_user_allocate(size_t);
75 void __RPC_API MIDL_user_free(void *);
76#endif
77
78#ifndef __IPhraseSink_INTERFACE_DEFINED__
79#define __IPhraseSink_INTERFACE_DEFINED__
80
81 EXTERN_C const IID IID_IPhraseSink;
82
83#if defined(__cplusplus) && !defined(CINTERFACE)
84 struct IPhraseSink : public IUnknown {
85 public:
86 virtual HRESULT WINAPI PutSmallPhrase(const WCHAR *pwcNoun,ULONG cwcNoun,const WCHAR *pwcModifier,ULONG cwcModifier,ULONG ulAttachmentType) = 0;
87 virtual HRESULT WINAPI PutPhrase(const WCHAR *pwcPhrase,ULONG cwcPhrase) = 0;
88 };
89#else
90 typedef struct IPhraseSinkVtbl {
91 BEGIN_INTERFACE
92 HRESULT (WINAPI *QueryInterface)(IPhraseSink *This,REFIID riid,void **ppvObject);
93 ULONG (WINAPI *AddRef)(IPhraseSink *This);
94 ULONG (WINAPI *Release)(IPhraseSink *This);
95 HRESULT (WINAPI *PutSmallPhrase)(IPhraseSink *This,const WCHAR *pwcNoun,ULONG cwcNoun,const WCHAR *pwcModifier,ULONG cwcModifier,ULONG ulAttachmentType);
96 HRESULT (WINAPI *PutPhrase)(IPhraseSink *This,const WCHAR *pwcPhrase,ULONG cwcPhrase);
97 END_INTERFACE
98 } IPhraseSinkVtbl;
99 struct IPhraseSink {
100 CONST_VTBL struct IPhraseSinkVtbl *lpVtbl;
101 };
102#ifdef COBJMACROS
103#define IPhraseSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
104#define IPhraseSink_AddRef(This) (This)->lpVtbl->AddRef(This)
105#define IPhraseSink_Release(This) (This)->lpVtbl->Release(This)
106#define IPhraseSink_PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType) (This)->lpVtbl->PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType)
107#define IPhraseSink_PutPhrase(This,pwcPhrase,cwcPhrase) (This)->lpVtbl->PutPhrase(This,pwcPhrase,cwcPhrase)
108#endif
109#endif
110 HRESULT WINAPI IPhraseSink_PutSmallPhrase_Proxy(IPhraseSink *This,const WCHAR *pwcNoun,ULONG cwcNoun,const WCHAR *pwcModifier,ULONG cwcModifier,ULONG ulAttachmentType);
111 void __RPC_STUB IPhraseSink_PutSmallPhrase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
112 HRESULT WINAPI IPhraseSink_PutPhrase_Proxy(IPhraseSink *This,const WCHAR *pwcPhrase,ULONG cwcPhrase);
113 void __RPC_STUB IPhraseSink_PutPhrase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
114#endif
115
116#ifndef __IWordSink_INTERFACE_DEFINED__
117#define __IWordSink_INTERFACE_DEFINED__
118#ifndef _tagWORDREP_BREAK_TYPE_DEFINED
119#define _tagWORDREP_BREAK_TYPE_DEFINED
120 typedef enum tagWORDREP_BREAK_TYPE {
121 WORDREP_BREAK_EOW = 0,WORDREP_BREAK_EOS = 1,WORDREP_BREAK_EOP = 2,WORDREP_BREAK_EOC = 3
122 } WORDREP_BREAK_TYPE;
123#define _WORDREP_BREAK_TYPE_DEFINED
124#endif
125
126 EXTERN_C const IID IID_IWordSink;
127#if defined(__cplusplus) && !defined(CINTERFACE)
128 struct IWordSink : public IUnknown {
129 public:
130 virtual HRESULT WINAPI PutWord(ULONG cwc,const WCHAR *pwcInBuf,ULONG cwcSrcLen,ULONG cwcSrcPos) = 0;
131 virtual HRESULT WINAPI PutAltWord(ULONG cwc,const WCHAR *pwcInBuf,ULONG cwcSrcLen,ULONG cwcSrcPos) = 0;
132 virtual HRESULT WINAPI StartAltPhrase(void) = 0;
133 virtual HRESULT WINAPI EndAltPhrase(void) = 0;
134 virtual HRESULT WINAPI PutBreak(WORDREP_BREAK_TYPE breakType) = 0;
135 };
136#else
137 typedef struct IWordSinkVtbl {
138 BEGIN_INTERFACE
139 HRESULT (WINAPI *QueryInterface)(IWordSink *This,REFIID riid,void **ppvObject);
140 ULONG (WINAPI *AddRef)(IWordSink *This);
141 ULONG (WINAPI *Release)(IWordSink *This);
142 HRESULT (WINAPI *PutWord)(IWordSink *This,ULONG cwc,const WCHAR *pwcInBuf,ULONG cwcSrcLen,ULONG cwcSrcPos);
143 HRESULT (WINAPI *PutAltWord)(IWordSink *This,ULONG cwc,const WCHAR *pwcInBuf,ULONG cwcSrcLen,ULONG cwcSrcPos);
144 HRESULT (WINAPI *StartAltPhrase)(IWordSink *This);
145 HRESULT (WINAPI *EndAltPhrase)(IWordSink *This);
146 HRESULT (WINAPI *PutBreak)(IWordSink *This,WORDREP_BREAK_TYPE breakType);
147 END_INTERFACE
148 } IWordSinkVtbl;
149 struct IWordSink {
150 CONST_VTBL struct IWordSinkVtbl *lpVtbl;
151 };
152#ifdef COBJMACROS
153#define IWordSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
154#define IWordSink_AddRef(This) (This)->lpVtbl->AddRef(This)
155#define IWordSink_Release(This) (This)->lpVtbl->Release(This)
156#define IWordSink_PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) (This)->lpVtbl->PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos)
157#define IWordSink_PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) (This)->lpVtbl->PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos)
158#define IWordSink_StartAltPhrase(This) (This)->lpVtbl->StartAltPhrase(This)
159#define IWordSink_EndAltPhrase(This) (This)->lpVtbl->EndAltPhrase(This)
160#define IWordSink_PutBreak(This,breakType) (This)->lpVtbl->PutBreak(This,breakType)
161#endif
162#endif
163 HRESULT WINAPI IWordSink_PutWord_Proxy(IWordSink *This,ULONG cwc,const WCHAR *pwcInBuf,ULONG cwcSrcLen,ULONG cwcSrcPos);
164 void __RPC_STUB IWordSink_PutWord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
165 HRESULT WINAPI IWordSink_PutAltWord_Proxy(IWordSink *This,ULONG cwc,const WCHAR *pwcInBuf,ULONG cwcSrcLen,ULONG cwcSrcPos);
166 void __RPC_STUB IWordSink_PutAltWord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
167 HRESULT WINAPI IWordSink_StartAltPhrase_Proxy(IWordSink *This);
168 void __RPC_STUB IWordSink_StartAltPhrase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
169 HRESULT WINAPI IWordSink_EndAltPhrase_Proxy(IWordSink *This);
170 void __RPC_STUB IWordSink_EndAltPhrase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
171 HRESULT WINAPI IWordSink_PutBreak_Proxy(IWordSink *This,WORDREP_BREAK_TYPE breakType);
172 void __RPC_STUB IWordSink_PutBreak_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
173#endif
174
175#ifndef _tagTEXT_SOURCE_DEFINED
176#define _tagTEXT_SOURCE_DEFINED
177 typedef HRESULT (WINAPI *PFNFILLTEXTBUFFER)(struct tagTEXT_SOURCE *pTextSource);
178 typedef struct tagTEXT_SOURCE {
179 PFNFILLTEXTBUFFER pfnFillTextBuffer;
180 const WCHAR *awcBuffer;
181 ULONG iEnd;
182 ULONG iCur;
183 } TEXT_SOURCE;
184#define _TEXT_SOURCE_DEFINED
185#endif
186
187 extern RPC_IF_HANDLE __MIDL_itf_indexsrv_0127_v0_0_c_ifspec;
188 extern RPC_IF_HANDLE __MIDL_itf_indexsrv_0127_v0_0_s_ifspec;
189
190#ifndef __IWordBreaker_INTERFACE_DEFINED__
191#define __IWordBreaker_INTERFACE_DEFINED__
192 EXTERN_C const IID IID_IWordBreaker;
193#if defined(__cplusplus) && !defined(CINTERFACE)
194 struct IWordBreaker : public IUnknown {
195 public:
196 virtual HRESULT WINAPI Init(WINBOOL fQuery,ULONG ulMaxTokenSize,WINBOOL *pfLicense) = 0;
197 virtual HRESULT WINAPI BreakText(TEXT_SOURCE *pTextSource,IWordSink *pWordSink,IPhraseSink *pPhraseSink) = 0;
198 virtual HRESULT WINAPI ComposePhrase(const WCHAR *pwcNoun,ULONG cwcNoun,const WCHAR *pwcModifier,ULONG cwcModifier,ULONG ulAttachmentType,WCHAR *pwcPhrase,ULONG *pcwcPhrase) = 0;
199 virtual HRESULT WINAPI GetLicenseToUse(const WCHAR **ppwcsLicense) = 0;
200 };
201#else
202 typedef struct IWordBreakerVtbl {
203 BEGIN_INTERFACE
204 HRESULT (WINAPI *QueryInterface)(IWordBreaker *This,REFIID riid,void **ppvObject);
205 ULONG (WINAPI *AddRef)(IWordBreaker *This);
206 ULONG (WINAPI *Release)(IWordBreaker *This);
207 HRESULT (WINAPI *Init)(IWordBreaker *This,WINBOOL fQuery,ULONG ulMaxTokenSize,WINBOOL *pfLicense);
208 HRESULT (WINAPI *BreakText)(IWordBreaker *This,TEXT_SOURCE *pTextSource,IWordSink *pWordSink,IPhraseSink *pPhraseSink);
209 HRESULT (WINAPI *ComposePhrase)(IWordBreaker *This,const WCHAR *pwcNoun,ULONG cwcNoun,const WCHAR *pwcModifier,ULONG cwcModifier,ULONG ulAttachmentType,WCHAR *pwcPhrase,ULONG *pcwcPhrase);
210 HRESULT (WINAPI *GetLicenseToUse)(IWordBreaker *This,const WCHAR **ppwcsLicense);
211 END_INTERFACE
212 } IWordBreakerVtbl;
213 struct IWordBreaker {
214 CONST_VTBL struct IWordBreakerVtbl *lpVtbl;
215 };
216#ifdef COBJMACROS
217#define IWordBreaker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
218#define IWordBreaker_AddRef(This) (This)->lpVtbl->AddRef(This)
219#define IWordBreaker_Release(This) (This)->lpVtbl->Release(This)
220#define IWordBreaker_Init(This,fQuery,ulMaxTokenSize,pfLicense) (This)->lpVtbl->Init(This,fQuery,ulMaxTokenSize,pfLicense)
221#define IWordBreaker_BreakText(This,pTextSource,pWordSink,pPhraseSink) (This)->lpVtbl->BreakText(This,pTextSource,pWordSink,pPhraseSink)
222#define IWordBreaker_ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase) (This)->lpVtbl->ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase)
223#define IWordBreaker_GetLicenseToUse(This,ppwcsLicense) (This)->lpVtbl->GetLicenseToUse(This,ppwcsLicense)
224#endif
225#endif
226 HRESULT WINAPI IWordBreaker_Init_Proxy(IWordBreaker *This,WINBOOL fQuery,ULONG ulMaxTokenSize,WINBOOL *pfLicense);
227 void __RPC_STUB IWordBreaker_Init_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
228 HRESULT WINAPI IWordBreaker_BreakText_Proxy(IWordBreaker *This,TEXT_SOURCE *pTextSource,IWordSink *pWordSink,IPhraseSink *pPhraseSink);
229 void __RPC_STUB IWordBreaker_BreakText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
230 HRESULT WINAPI IWordBreaker_ComposePhrase_Proxy(IWordBreaker *This,const WCHAR *pwcNoun,ULONG cwcNoun,const WCHAR *pwcModifier,ULONG cwcModifier,ULONG ulAttachmentType,WCHAR *pwcPhrase,ULONG *pcwcPhrase);
231 void __RPC_STUB IWordBreaker_ComposePhrase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
232 HRESULT WINAPI IWordBreaker_GetLicenseToUse_Proxy(IWordBreaker *This,const WCHAR **ppwcsLicense);
233 void __RPC_STUB IWordBreaker_GetLicenseToUse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
234#endif
235
236#ifndef __IWordFormSink_INTERFACE_DEFINED__
237#define __IWordFormSink_INTERFACE_DEFINED__
238 EXTERN_C const IID IID_IWordFormSink;
239#if defined(__cplusplus) && !defined(CINTERFACE)
240 struct IWordFormSink : public IUnknown {
241 public:
242 virtual HRESULT WINAPI PutAltWord(const WCHAR *pwcInBuf,ULONG cwc) = 0;
243 virtual HRESULT WINAPI PutWord(const WCHAR *pwcInBuf,ULONG cwc) = 0;
244 };
245#else
246 typedef struct IWordFormSinkVtbl {
247 BEGIN_INTERFACE
248 HRESULT (WINAPI *QueryInterface)(IWordFormSink *This,REFIID riid,void **ppvObject);
249 ULONG (WINAPI *AddRef)(IWordFormSink *This);
250 ULONG (WINAPI *Release)(IWordFormSink *This);
251 HRESULT (WINAPI *PutAltWord)(IWordFormSink *This,const WCHAR *pwcInBuf,ULONG cwc);
252 HRESULT (WINAPI *PutWord)(IWordFormSink *This,const WCHAR *pwcInBuf,ULONG cwc);
253 END_INTERFACE
254 } IWordFormSinkVtbl;
255 struct IWordFormSink {
256 CONST_VTBL struct IWordFormSinkVtbl *lpVtbl;
257 };
258#ifdef COBJMACROS
259#define IWordFormSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
260#define IWordFormSink_AddRef(This) (This)->lpVtbl->AddRef(This)
261#define IWordFormSink_Release(This) (This)->lpVtbl->Release(This)
262#define IWordFormSink_PutAltWord(This,pwcInBuf,cwc) (This)->lpVtbl->PutAltWord(This,pwcInBuf,cwc)
263#define IWordFormSink_PutWord(This,pwcInBuf,cwc) (This)->lpVtbl->PutWord(This,pwcInBuf,cwc)
264#endif
265#endif
266 HRESULT WINAPI IWordFormSink_PutAltWord_Proxy(IWordFormSink *This,const WCHAR *pwcInBuf,ULONG cwc);
267 void __RPC_STUB IWordFormSink_PutAltWord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
268 HRESULT WINAPI IWordFormSink_PutWord_Proxy(IWordFormSink *This,const WCHAR *pwcInBuf,ULONG cwc);
269 void __RPC_STUB IWordFormSink_PutWord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
270#endif
271
272#ifndef __IStemmer_INTERFACE_DEFINED__
273#define __IStemmer_INTERFACE_DEFINED__
274 EXTERN_C const IID IID_IStemmer;
275#if defined(__cplusplus) && !defined(CINTERFACE)
276 struct IStemmer : public IUnknown {
277 public:
278 virtual HRESULT WINAPI Init(ULONG ulMaxTokenSize,WINBOOL *pfLicense) = 0;
279 virtual HRESULT WINAPI GenerateWordForms(const WCHAR *pwcInBuf,ULONG cwc,IWordFormSink *pStemSink) = 0;
280 virtual HRESULT WINAPI GetLicenseToUse(const WCHAR **ppwcsLicense) = 0;
281 };
282#else
283 typedef struct IStemmerVtbl {
284 BEGIN_INTERFACE
285 HRESULT (WINAPI *QueryInterface)(IStemmer *This,REFIID riid,void **ppvObject);
286 ULONG (WINAPI *AddRef)(IStemmer *This);
287 ULONG (WINAPI *Release)(IStemmer *This);
288 HRESULT (WINAPI *Init)(IStemmer *This,ULONG ulMaxTokenSize,WINBOOL *pfLicense);
289 HRESULT (WINAPI *GenerateWordForms)(IStemmer *This,const WCHAR *pwcInBuf,ULONG cwc,IWordFormSink *pStemSink);
290 HRESULT (WINAPI *GetLicenseToUse)(IStemmer *This,const WCHAR **ppwcsLicense);
291 END_INTERFACE
292 } IStemmerVtbl;
293 struct IStemmer {
294 CONST_VTBL struct IStemmerVtbl *lpVtbl;
295 };
296#ifdef COBJMACROS
297#define IStemmer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
298#define IStemmer_AddRef(This) (This)->lpVtbl->AddRef(This)
299#define IStemmer_Release(This) (This)->lpVtbl->Release(This)
300#define IStemmer_Init(This,ulMaxTokenSize,pfLicense) (This)->lpVtbl->Init(This,ulMaxTokenSize,pfLicense)
301#define IStemmer_GenerateWordForms(This,pwcInBuf,cwc,pStemSink) (This)->lpVtbl->GenerateWordForms(This,pwcInBuf,cwc,pStemSink)
302#define IStemmer_GetLicenseToUse(This,ppwcsLicense) (This)->lpVtbl->GetLicenseToUse(This,ppwcsLicense)
303#endif
304#endif
305 HRESULT WINAPI IStemmer_Init_Proxy(IStemmer *This,ULONG ulMaxTokenSize,WINBOOL *pfLicense);
306 void __RPC_STUB IStemmer_Init_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
307 HRESULT WINAPI IStemmer_GenerateWordForms_Proxy(IStemmer *This,const WCHAR *pwcInBuf,ULONG cwc,IWordFormSink *pStemSink);
308 void __RPC_STUB IStemmer_GenerateWordForms_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
309 HRESULT WINAPI IStemmer_GetLicenseToUse_Proxy(IStemmer *This,const WCHAR **ppwcsLicense);
310 void __RPC_STUB IStemmer_GetLicenseToUse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
311#endif
312
313 extern RPC_IF_HANDLE __MIDL_itf_indexsrv_0130_v0_0_c_ifspec;
314 extern RPC_IF_HANDLE __MIDL_itf_indexsrv_0130_v0_0_s_ifspec;
315
316#ifndef __ISimpleCommandCreator_INTERFACE_DEFINED__
317#define __ISimpleCommandCreator_INTERFACE_DEFINED__
318 EXTERN_C const IID IID_ISimpleCommandCreator;
319#if defined(__cplusplus) && !defined(CINTERFACE)
320 struct ISimpleCommandCreator : public IUnknown {
321 public:
322 virtual HRESULT WINAPI CreateICommand(IUnknown **ppIUnknown,IUnknown *pOuterUnk) = 0;
323 virtual HRESULT WINAPI VerifyCatalog(const WCHAR *pwszMachine,const WCHAR *pwszCatalogName) = 0;
324 virtual HRESULT WINAPI GetDefaultCatalog(WCHAR *pwszCatalogName,ULONG cwcIn,ULONG *pcwcOut) = 0;
325 };
326#else
327 typedef struct ISimpleCommandCreatorVtbl {
328 BEGIN_INTERFACE
329 HRESULT (WINAPI *QueryInterface)(ISimpleCommandCreator *This,REFIID riid,void **ppvObject);
330 ULONG (WINAPI *AddRef)(ISimpleCommandCreator *This);
331 ULONG (WINAPI *Release)(ISimpleCommandCreator *This);
332 HRESULT (WINAPI *CreateICommand)(ISimpleCommandCreator *This,IUnknown **ppIUnknown,IUnknown *pOuterUnk);
333 HRESULT (WINAPI *VerifyCatalog)(ISimpleCommandCreator *This,const WCHAR *pwszMachine,const WCHAR *pwszCatalogName);
334 HRESULT (WINAPI *GetDefaultCatalog)(ISimpleCommandCreator *This,WCHAR *pwszCatalogName,ULONG cwcIn,ULONG *pcwcOut);
335 END_INTERFACE
336 } ISimpleCommandCreatorVtbl;
337 struct ISimpleCommandCreator {
338 CONST_VTBL struct ISimpleCommandCreatorVtbl *lpVtbl;
339 };
340#ifdef COBJMACROS
341#define ISimpleCommandCreator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
342#define ISimpleCommandCreator_AddRef(This) (This)->lpVtbl->AddRef(This)
343#define ISimpleCommandCreator_Release(This) (This)->lpVtbl->Release(This)
344#define ISimpleCommandCreator_CreateICommand(This,ppIUnknown,pOuterUnk) (This)->lpVtbl->CreateICommand(This,ppIUnknown,pOuterUnk)
345#define ISimpleCommandCreator_VerifyCatalog(This,pwszMachine,pwszCatalogName) (This)->lpVtbl->VerifyCatalog(This,pwszMachine,pwszCatalogName)
346#define ISimpleCommandCreator_GetDefaultCatalog(This,pwszCatalogName,cwcIn,pcwcOut) (This)->lpVtbl->GetDefaultCatalog(This,pwszCatalogName,cwcIn,pcwcOut)
347#endif
348#endif
349 HRESULT WINAPI ISimpleCommandCreator_CreateICommand_Proxy(ISimpleCommandCreator *This,IUnknown **ppIUnknown,IUnknown *pOuterUnk);
350 void __RPC_STUB ISimpleCommandCreator_CreateICommand_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
351 HRESULT WINAPI ISimpleCommandCreator_VerifyCatalog_Proxy(ISimpleCommandCreator *This,const WCHAR *pwszMachine,const WCHAR *pwszCatalogName);
352 void __RPC_STUB ISimpleCommandCreator_VerifyCatalog_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
353 HRESULT WINAPI ISimpleCommandCreator_GetDefaultCatalog_Proxy(ISimpleCommandCreator *This,WCHAR *pwszCatalogName,ULONG cwcIn,ULONG *pcwcOut);
354 void __RPC_STUB ISimpleCommandCreator_GetDefaultCatalog_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
355#endif
356
357#define CLSID_CISimpleCommandCreator {0xc7b6c04a,0xcbb5,0x11d0,{0xbb,0x4c,0x0,0xc0,0x4f,0xc2,0xf4,0x10 } }
358 typedef struct tagDBID DBID;
359 typedef WORD DBTYPE;
360
361 extern RPC_IF_HANDLE __MIDL_itf_indexsrv_0131_v0_0_c_ifspec;
362 extern RPC_IF_HANDLE __MIDL_itf_indexsrv_0131_v0_0_s_ifspec;
363
364#ifndef __IColumnMapper_INTERFACE_DEFINED__
365#define __IColumnMapper_INTERFACE_DEFINED__
366 EXTERN_C const IID IID_IColumnMapper;
367#if defined(__cplusplus) && !defined(CINTERFACE)
368 struct IColumnMapper : public IUnknown {
369 public:
370 virtual HRESULT WINAPI GetPropInfoFromName(const WCHAR *wcsPropName,DBID **ppPropId,DBTYPE *pPropType,unsigned int *puiWidth) = 0;
371 virtual HRESULT WINAPI GetPropInfoFromId(const DBID *pPropId,WCHAR **pwcsName,DBTYPE *pPropType,unsigned int *puiWidth) = 0;
372 virtual HRESULT WINAPI EnumPropInfo(ULONG iEntry,const WCHAR **pwcsName,DBID **ppPropId,DBTYPE *pPropType,unsigned int *puiWidth) = 0;
373 virtual HRESULT WINAPI IsMapUpToDate(void) = 0;
374 };
375#else
376 typedef struct IColumnMapperVtbl {
377 BEGIN_INTERFACE
378 HRESULT (WINAPI *QueryInterface)(IColumnMapper *This,REFIID riid,void **ppvObject);
379 ULONG (WINAPI *AddRef)(IColumnMapper *This);
380 ULONG (WINAPI *Release)(IColumnMapper *This);
381 HRESULT (WINAPI *GetPropInfoFromName)(IColumnMapper *This,const WCHAR *wcsPropName,DBID **ppPropId,DBTYPE *pPropType,unsigned int *puiWidth);
382 HRESULT (WINAPI *GetPropInfoFromId)(IColumnMapper *This,const DBID *pPropId,WCHAR **pwcsName,DBTYPE *pPropType,unsigned int *puiWidth);
383 HRESULT (WINAPI *EnumPropInfo)(IColumnMapper *This,ULONG iEntry,const WCHAR **pwcsName,DBID **ppPropId,DBTYPE *pPropType,unsigned int *puiWidth);
384 HRESULT (WINAPI *IsMapUpToDate)(IColumnMapper *This);
385 END_INTERFACE
386 } IColumnMapperVtbl;
387 struct IColumnMapper {
388 CONST_VTBL struct IColumnMapperVtbl *lpVtbl;
389 };
390#ifdef COBJMACROS
391#define IColumnMapper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
392#define IColumnMapper_AddRef(This) (This)->lpVtbl->AddRef(This)
393#define IColumnMapper_Release(This) (This)->lpVtbl->Release(This)
394#define IColumnMapper_GetPropInfoFromName(This,wcsPropName,ppPropId,pPropType,puiWidth) (This)->lpVtbl->GetPropInfoFromName(This,wcsPropName,ppPropId,pPropType,puiWidth)
395#define IColumnMapper_GetPropInfoFromId(This,pPropId,pwcsName,pPropType,puiWidth) (This)->lpVtbl->GetPropInfoFromId(This,pPropId,pwcsName,pPropType,puiWidth)
396#define IColumnMapper_EnumPropInfo(This,iEntry,pwcsName,ppPropId,pPropType,puiWidth) (This)->lpVtbl->EnumPropInfo(This,iEntry,pwcsName,ppPropId,pPropType,puiWidth)
397#define IColumnMapper_IsMapUpToDate(This) (This)->lpVtbl->IsMapUpToDate(This)
398#endif
399#endif
400 HRESULT WINAPI IColumnMapper_GetPropInfoFromName_Proxy(IColumnMapper *This,const WCHAR *wcsPropName,DBID **ppPropId,DBTYPE *pPropType,unsigned int *puiWidth);
401 void __RPC_STUB IColumnMapper_GetPropInfoFromName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
402 HRESULT WINAPI IColumnMapper_GetPropInfoFromId_Proxy(IColumnMapper *This,const DBID *pPropId,WCHAR **pwcsName,DBTYPE *pPropType,unsigned int *puiWidth);
403 void __RPC_STUB IColumnMapper_GetPropInfoFromId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
404 HRESULT WINAPI IColumnMapper_EnumPropInfo_Proxy(IColumnMapper *This,ULONG iEntry,const WCHAR **pwcsName,DBID **ppPropId,DBTYPE *pPropType,unsigned int *puiWidth);
405 void __RPC_STUB IColumnMapper_EnumPropInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
406 HRESULT WINAPI IColumnMapper_IsMapUpToDate_Proxy(IColumnMapper *This);
407 void __RPC_STUB IColumnMapper_IsMapUpToDate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
408#endif
409
410#define LOCAL_MACHINE (L".")
411#define SYSTEM_DEFAULT_CAT (L"__SystemDefault__")
412#define INDEX_SERVER_DEFAULT_CAT (L"__IndexServerDefault__")
413
414 extern RPC_IF_HANDLE __MIDL_itf_indexsrv_0132_v0_0_c_ifspec;
415 extern RPC_IF_HANDLE __MIDL_itf_indexsrv_0132_v0_0_s_ifspec;
416
417#ifndef __IColumnMapperCreator_INTERFACE_DEFINED__
418#define __IColumnMapperCreator_INTERFACE_DEFINED__
419 EXTERN_C const IID IID_IColumnMapperCreator;
420#if defined(__cplusplus) && !defined(CINTERFACE)
421 struct IColumnMapperCreator : public IUnknown {
422 public:
423 virtual HRESULT WINAPI GetColumnMapper(const WCHAR *wcsMachineName,const WCHAR *wcsCatalogName,IColumnMapper **ppColumnMapper) = 0;
424 };
425#else
426 typedef struct IColumnMapperCreatorVtbl {
427 BEGIN_INTERFACE
428 HRESULT (WINAPI *QueryInterface)(IColumnMapperCreator *This,REFIID riid,void **ppvObject);
429 ULONG (WINAPI *AddRef)(IColumnMapperCreator *This);
430 ULONG (WINAPI *Release)(IColumnMapperCreator *This);
431 HRESULT (WINAPI *GetColumnMapper)(IColumnMapperCreator *This,const WCHAR *wcsMachineName,const WCHAR *wcsCatalogName,IColumnMapper **ppColumnMapper);
432 END_INTERFACE
433 } IColumnMapperCreatorVtbl;
434 struct IColumnMapperCreator {
435 CONST_VTBL struct IColumnMapperCreatorVtbl *lpVtbl;
436 };
437#ifdef COBJMACROS
438#define IColumnMapperCreator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
439#define IColumnMapperCreator_AddRef(This) (This)->lpVtbl->AddRef(This)
440#define IColumnMapperCreator_Release(This) (This)->lpVtbl->Release(This)
441#define IColumnMapperCreator_GetColumnMapper(This,wcsMachineName,wcsCatalogName,ppColumnMapper) (This)->lpVtbl->GetColumnMapper(This,wcsMachineName,wcsCatalogName,ppColumnMapper)
442#endif
443#endif
444 HRESULT WINAPI IColumnMapperCreator_GetColumnMapper_Proxy(IColumnMapperCreator *This,const WCHAR *wcsMachineName,const WCHAR *wcsCatalogName,IColumnMapper **ppColumnMapper);
445 void __RPC_STUB IColumnMapperCreator_GetColumnMapper_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
446#endif
447
448#ifdef __cplusplus
449}
450#endif
451#endif
Note: See TracBrowser for help on using the repository browser.