makefiles: Don't use standard libs for programs that specify -nodefaultlibs.
[wine/zf.git] / include / atliface.idl
blobe7599c730968ebdcf256c6a34df5ee5874028920
1 /*
2 * Copyright 2005 Jacek Caban
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "ocidl.idl";
21 cpp_quote("#ifdef ATL_INITGUID")
22 cpp_quote("#include <initguid.h>")
23 cpp_quote("#endif")
26 object,
27 uuid(e21f8a85-b05d-4243-8183-c7cb405588f7),
28 pointer_default(unique)
30 interface IRegistrarBase : IUnknown
32 HRESULT AddReplacement(
33 [in] LPCOLESTR Key,
34 [in] LPCOLESTR item);
36 HRESULT ClearReplacements();
40 object,
41 uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3),
42 pointer_default(unique)
44 interface IRegistrar : IRegistrarBase
46 HRESULT ResourceRegisterSz(
47 [in] LPCOLESTR resFileName,
48 [in] LPCOLESTR szID,
49 [in] LPCOLESTR szType);
51 HRESULT ResourceUnregisterSz(
52 [in] LPCOLESTR resFileName,
53 [in] LPCOLESTR szID,
54 [in] LPCOLESTR szType);
56 HRESULT FileRegister(
57 [in] LPCOLESTR fileName);
59 HRESULT FileUnregister(
60 [in] LPCOLESTR fileName);
62 HRESULT StringRegister(
63 [in] LPCOLESTR data);
65 HRESULT StringUnregister(
66 [in] LPCOLESTR data);
68 HRESULT ResourceRegister(
69 [in] LPCOLESTR resFileName,
70 [in] UINT nID,
71 [in] LPCOLESTR szType);
73 HRESULT ResourceUnregister(
74 [in] LPCOLESTR resFileName,
75 [in] UINT nID,
76 [in] LPCOLESTR szType);
80 object,
81 uuid(425b5af0-65f1-11d1-9611-0000f81e0d0d)
83 interface IDocHostUIHandlerDispatch : IDispatch
85 HRESULT ShowContextMenu([in] DWORD id,
86 [in] LONG x,
87 [in] LONG y,
88 [in] IUnknown *unkreserved,
89 [in] IDispatch *dispreserved,
90 [out, retval] HRESULT *retval);
91 HRESULT GetHostInfo([in, out] DWORD *flags,
92 [in, out] DWORD *doubleclick);
93 HRESULT ShowUI([in] DWORD id,
94 [in] IUnknown *activeobject,
95 [in] IUnknown *cmdtarget,
96 [in] IUnknown *frame,
97 [in] IUnknown *doc,
98 [out, retval] HRESULT *retval);
99 HRESULT HideUI();
100 HRESULT UpdateUI();
101 HRESULT EnableModeless([in] VARIANT_BOOL enable);
102 HRESULT OnDocWindowActivate([in] VARIANT_BOOL activate);
103 HRESULT OnFrameWindowActivate([in] VARIANT_BOOL activate);
104 HRESULT ResizeBorder([in] LONG left,
105 [in] LONG top,
106 [in] LONG right,
107 [in] LONG bottom,
108 [in] IUnknown *window,
109 [in] VARIANT_BOOL framewindow);
110 HRESULT TranslateAccelerator([in] HWND hwnd,
111 [in] UINT msg,
112 [in] WPARAM wparam,
113 [in] LPARAM lparam,
114 [in] BSTR guid_cmd_group,
115 [out, retval] HRESULT *retval);
116 HRESULT GetOptionKeyPath([out] BSTR *key,
117 [in] DWORD reserved);
118 HRESULT GetDropTarget([in] IUnknown *droptarget,
119 [out] IUnknown **ret_droptarget);
120 HRESULT GetExternal([out] IDispatch **disp);
121 HRESULT TranslateUrl([in] DWORD reserved,
122 [in] BSTR url,
123 [out] BSTR *translated_url);
124 HRESULT FilterDataObject([in] IUnknown *dataobject,
125 [out] IUnknown **dataobject_ret);
129 dual,
130 object,
131 oleautomation,
132 uuid(b6ea2051-048a-11d1-82b9-00c04fb9942e)
134 interface IAxWinAmbientDispatch : IDispatch
136 [propput]
137 HRESULT AllowWindowlessActivation([in] VARIANT_BOOL allow);
138 [propget]
139 HRESULT AllowWindowlessActivation([out, retval] VARIANT_BOOL *allowed);
140 [propput, id(-701)]
141 HRESULT BackColor([in] OLE_COLOR color);
142 [propget, id(-701)]
143 HRESULT BackColor([out, retval] OLE_COLOR *color);
144 [propput, id(-704)]
145 HRESULT ForeColor([in] OLE_COLOR color);
146 [propget, id(-704)]
147 HRESULT ForeColor([out, retval] OLE_COLOR *color);
148 [propput, id(-705)]
149 HRESULT LocaleID([in] LCID lcid);
150 [propget, id(-705)]
151 HRESULT LocaleID([out, retval] LCID *lcid);
152 [propput, id(-709)]
153 HRESULT UserMode([in] VARIANT_BOOL mode);
154 [propget, id(-709)]
155 HRESULT UserMode([out, retval] VARIANT_BOOL *mode);
156 [propput, id(-713)]
157 HRESULT DisplayAsDefault([in] VARIANT_BOOL display);
158 [propget, id(-713)]
159 HRESULT DisplayAsDefault([out, retval] VARIANT_BOOL *display);
160 [propput, id(-703)]
161 HRESULT Font([in] IFontDisp *font);
162 [propget, id(-703)]
163 HRESULT Font([out, retval] IFontDisp **font);
164 [propput, id(-706)]
165 HRESULT MessageReflect([in] VARIANT_BOOL reflect);
166 [propget, id(-706)]
167 HRESULT MessageReflect([out, retval] VARIANT_BOOL *reflect);
168 [propget, id(-711)]
169 HRESULT ShowGrabHandles([out, retval] VARIANT_BOOL *show);
170 [propget, id(-712)]
171 HRESULT ShowHatching([out, retval] VARIANT_BOOL *show);
172 [propput]
173 HRESULT DocHostFlags([in] DWORD flags);
174 [propget]
175 HRESULT DocHostFlags([out, retval] DWORD *flags);
176 [propput]
177 HRESULT DocHostDoubleClickFlags([in] DWORD flags);
178 [propget]
179 HRESULT DocHostDoubleClickFlags([out, retval] DWORD *flags);
180 [propput]
181 HRESULT AllowContextMenu([in] VARIANT_BOOL allow);
182 [propget]
183 HRESULT AllowContextMenu([out, retval] VARIANT_BOOL *allow);
184 [propput]
185 HRESULT AllowShowUI([in] VARIANT_BOOL allow);
186 [propget]
187 HRESULT AllowShowUI([out, retval] VARIANT_BOOL *allow);
188 [propput]
189 HRESULT OptionKeyPath([in] BSTR path);
190 [propget]
191 HRESULT OptionKeyPath([out, retval] BSTR *path);
195 dual,
196 object,
197 oleautomation,
198 uuid(b2d0778b-ac99-4c58-a5c8-e7724e5316b5)
200 interface IAxWinAmbientDispatchEx : IAxWinAmbientDispatch
202 [id(100)]
203 HRESULT SetAmbientDispatch([in] IDispatch *disp);
206 cpp_quote("DEFINE_GUID(CLSID_Registrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);")
208 cpp_quote("HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**);")
209 cpp_quote("HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*);")
210 cpp_quote("HRESULT WINAPI AtlAxCreateControlLic(LPCOLESTR,HWND,IStream*,IUnknown**,BSTR);")
211 cpp_quote("HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*,BSTR);")
212 cpp_quote("BOOL WINAPI AtlAxWinInit(void);")
213 cpp_quote("HRESULT WINAPI AtlAxGetControl(HWND,IUnknown**);")
214 cpp_quote("HRESULT WINAPI AtlAxGetHost(HWND,IUnknown**);")
216 cpp_quote("HWND WINAPI AtlAxCreateDialogW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);")
217 cpp_quote("HWND WINAPI AtlAxCreateDialogA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);")
218 cpp_quote("#define AtlAxCreateDialog WINELIB_NAME_AW(AtlAxCreateDialog)")
219 cpp_quote("INT_PTR WINAPI AtlAxDialogBoxW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);")
220 cpp_quote("INT_PTR WINAPI AtlAxDialogBoxA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);")
221 cpp_quote("#define AtlAxDialogBox WINELIB_NAME_AW(AtlAxDialogBox)")