Add a script to make it easier to initialize /.git
[msysgit/historical-msysgit.git] / mingw / include / shldisp.h
blob0b5d299c888cc9d68a03050b771a4747cb9086ec
1 #ifndef _SHLDISP_H
2 #define _SHLDISP_H
3 #if __GNUC__ >= 3
4 #pragma GCC system_header
5 #endif
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 #define ACO_AUTOSUGGEST 0x01
13 #define INTERFACE IAutoComplete
14 DECLARE_INTERFACE_(IAutoComplete, IUnknown)
16 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
17 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
18 STDMETHOD_(ULONG,Release)(THIS) PURE;
19 STDMETHOD(Init)(THIS_ HWND,IUnknown*,LPCOLESTR,LPCOLESTR) PURE;
20 STDMETHOD(Enable)(THIS_ BOOL) PURE;
22 #undef INTERFACE
23 typedef IAutoComplete *LPAUTOCOMPLETE;
25 #ifdef COBJMACROS
26 #define IAutoComplete_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
27 #define IAutoComplete_AddRef(T) (T)->lpVtbl->AddRef(T)
28 #define IAutoComplete_Release(T) (T)->lpVtbl->Release(T)
29 #define IAutoComplete_Init(T,a,b,c,d) (T)->lpVtbl->Init(T,a,b,c,d)
30 #define IAutoComplete_Enable(T,a) (T)->lpVtbl->Enable(T,a)
31 #endif
33 #define INTERFACE IAutoComplete2
34 DECLARE_INTERFACE_(IAutoComplete2, IAutoComplete)
36 STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
37 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
38 STDMETHOD_(ULONG,Release)(THIS) PURE;
39 STDMETHOD(Init)(THIS_ HWND,IUnknown*,LPCOLESTR,LPCOLESTR) PURE;
40 STDMETHOD(Enable)(THIS_ BOOL) PURE;
41 STDMETHOD(SetOptions)(THIS_ DWORD) PURE;
42 STDMETHOD(GetOptions)(THIS_ DWORD*) PURE;
44 #undef INTERFACE
45 typedef IAutoComplete2 *LPAUTOCOMPLETE2;
47 #ifdef COBJMACROS
48 #define IAutoComplete2_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
49 #define IAutoComplete2_AddRef(T) (T)->lpVtbl->AddRef(T)
50 #define IAutoComplete2_Release(T) (T)->lpVtbl->Release(T)
51 #define IAutoComplete2_Init(T,a,b,c,d) (T)->lpVtbl->Init(T,a,b,c,d)
52 #define IAutoComplete2_Enable(T,a) (T)->lpVtbl->Enable(T,a)
53 #define IAutoComplete2_SetOptions(T,a) (T)->lpVtbl->Enable(T,a)
54 #define IAutoComplete2_GetOptions(T,a) (T)->lpVtbl->Enable(T,a)
55 #endif
57 #ifdef __cplusplus
59 #endif
61 #endif /* _SHLDISP_H */