1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for filter.idl:
8       Oicf, W1, Zp8, env=Win32 (32b run)
9       protocol : dce , ms_ext, c_ext, robust
10       error checks: allocation ref bounds_check enum stub_data 
11       VC __declspec() decoration level: 
12                __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13                DECLSPEC_UUID(), MIDL_INTERFACE()
14 */
15 //@@MIDL_FILE_HEADING(  )
16
17 #pragma warning( disable: 4049 )  /* more than 64k source lines */
18
19
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 500
23 #endif
24
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
29
30 #include "rpc.h"
31 #include "rpcndr.h"
32
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
36
37 #ifndef COM_NO_WINDOWS_H
38 #include "windows.h"
39 #include "ole2.h"
40 #endif /*COM_NO_WINDOWS_H*/
41
42 #ifndef __filter_h__
43 #define __filter_h__
44
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
48
49 /* Forward Declarations */ 
50
51 #ifndef __IFilter_FWD_DEFINED__
52 #define __IFilter_FWD_DEFINED__
53 typedef interface IFilter IFilter;
54 #endif     /* __IFilter_FWD_DEFINED__ */
55
56
57 /* header files for imported files */
58 #include "unknwn.h"
59 #include "objidl.h"
60 #include "propidl.h"
61
62 #ifdef __cplusplus
63 extern "C"{
64 #endif 
65
66
67 /* interface __MIDL_itf_filter_0000_0000 */
68 /* [local] */ 
69
70 //+-------------------------------------------------------------------------
71 //
72 //  Microsoft Windows
73 //  Copyright (C) Microsoft Corporation, 1993-1998.
74 //
75 //--------------------------------------------------------------------------
76 #if !defined(_TAGFULLPROPSPEC_DEFINED_)
77 #define _TAGFULLPROPSPEC_DEFINED_
78 typedef struct tagFULLPROPSPEC
79       {
80       GUID guidPropSet;
81       PROPSPEC psProperty;
82       }     FULLPROPSPEC;
83
84 #endif // #if !defined(_TAGFULLPROPSPEC_DEFINED_)
85
86
87 extern RPC_IF_HANDLE __MIDL_itf_filter_0000_0000_v0_0_c_ifspec;
88 extern RPC_IF_HANDLE __MIDL_itf_filter_0000_0000_v0_0_s_ifspec;
89
90 #ifndef __IFilter_INTERFACE_DEFINED__
91 #define __IFilter_INTERFACE_DEFINED__
92
93 /* interface IFilter */
94 /* [unique][uuid][object][local] */ 
95
96 #ifndef _tagIFILTER_INIT_DEFINED
97 typedef 
98 enum tagIFILTER_INIT
99       {    IFILTER_INIT_CANON_PARAGRAPHS    = 1,
100     IFILTER_INIT_HARD_LINE_BREAKS    = 2,
101     IFILTER_INIT_CANON_HYPHENS    = 4,
102     IFILTER_INIT_CANON_SPACES    = 8,
103     IFILTER_INIT_APPLY_INDEX_ATTRIBUTES    = 16,
104     IFILTER_INIT_APPLY_OTHER_ATTRIBUTES    = 32,
105     IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES    = 256,
106     IFILTER_INIT_INDEXING_ONLY    = 64,
107     IFILTER_INIT_SEARCH_LINKS    = 128,
108     IFILTER_INIT_FILTER_OWNED_VALUE_OK    = 512,
109     IFILTER_INIT_FILTER_AGGRESSIVE_BREAK    = 1024,
110     IFILTER_INIT_DISABLE_EMBEDDED    = 2048,
111     IFILTER_INIT_EMIT_FORMATTING    = 4096
112       }     IFILTER_INIT;
113
114 #define _tagIFILTER_INIT_DEFINED
115 #define _IFILTER_INIT_DEFINED
116 #endif
117 #ifndef _tagIFILTER_FLAGS_DEFINED
118 typedef 
119 enum tagIFILTER_FLAGS
120       {    IFILTER_FLAGS_OLE_PROPERTIES    = 1
121       }     IFILTER_FLAGS;
122
123 #define _tagIFILTER_FLAGS_DEFINED
124 #define _IFILTER_FLAGS_DEFINED
125 #endif
126 #ifndef _tagCHUNKSTATE_DEFINED
127 typedef 
128 enum tagCHUNKSTATE
129       {    CHUNK_TEXT    = 0x1,
130     CHUNK_VALUE    = 0x2,
131     CHUNK_FILTER_OWNED_VALUE    = 0x4
132       }     CHUNKSTATE;
133
134 #define _tagCHUNKSTATE_DEFINED
135 #define _CHUNKSTATE_DEFINED
136 #endif
137 #ifndef _tagCHUNK_BREAKTYPE_DEFINED
138 typedef 
139 enum tagCHUNK_BREAKTYPE
140       {    CHUNK_NO_BREAK    = 0,
141     CHUNK_EOW    = 1,
142     CHUNK_EOS    = 2,
143     CHUNK_EOP    = 3,
144     CHUNK_EOC    = 4
145       }     CHUNK_BREAKTYPE;
146
147 #define _tagCHUNK_BREAKTYPE_DEFINED
148 #define _CHUNK_BREAKTYPE_DEFINED
149 #endif
150 #ifndef _tagFILTERREGION_DEFINED
151 typedef struct tagFILTERREGION
152       {
153       ULONG idChunk;
154       ULONG cwcStart;
155       ULONG cwcExtent;
156       }     FILTERREGION;
157
158 #define _tagFILTERREGION_DEFINED
159 #define _FILTERREGION_DEFINED
160 #endif
161 #ifndef _tagSTAT_CHUNK_DEFINED
162 typedef struct tagSTAT_CHUNK
163       {
Lines 164 ... 173 are skipped.
174 #define _tagSTAT_CHUNK_DEFINED
175 #define _STAT_CHUNK_DEFINED
176 #endif
177
178 EXTERN_C const IID IID_IFilter;
179
180 #if defined(__cplusplus) && !defined(CINTERFACE)
181       
182       MIDL_INTERFACE("89BCB740-6119-101A-BCB7-00DD010655AF")
183       IFilter : public IUnknown
184       {
185       public:
186              virtual SCODE STDMETHODCALLTYPE Init( 
187                     /* [in] */ ULONG grfFlags,
188                     /* [in] */ ULONG cAttributes,
189                     /* [size_is][in] */ const FULLPROPSPEC *aAttributes,
190                     /* [out] */ ULONG *pFlags) = 0;
191              
192              virtual SCODE STDMETHODCALLTYPE GetChunk( 
193                     /* [out] */ STAT_CHUNK *pStat) = 0;
194              
195              virtual SCODE STDMETHODCALLTYPE GetText( 
196                     /* [out][in] */ ULONG *pcwcBuffer,
197                     /* [size_is][out] */ WCHAR *awcBuffer) = 0;
198              
199              virtual SCODE STDMETHODCALLTYPE GetValue( 
200                     /* [out] */ PROPVARIANT **ppPropValue) = 0;
201              
202              virtual SCODE STDMETHODCALLTYPE BindRegion( 
203                     /* [in] */ FILTERREGION origPos,
204                     /* [in] */ REFIID riid,
205                     /* [out] */ void **ppunk) = 0;
206              
207       };
208       
209 #else     /* C style interface */
210
211       typedef struct IFilterVtbl
212       {
213              BEGIN_INTERFACE
214              
215              HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
216                     IFilter * This,
217                     /* [in] */ REFIID riid,
218                     /* [iid_is][out] */ 
219                     __RPC__deref_out  void **ppvObject);
220              
221              ULONG ( STDMETHODCALLTYPE *AddRef )( 
222                     IFilter * This);
223              
224              ULONG ( STDMETHODCALLTYPE *Release )( 
225                     IFilter * This);
226              
227              SCODE ( STDMETHODCALLTYPE *Init )( 
228                     IFilter * This,
229                     /* [in] */ ULONG grfFlags,
230                     /* [in] */ ULONG cAttributes,
231                     /* [size_is][in] */ const FULLPROPSPEC *aAttributes,
232                     /* [out] */ ULONG *pFlags);
233              
234              SCODE ( STDMETHODCALLTYPE *GetChunk )( 
235                     IFilter * This,
236                     /* [out] */ STAT_CHUNK *pStat);
237              
238              SCODE ( STDMETHODCALLTYPE *GetText )( 
239                     IFilter * This,
240                     /* [out][in] */ ULONG *pcwcBuffer,
241                     /* [size_is][out] */ WCHAR *awcBuffer);
242              
243              SCODE ( STDMETHODCALLTYPE *GetValue )( 
244                     IFilter * This,
245                     /* [out] */ PROPVARIANT **ppPropValue);
246              
247              SCODE ( STDMETHODCALLTYPE *BindRegion )( 
248                     IFilter * This,
249                     /* [in] */ FILTERREGION origPos,
250                     /* [in] */ REFIID riid,
251                     /* [out] */ void **ppunk);
252              
253              END_INTERFACE
254       } IFilterVtbl;
255
256       interface IFilter
257       {
258              CONST_VTBL struct IFilterVtbl *lpVtbl;
259       };
260
261       
262
263 #ifdef COBJMACROS
264
265
266 #define IFilter_QueryInterface(This,riid,ppvObject)    \
267       ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
268
269 #define IFilter_AddRef(This)    \
270       ( (This)->lpVtbl -> AddRef(This) ) 
271
272 #define IFilter_Release(This)    \
273       ( (This)->lpVtbl -> Release(This) ) 
274
275
276 #define IFilter_Init(This,grfFlags,cAttributes,aAttributes,pFlags)    \
277       ( (This)->lpVtbl -> Init(This,grfFlags,cAttributes,aAttributes,pFlags) ) 
278
279 #define IFilter_GetChunk(This,pStat)    \
280       ( (This)->lpVtbl -> GetChunk(This,pStat) ) 
281
282 #define IFilter_GetText(This,pcwcBuffer,awcBuffer)    \
283       ( (This)->lpVtbl -> GetText(This,pcwcBuffer,awcBuffer) ) 
284
285 #define IFilter_GetValue(This,ppPropValue)    \
286       ( (This)->lpVtbl -> GetValue(This,ppPropValue) ) 
287
288 #define IFilter_BindRegion(This,origPos,riid,ppunk)    \
289       ( (This)->lpVtbl -> BindRegion(This,origPos,riid,ppunk) ) 
290
291 #endif /* COBJMACROS */
292
293
294 #endif     /* C style interface */
295
296
297
298
299 #endif     /* __IFilter_INTERFACE_DEFINED__ */
300
301
302 /* Additional Prototypes for ALL interfaces */
303
304 /* end of Additional Prototypes */
305
306 #ifdef __cplusplus
307 }
308 #endif
309
310 #endif
311
312
313
314