Return error from low level driver when necessary.
[wine/multimedia.git] / include / shldisp.h
blob0d0d86a261987c206457aca31186037766a812c3
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 BEGIN_INTERFACE
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);
75 END_INTERFACE
78 #ifdef COBJMACROS
79 /*** IUnknown methods ***/
80 #define IAutoComplete_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
81 #define IAutoComplete_AddRef(p) (p)->lpVtbl->AddRef(p)
82 #define IAutoComplete_Release(p) (p)->lpVtbl->Release(p)
83 /*** IAutoComplete methods ***/
84 #define IAutoComplete_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d)
85 #define IAutoComplete_Enable(p,a) (p)->lpVtbl->Enable(p,a)
86 #endif
88 #endif
90 #define IAutoComplete_METHODS \
91 /*** IUnknown methods ***/ \
92 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
93 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
94 STDMETHOD_(ULONG,Release)(THIS) PURE; \
95 /*** IAutoComplete methods ***/ \
96 STDMETHOD_(HRESULT,Init)(THIS_ HWND hwndEdit, IUnknown* punkACL, LPCOLESTR pwszRegKeyPath, LPCOLESTR pwszQuickComplete) PURE; \
97 STDMETHOD_(HRESULT,Enable)(THIS_ BOOL fEnable) PURE;
99 HRESULT CALLBACK IAutoComplete_Init_Proxy(
100 IAutoComplete* This,
101 HWND hwndEdit,
102 IUnknown* punkACL,
103 LPCOLESTR pwszRegKeyPath,
104 LPCOLESTR pwszQuickComplete);
105 void __RPC_STUB IAutoComplete_Init_Stub(
106 struct IRpcStubBuffer* This,
107 struct IRpcChannelBuffer* pRpcChannelBuffer,
108 PRPC_MESSAGE pRpcMessage,
109 DWORD* pdwStubPhase);
110 HRESULT CALLBACK IAutoComplete_Enable_Proxy(
111 IAutoComplete* This,
112 BOOL fEnable);
113 void __RPC_STUB IAutoComplete_Enable_Stub(
114 struct IRpcStubBuffer* This,
115 struct IRpcChannelBuffer* pRpcChannelBuffer,
116 PRPC_MESSAGE pRpcMessage,
117 DWORD* pdwStubPhase);
119 #endif /* __IAutoComplete_INTERFACE_DEFINED__ */
121 #ifndef __IAutoComplete2_FWD_DEFINED__
122 #define __IAutoComplete2_FWD_DEFINED__
123 typedef struct IAutoComplete2 IAutoComplete2;
124 #endif
126 typedef IAutoComplete2 *LPAUTOCOMPLETE2;
128 typedef enum _tagAUTOCOMPLETEOPTIONS {
129 ACO_NONE = 0x0,
130 ACO_AUTOSUGGEST = 0x1,
131 ACO_AUTOAPPEND = 0x2,
132 ACO_SEARCH = 0x4,
133 ACO_FILTERPREFIXES = 0x8,
134 ACO_USETAB = 0x10,
135 ACO_UPDOWNKEYDROPSLIST = 0x20,
136 ACO_RTLREADING = 0x40
137 } AUTOCOMPLETEOPTIONS;
139 /*****************************************************************************
140 * IAutoComplete2 interface
142 #ifndef __IAutoComplete2_INTERFACE_DEFINED__
143 #define __IAutoComplete2_INTERFACE_DEFINED__
145 DEFINE_GUID(IID_IAutoComplete2, 0xeac04bc0, 0x3791, 0x11d2, 0xbb,0x95, 0x00,0x60,0x97,0x7b,0x46,0x4c);
146 #if defined(__cplusplus) && !defined(CINTERFACE)
147 struct IAutoComplete2 : public IAutoComplete
149 virtual HRESULT STDMETHODCALLTYPE SetOptions(
150 DWORD dwFlag) = 0;
152 virtual HRESULT STDMETHODCALLTYPE GetOptions(
153 DWORD* pdwFlag) = 0;
156 #else
157 typedef struct IAutoComplete2Vtbl IAutoComplete2Vtbl;
158 struct IAutoComplete2 {
159 const IAutoComplete2Vtbl* lpVtbl;
161 struct IAutoComplete2Vtbl {
162 BEGIN_INTERFACE
164 /*** IUnknown methods ***/
165 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
166 IAutoComplete2* This,
167 REFIID riid,
168 void** ppvObject);
170 ULONG (STDMETHODCALLTYPE *AddRef)(
171 IAutoComplete2* This);
173 ULONG (STDMETHODCALLTYPE *Release)(
174 IAutoComplete2* This);
176 /*** IAutoComplete methods ***/
177 HRESULT (STDMETHODCALLTYPE *Init)(
178 IAutoComplete2* This,
179 HWND hwndEdit,
180 IUnknown* punkACL,
181 LPCOLESTR pwszRegKeyPath,
182 LPCOLESTR pwszQuickComplete);
184 HRESULT (STDMETHODCALLTYPE *Enable)(
185 IAutoComplete2* This,
186 BOOL fEnable);
188 /*** IAutoComplete2 methods ***/
189 HRESULT (STDMETHODCALLTYPE *SetOptions)(
190 IAutoComplete2* This,
191 DWORD dwFlag);
193 HRESULT (STDMETHODCALLTYPE *GetOptions)(
194 IAutoComplete2* This,
195 DWORD* pdwFlag);
197 END_INTERFACE
200 #ifdef COBJMACROS
201 /*** IUnknown methods ***/
202 #define IAutoComplete2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
203 #define IAutoComplete2_AddRef(p) (p)->lpVtbl->AddRef(p)
204 #define IAutoComplete2_Release(p) (p)->lpVtbl->Release(p)
205 /*** IAutoComplete methods ***/
206 #define IAutoComplete2_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d)
207 #define IAutoComplete2_Enable(p,a) (p)->lpVtbl->Enable(p,a)
208 /*** IAutoComplete2 methods ***/
209 #define IAutoComplete2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a)
210 #define IAutoComplete2_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a)
211 #endif
213 #endif
215 #define IAutoComplete2_METHODS \
216 /*** IUnknown methods ***/ \
217 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
218 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
219 STDMETHOD_(ULONG,Release)(THIS) PURE; \
220 /*** IAutoComplete methods ***/ \
221 STDMETHOD_(HRESULT,Init)(THIS_ HWND hwndEdit, IUnknown* punkACL, LPCOLESTR pwszRegKeyPath, LPCOLESTR pwszQuickComplete) PURE; \
222 STDMETHOD_(HRESULT,Enable)(THIS_ BOOL fEnable) PURE; \
223 /*** IAutoComplete2 methods ***/ \
224 STDMETHOD_(HRESULT,SetOptions)(THIS_ DWORD dwFlag) PURE; \
225 STDMETHOD_(HRESULT,GetOptions)(THIS_ DWORD* pdwFlag) PURE;
227 HRESULT CALLBACK IAutoComplete2_SetOptions_Proxy(
228 IAutoComplete2* This,
229 DWORD dwFlag);
230 void __RPC_STUB IAutoComplete2_SetOptions_Stub(
231 struct IRpcStubBuffer* This,
232 struct IRpcChannelBuffer* pRpcChannelBuffer,
233 PRPC_MESSAGE pRpcMessage,
234 DWORD* pdwStubPhase);
235 HRESULT CALLBACK IAutoComplete2_GetOptions_Proxy(
236 IAutoComplete2* This,
237 DWORD* pdwFlag);
238 void __RPC_STUB IAutoComplete2_GetOptions_Stub(
239 struct IRpcStubBuffer* This,
240 struct IRpcChannelBuffer* pRpcChannelBuffer,
241 PRPC_MESSAGE pRpcMessage,
242 DWORD* pdwStubPhase);
244 #endif /* __IAutoComplete2_INTERFACE_DEFINED__ */
246 #ifndef __IFolderViewOC_FWD_DEFINED__
247 #define __IFolderViewOC_FWD_DEFINED__
248 typedef struct IFolderViewOC IFolderViewOC;
249 #endif
251 /*****************************************************************************
252 * IFolderViewOC interface
254 #ifndef __IFolderViewOC_INTERFACE_DEFINED__
255 #define __IFolderViewOC_INTERFACE_DEFINED__
257 DEFINE_GUID(IID_IFolderViewOC, 0x9ba05970, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39);
258 #if defined(__cplusplus) && !defined(CINTERFACE)
259 struct IFolderViewOC : public IDispatch
261 virtual HRESULT STDMETHODCALLTYPE SetFolderView(
262 IDispatch* pdisp) = 0;
265 #else
266 typedef struct IFolderViewOCVtbl IFolderViewOCVtbl;
267 struct IFolderViewOC {
268 const IFolderViewOCVtbl* lpVtbl;
270 struct IFolderViewOCVtbl {
271 BEGIN_INTERFACE
273 /*** IUnknown methods ***/
274 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
275 IFolderViewOC* This,
276 REFIID riid,
277 void** ppvObject);
279 ULONG (STDMETHODCALLTYPE *AddRef)(
280 IFolderViewOC* This);
282 ULONG (STDMETHODCALLTYPE *Release)(
283 IFolderViewOC* This);
285 /*** IDispatch methods ***/
286 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
287 IFolderViewOC* This,
288 UINT* pctinfo);
290 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
291 IFolderViewOC* This,
292 UINT iTInfo,
293 LCID lcid,
294 ITypeInfo** ppTInfo);
296 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
297 IFolderViewOC* This,
298 REFIID riid,
299 LPOLESTR* rgszNames,
300 UINT cNames,
301 LCID lcid,
302 DISPID* rgDispId);
304 HRESULT (STDMETHODCALLTYPE *Invoke)(
305 IFolderViewOC* This,
306 DISPID dispIdMember,
307 REFIID riid,
308 LCID lcid,
309 WORD wFlags,
310 DISPPARAMS* pDispParams,
311 VARIANT* pVarResult,
312 EXCEPINFO* pExcepInfo,
313 UINT* puArgErr);
315 /*** IFolderViewOC methods ***/
316 HRESULT (STDMETHODCALLTYPE *SetFolderView)(
317 IFolderViewOC* This,
318 IDispatch* pdisp);
320 END_INTERFACE
323 #ifdef COBJMACROS
324 /*** IUnknown methods ***/
325 #define IFolderViewOC_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
326 #define IFolderViewOC_AddRef(p) (p)->lpVtbl->AddRef(p)
327 #define IFolderViewOC_Release(p) (p)->lpVtbl->Release(p)
328 /*** IDispatch methods ***/
329 #define IFolderViewOC_GetTypeInfoCount(p,a) (p)->lpVtbl->GetTypeInfoCount(p,a)
330 #define IFolderViewOC_GetTypeInfo(p,a,b,c) (p)->lpVtbl->GetTypeInfo(p,a,b,c)
331 #define IFolderViewOC_GetIDsOfNames(p,a,b,c,d,e) (p)->lpVtbl->GetIDsOfNames(p,a,b,c,d,e)
332 #define IFolderViewOC_Invoke(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Invoke(p,a,b,c,d,e,f,g,h)
333 /*** IFolderViewOC methods ***/
334 #define IFolderViewOC_SetFolderView(p,a) (p)->lpVtbl->SetFolderView(p,a)
335 #endif
337 #endif
339 #define IFolderViewOC_METHODS \
340 /*** IUnknown methods ***/ \
341 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
342 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
343 STDMETHOD_(ULONG,Release)(THIS) PURE; \
344 /*** IDispatch methods ***/ \
345 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT* pctinfo) PURE; \
346 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) PURE; \
347 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) PURE; \
348 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) PURE; \
349 /*** IFolderViewOC methods ***/ \
350 STDMETHOD_(HRESULT,SetFolderView)(THIS_ IDispatch* pdisp) PURE;
352 HRESULT CALLBACK IFolderViewOC_SetFolderView_Proxy(
353 IFolderViewOC* This,
354 IDispatch* pdisp);
355 void __RPC_STUB IFolderViewOC_SetFolderView_Stub(
356 struct IRpcStubBuffer* This,
357 struct IRpcChannelBuffer* pRpcChannelBuffer,
358 PRPC_MESSAGE pRpcMessage,
359 DWORD* pdwStubPhase);
361 #endif /* __IFolderViewOC_INTERFACE_DEFINED__ */
363 #ifdef __cplusplus
365 #endif
366 #endif /* __WIDL_SHLDISP_H */