4 #pragma GCC system_header
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
;
23 typedef IAutoComplete
*LPAUTOCOMPLETE
;
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)
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
;
45 typedef IAutoComplete2
*LPAUTOCOMPLETE2
;
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)
61 #endif /* _SHLDISP_H */