ReactOS 0.4.15-dev-8096-ga0eec98
atliface.idl
Go to the documentation of this file.
1/*
2 * Copyright 2005 Jacek Caban
3 *
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.
8 *
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.
13 *
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
17 */
18
19import "ocidl.idl";
20
21cpp_quote("#ifdef ATL_INITGUID")
22cpp_quote("#include <initguid.h>")
23cpp_quote("#endif")
24
25[
26 object,
27 uuid(e21f8a85-b05d-4243-8183-c7cb405588f7),
28 pointer_default(unique)
29]
30interface IRegistrarBase : IUnknown
31{
32 HRESULT AddReplacement(
33 [in] LPCOLESTR Key,
34 [in] LPCOLESTR item);
35
36 HRESULT ClearReplacements();
37}
38
39[
40 object,
41 uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3),
42 pointer_default(unique)
43]
44interface IRegistrar : IRegistrarBase
45{
46 HRESULT ResourceRegisterSz(
47 [in] LPCOLESTR resFileName,
48 [in] LPCOLESTR szID,
49 [in] LPCOLESTR szType);
50
51 HRESULT ResourceUnregisterSz(
52 [in] LPCOLESTR resFileName,
53 [in] LPCOLESTR szID,
54 [in] LPCOLESTR szType);
55
56 HRESULT FileRegister(
57 [in] LPCOLESTR fileName);
58
59 HRESULT FileUnregister(
60 [in] LPCOLESTR fileName);
61
62 HRESULT StringRegister(
63 [in] LPCOLESTR data);
64
65 HRESULT StringUnregister(
66 [in] LPCOLESTR data);
67
68 HRESULT ResourceRegister(
69 [in] LPCOLESTR resFileName,
70 [in] UINT nID,
71 [in] LPCOLESTR szType);
72
73 HRESULT ResourceUnregister(
74 [in] LPCOLESTR resFileName,
75 [in] UINT nID,
76 [in] LPCOLESTR szType);
77}
78
79[
80 object,
81 uuid(425b5af0-65f1-11d1-9611-0000f81e0d0d)
82]
83interface IDocHostUIHandlerDispatch : IDispatch
84{
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);
126}
127
128[
129 dual,
130 object,
131 oleautomation,
132 uuid(b6ea2051-048a-11d1-82b9-00c04fb9942e)
133]
134interface IAxWinAmbientDispatch : IDispatch
135{
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);
192}
193
194[
195 dual,
196 object,
197 oleautomation,
198 uuid(b2d0778b-ac99-4c58-a5c8-e7724e5316b5)
199]
200interface IAxWinAmbientDispatchEx : IAxWinAmbientDispatch
201{
202 [id(100)]
203 HRESULT SetAmbientDispatch([in] IDispatch *disp);
204}
205
206cpp_quote("DEFINE_GUID(CLSID_Registrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);")
207
208cpp_quote("HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**);")
209cpp_quote("HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*);")
210cpp_quote("HRESULT WINAPI AtlAxCreateControlLic(LPCOLESTR,HWND,IStream*,IUnknown**,BSTR);")
211cpp_quote("HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*,BSTR);")
212cpp_quote("BOOL WINAPI AtlAxWinInit(void);")
213cpp_quote("HRESULT WINAPI AtlAxGetControl(HWND,IUnknown**);")
214cpp_quote("HRESULT WINAPI AtlAxGetHost(HWND,IUnknown**);")
215
216cpp_quote("HWND WINAPI AtlAxCreateDialogW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);")
217cpp_quote("HWND WINAPI AtlAxCreateDialogA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);")
218cpp_quote("#define AtlAxCreateDialog WINELIB_NAME_AW(AtlAxCreateDialog)")
219cpp_quote("INT_PTR WINAPI AtlAxDialogBoxW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);")
220cpp_quote("INT_PTR WINAPI AtlAxDialogBoxA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);")
221cpp_quote("#define AtlAxDialogBox WINELIB_NAME_AW(AtlAxDialogBox)")
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:491