Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-12-24 14:14:35 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2004-12-24 14:14:35 +0300
commit4697fbcd517791570ecc77c32dd9ebf044c4fa03 (patch)
treed05d2b66828a0e4c175a819d1c4c19089022e85b /winsup/w32api/include/shldisp.h
parent861ef99725f983ce5bf2a4fc505dc4545bcecb17 (diff)
2004-12-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/shldisp.h: New file. * include/shlobj.h (IObjMgr): Added interface definiton. * lib/shell32.c (CLSID_AutoComplete, IID_AutoComplete, IID_AutoComplete2, CLSID_ACLMulti, IID_IObjMgr, CLSID_ACListISF, IID_IACList): Added GUIDs. * include/shlguid.h (CLSID_AutoComplete, IID_AutoComplete, IID_AutoComplete2, CLSID_ACLMulti, IID_IObjMgr, CLSID_ACListISF, IID_IACList): Added GUIDs.
Diffstat (limited to 'winsup/w32api/include/shldisp.h')
-rwxr-xr-xwinsup/w32api/include/shldisp.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/winsup/w32api/include/shldisp.h b/winsup/w32api/include/shldisp.h
new file mode 100755
index 000000000..913e2d28c
--- /dev/null
+++ b/winsup/w32api/include/shldisp.h
@@ -0,0 +1,61 @@
+#ifndef _SHLDISP_H
+#define _SHLDISP_H
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define ACO_AUTOSUGGEST 0x01
+
+#undef INTERFACE
+#define INTERFACE IAutoComplete
+DECLARE_INTERFACE_(IAutoComplete, IUnknown)
+{
+ STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
+ STDMETHOD_(ULONG,AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,Release)(THIS) PURE;
+ STDMETHOD(Init)(THIS_ HWND,IUnknown*,LPCOLESTR,LPCOLESTR) PURE;
+ STDMETHOD(Enable)(THIS_ BOOL) PURE;
+};
+typedef IAutoComplete *LPAUTOCOMPLETE;
+
+#ifdef COBJMACROS
+#define IAutoComplete_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
+#define IAutoComplete_AddRef(T) (T)->lpVtbl->AddRef(T)
+#define IAutoComplete_Release(T) (T)->lpVtbl->Release(T)
+#define IAutoComplete_Init(T,a,b,c,d) (T)->lpVtbl->Init(T,a,b,c,d)
+#define IAutoComplete_Enable(T,a) (T)->lpVtbl->Enable(T,a)
+#endif
+
+#undef INTERFACE
+#define INTERFACE IAutoComplete2
+DECLARE_INTERFACE_(IAutoComplete2, IAutoComplete)
+{
+ STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
+ STDMETHOD_(ULONG,AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,Release)(THIS) PURE;
+ STDMETHOD(Init)(THIS_ HWND,IUnknown*,LPCOLESTR,LPCOLESTR) PURE;
+ STDMETHOD(Enable)(THIS_ BOOL) PURE;
+ STDMETHOD(SetOptions)(THIS_ DWORD) PURE;
+ STDMETHOD(GetOptions)(THIS_ DWORD*) PURE;
+};
+typedef IAutoComplete2 *LPAUTOCOMPLETE2;
+
+#ifdef COBJMACROS
+#define IAutoComplete2_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
+#define IAutoComplete2_AddRef(T) (T)->lpVtbl->AddRef(T)
+#define IAutoComplete2_Release(T) (T)->lpVtbl->Release(T)
+#define IAutoComplete2_Init(T,a,b,c,d) (T)->lpVtbl->Init(T,a,b,c,d)
+#define IAutoComplete2_Enable(T,a) (T)->lpVtbl->Enable(T,a)
+#define IAutoComplete2_SetOptions(T,a) (T)->lpVtbl->Enable(T,a)
+#define IAutoComplete2_GetOptions(T,a) (T)->lpVtbl->Enable(T,a)
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _SHLDISP_H */