Fix compile error on non-i386.
[wine.git] / include / shldisp.h
blob2c07317958b7b7a2abcab8898675e22204f6385d
1 /*** Autogenerated by WIDL 0.1 from shldisp.idl - Do not edit ***/
2 #include <rpc.h>
3 #include <rpcndr.h>
5 #ifndef __WIDL_SHLDISP_H
6 #define __WIDL_SHLDISP_H
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #include <objidl.h>
11 #include <oleidl.h>
12 #include <oaidl.h>
13 #include <shtypes.h>
14 #include <servprov.h>
15 #include <comcat.h>
16 #ifndef __IAutoComplete_FWD_DEFINED__
17 #define __IAutoComplete_FWD_DEFINED__
18 typedef struct IAutoComplete IAutoComplete;
19 #endif
21 typedef IAutoComplete *LPAUTOCOMPLETE;
23 /*****************************************************************************
24 * IAutoComplete interface
26 #ifndef __IAutoComplete_INTERFACE_DEFINED__
27 #define __IAutoComplete_INTERFACE_DEFINED__
29 DEFINE_GUID(IID_IAutoComplete, 0x00bb2762, 0x6a77, 0x11d0, 0xa5,0x35, 0x00,0xc0,0x4f,0xd7,0xd0,0x62);
30 #if defined(__cplusplus) && !defined(CINTERFACE)
31 struct IAutoComplete : public IUnknown
33 virtual HRESULT STDMETHODCALLTYPE Init(
34 HWND hwndEdit,
35 IUnknown* punkACL,
36 LPCOLESTR pwszRegKeyPath,
37 LPCOLESTR pwszQuickComplete) = 0;
39 virtual HRESULT STDMETHODCALLTYPE Enable(
40 BOOL fEnable) = 0;
43 #else
44 typedef struct IAutoCompleteVtbl IAutoCompleteVtbl;
45 struct IAutoComplete {
46 const IAutoCompleteVtbl* lpVtbl;
48 struct IAutoCompleteVtbl {
49 ICOM_MSVTABLE_COMPAT_FIELDS
51 /*** IUnknown methods ***/
52 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
53 IAutoComplete* This,
54 REFIID riid,
55 void** ppvObject);
57 ULONG (STDMETHODCALLTYPE *AddRef)(
58 IAutoComplete* This);
60 ULONG (STDMETHODCALLTYPE *Release)(
61 IAutoComplete* This);
63 /*** IAutoComplete methods ***/
64 HRESULT (STDMETHODCALLTYPE *Init)(
65 IAutoComplete* This,
66 HWND hwndEdit,
67 IUnknown* punkACL,
68 LPCOLESTR pwszRegKeyPath,
69 LPCOLESTR pwszQuickComplete);
71 HRESULT (STDMETHODCALLTYPE *Enable)(
72 IAutoComplete* This,
73 BOOL fEnable);
77 /*** IUnknown methods ***/
78 #define IAutoComplete_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
79 #define IAutoComplete_AddRef(p) (p)->lpVtbl->AddRef(p)
80 #define IAutoComplete_Release(p) (p)->lpVtbl->Release(p)
81 /*** IAutoComplete methods ***/
82 #define IAutoComplete_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d)
83 #define IAutoComplete_Enable(p,a) (p)->lpVtbl->Enable(p,a)
85 #endif
87 #define IAutoComplete_METHODS \
88 ICOM_MSVTABLE_COMPAT_FIELDS \
89 /*** IUnknown methods ***/ \
90 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
91 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
92 STDMETHOD_(ULONG,Release)(THIS) PURE; \
93 /*** IAutoComplete methods ***/ \
94 STDMETHOD_(HRESULT,Init)(THIS_ HWND hwndEdit, IUnknown* punkACL, LPCOLESTR pwszRegKeyPath, LPCOLESTR pwszQuickComplete) PURE; \
95 STDMETHOD_(HRESULT,Enable)(THIS_ BOOL fEnable) PURE;
97 HRESULT CALLBACK IAutoComplete_Init_Proxy(
98 IAutoComplete* This,
99 HWND hwndEdit,
100 IUnknown* punkACL,
101 LPCOLESTR pwszRegKeyPath,
102 LPCOLESTR pwszQuickComplete);
103 void __RPC_STUB IAutoComplete_Init_Stub(
104 struct IRpcStubBuffer* This,
105 struct IRpcChannelBuffer* pRpcChannelBuffer,
106 PRPC_MESSAGE pRpcMessage,
107 DWORD* pdwStubPhase);
108 HRESULT CALLBACK IAutoComplete_Enable_Proxy(
109 IAutoComplete* This,
110 BOOL fEnable);
111 void __RPC_STUB IAutoComplete_Enable_Stub(
112 struct IRpcStubBuffer* This,
113 struct IRpcChannelBuffer* pRpcChannelBuffer,
114 PRPC_MESSAGE pRpcMessage,
115 DWORD* pdwStubPhase);
117 #endif /* __IAutoComplete_INTERFACE_DEFINED__ */
119 #ifndef __IAutoComplete2_FWD_DEFINED__
120 #define __IAutoComplete2_FWD_DEFINED__
121 typedef struct IAutoComplete2 IAutoComplete2;
122 #endif
124 typedef IAutoComplete2 *LPAUTOCOMPLETE2;
126 typedef enum _tagAUTOCOMPLETEOPTIONS {
127 ACO_NONE = 0x0,
128 ACO_AUTOSUGGEST = 0x1,
129 ACO_AUTOAPPEND = 0x2,
130 ACO_SEARCH = 0x4,
131 ACO_FILTERPREFIXES = 0x8,
132 ACO_USETAB = 0x10,
133 ACO_UPDOWNKEYDROPSLIST = 0x20,
134 ACO_RTLREADING = 0x40
135 } AUTOCOMPLETEOPTIONS;
137 /*****************************************************************************
138 * IAutoComplete2 interface
140 #ifndef __IAutoComplete2_INTERFACE_DEFINED__
141 #define __IAutoComplete2_INTERFACE_DEFINED__
143 DEFINE_GUID(IID_IAutoComplete2, 0xeac04bc0, 0x3791, 0x11d2, 0xbb,0x95, 0x00,0x60,0x97,0x7b,0x46,0x4c);
144 #if defined(__cplusplus) && !defined(CINTERFACE)
145 struct IAutoComplete2 : public IAutoComplete
147 virtual HRESULT STDMETHODCALLTYPE SetOptions(
148 DWORD dwFlag) = 0;
150 virtual HRESULT STDMETHODCALLTYPE GetOptions(
151 DWORD* pdwFlag) = 0;
154 #else
155 typedef struct IAutoComplete2Vtbl IAutoComplete2Vtbl;
156 struct IAutoComplete2 {
157 const IAutoComplete2Vtbl* lpVtbl;
159 struct IAutoComplete2Vtbl {
160 ICOM_MSVTABLE_COMPAT_FIELDS
162 /*** IUnknown methods ***/
163 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
164 IAutoComplete2* This,
165 REFIID riid,
166 void** ppvObject);
168 ULONG (STDMETHODCALLTYPE *AddRef)(
169 IAutoComplete2* This);
171 ULONG (STDMETHODCALLTYPE *Release)(
172 IAutoComplete2* This);
174 /*** IAutoComplete methods ***/
175 HRESULT (STDMETHODCALLTYPE *Init)(
176 IAutoComplete2* This,
177 HWND hwndEdit,
178 IUnknown* punkACL,
179 LPCOLESTR pwszRegKeyPath,
180 LPCOLESTR pwszQuickComplete);
182 HRESULT (STDMETHODCALLTYPE *Enable)(
183 IAutoComplete2* This,
184 BOOL fEnable);
186 /*** IAutoComplete2 methods ***/
187 HRESULT (STDMETHODCALLTYPE *SetOptions)(
188 IAutoComplete2* This,
189 DWORD dwFlag);
191 HRESULT (STDMETHODCALLTYPE *GetOptions)(
192 IAutoComplete2* This,
193 DWORD* pdwFlag);
197 /*** IUnknown methods ***/
198 #define IAutoComplete2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
199 #define IAutoComplete2_AddRef(p) (p)->lpVtbl->AddRef(p)
200 #define IAutoComplete2_Release(p) (p)->lpVtbl->Release(p)
201 /*** IAutoComplete methods ***/
202 #define IAutoComplete2_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d)
203 #define IAutoComplete2_Enable(p,a) (p)->lpVtbl->Enable(p,a)
204 /*** IAutoComplete2 methods ***/
205 #define IAutoComplete2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a)
206 #define IAutoComplete2_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a)
208 #endif
210 #define IAutoComplete2_METHODS \
211 ICOM_MSVTABLE_COMPAT_FIELDS \
212 /*** IUnknown methods ***/ \
213 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
214 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
215 STDMETHOD_(ULONG,Release)(THIS) PURE; \
216 /*** IAutoComplete methods ***/ \
217 STDMETHOD_(HRESULT,Init)(THIS_ HWND hwndEdit, IUnknown* punkACL, LPCOLESTR pwszRegKeyPath, LPCOLESTR pwszQuickComplete) PURE; \
218 STDMETHOD_(HRESULT,Enable)(THIS_ BOOL fEnable) PURE; \
219 /*** IAutoComplete2 methods ***/ \
220 STDMETHOD_(HRESULT,SetOptions)(THIS_ DWORD dwFlag) PURE; \
221 STDMETHOD_(HRESULT,GetOptions)(THIS_ DWORD* pdwFlag) PURE;
223 HRESULT CALLBACK IAutoComplete2_SetOptions_Proxy(
224 IAutoComplete2* This,
225 DWORD dwFlag);
226 void __RPC_STUB IAutoComplete2_SetOptions_Stub(
227 struct IRpcStubBuffer* This,
228 struct IRpcChannelBuffer* pRpcChannelBuffer,
229 PRPC_MESSAGE pRpcMessage,
230 DWORD* pdwStubPhase);
231 HRESULT CALLBACK IAutoComplete2_GetOptions_Proxy(
232 IAutoComplete2* This,
233 DWORD* pdwFlag);
234 void __RPC_STUB IAutoComplete2_GetOptions_Stub(
235 struct IRpcStubBuffer* This,
236 struct IRpcChannelBuffer* pRpcChannelBuffer,
237 PRPC_MESSAGE pRpcMessage,
238 DWORD* pdwStubPhase);
240 #endif /* __IAutoComplete2_INTERFACE_DEFINED__ */
242 #ifndef __IFolderViewOC_FWD_DEFINED__
243 #define __IFolderViewOC_FWD_DEFINED__
244 typedef struct IFolderViewOC IFolderViewOC;
245 #endif
247 /*****************************************************************************
248 * IFolderViewOC interface
250 #ifndef __IFolderViewOC_INTERFACE_DEFINED__
251 #define __IFolderViewOC_INTERFACE_DEFINED__
253 DEFINE_GUID(IID_IFolderViewOC, 0x9ba05970, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39);
254 #if defined(__cplusplus) && !defined(CINTERFACE)
255 struct IFolderViewOC : public IDispatch
257 virtual HRESULT STDMETHODCALLTYPE SetFolderView(
258 IDispatch* pdisp) = 0;
261 #else
262 typedef struct IFolderViewOCVtbl IFolderViewOCVtbl;
263 struct IFolderViewOC {
264 const IFolderViewOCVtbl* lpVtbl;
266 struct IFolderViewOCVtbl {
267 ICOM_MSVTABLE_COMPAT_FIELDS
269 /*** IUnknown methods ***/
270 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
271 IFolderViewOC* This,
272 REFIID riid,
273 void** ppvObject);
275 ULONG (STDMETHODCALLTYPE *AddRef)(
276 IFolderViewOC* This);
278 ULONG (STDMETHODCALLTYPE *Release)(
279 IFolderViewOC* This);
281 /*** IDispatch methods ***/
282 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
283 IFolderViewOC* This,
284 UINT* pctinfo);
286 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
287 IFolderViewOC* This,
288 UINT iTInfo,
289 LCID lcid,
290 ITypeInfo** ppTInfo);
292 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
293 IFolderViewOC* This,
294 REFIID riid,
295 LPOLESTR* rgszNames,
296 UINT cNames,
297 LCID lcid,
298 DISPID* rgDispId);
300 HRESULT (STDMETHODCALLTYPE *Invoke)(
301 IFolderViewOC* This,
302 DISPID dispIdMember,
303 REFIID riid,
304 LCID lcid,
305 WORD wFlags,
306 DISPPARAMS* pDispParams,
307 VARIANT* pVarResult,
308 EXCEPINFO* pExcepInfo,
309 UINT* puArgErr);
311 /*** IFolderViewOC methods ***/
312 HRESULT (STDMETHODCALLTYPE *SetFolderView)(
313 IFolderViewOC* This,
314 IDispatch* pdisp);
318 /*** IUnknown methods ***/
319 #define IFolderViewOC_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
320 #define IFolderViewOC_AddRef(p) (p)->lpVtbl->AddRef(p)
321 #define IFolderViewOC_Release(p) (p)->lpVtbl->Release(p)
322 /*** IDispatch methods ***/
323 #define IFolderViewOC_GetTypeInfoCount(p,a) (p)->lpVtbl->GetTypeInfoCount(p,a)
324 #define IFolderViewOC_GetTypeInfo(p,a,b,c) (p)->lpVtbl->GetTypeInfo(p,a,b,c)
325 #define IFolderViewOC_GetIDsOfNames(p,a,b,c,d,e) (p)->lpVtbl->GetIDsOfNames(p,a,b,c,d,e)
326 #define IFolderViewOC_Invoke(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Invoke(p,a,b,c,d,e,f,g,h)
327 /*** IFolderViewOC methods ***/
328 #define IFolderViewOC_SetFolderView(p,a) (p)->lpVtbl->SetFolderView(p,a)
330 #endif
332 #define IFolderViewOC_METHODS \
333 ICOM_MSVTABLE_COMPAT_FIELDS \
334 /*** IUnknown methods ***/ \
335 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
336 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
337 STDMETHOD_(ULONG,Release)(THIS) PURE; \
338 /*** IDispatch methods ***/ \
339 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT* pctinfo) PURE; \
340 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) PURE; \
341 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) PURE; \
342 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) PURE; \
343 /*** IFolderViewOC methods ***/ \
344 STDMETHOD_(HRESULT,SetFolderView)(THIS_ IDispatch* pdisp) PURE;
346 HRESULT CALLBACK IFolderViewOC_SetFolderView_Proxy(
347 IFolderViewOC* This,
348 IDispatch* pdisp);
349 void __RPC_STUB IFolderViewOC_SetFolderView_Stub(
350 struct IRpcStubBuffer* This,
351 struct IRpcChannelBuffer* pRpcChannelBuffer,
352 PRPC_MESSAGE pRpcMessage,
353 DWORD* pdwStubPhase);
355 #endif /* __IFolderViewOC_INTERFACE_DEFINED__ */
357 #ifdef __cplusplus
359 #endif
360 #endif /* __WIDL_SHLDISP_H */