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
21 cpp_quote
("#ifdef ATL_INITGUID")
22 cpp_quote
("#include <initguid.h>")
27 uuid(e21f8a85
-b05d
-4243-8183-c7cb405588f7
),
28 pointer_default(unique)
30 interface IRegistrarBase
: IUnknown
32 HRESULT AddReplacement
(
36 HRESULT ClearReplacements
();
41 uuid(44EC053B
-400F
-11D0
-9DCD
-00A0C90391D3
),
42 pointer_default(unique)
44 interface IRegistrar
: IRegistrarBase
46 HRESULT ResourceRegisterSz
(
47 [in] LPCOLESTR resFileName
,
49 [in] LPCOLESTR szType
);
51 HRESULT ResourceUnregisterSz
(
52 [in] LPCOLESTR resFileName
,
54 [in] LPCOLESTR szType
);
57 [in] LPCOLESTR fileName
);
59 HRESULT FileUnregister
(
60 [in] LPCOLESTR fileName
);
62 HRESULT StringRegister
(
65 HRESULT StringUnregister
(
68 HRESULT ResourceRegister
(
69 [in] LPCOLESTR resFileName
,
71 [in] LPCOLESTR szType
);
73 HRESULT ResourceUnregister
(
74 [in] LPCOLESTR resFileName
,
76 [in] LPCOLESTR szType
);
81 uuid(425b5af0
-65f1
-11d1
-9611-0000f81e0d0d
)
83 interface IDocHostUIHandlerDispatch
: IDispatch
85 HRESULT ShowContextMenu
([in] DWORD
id,
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
,
98 [out, retval] HRESULT *retval);
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
,
108 [in] IUnknown
*window
,
109 [in] VARIANT_BOOL framewindow
);
110 HRESULT TranslateAccelerator
([in] HWND hwnd
,
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
,
123 [out] BSTR *translated_url
);
124 HRESULT FilterDataObject
([in] IUnknown
*dataobject
,
125 [out] IUnknown
**dataobject_ret
);
132 uuid(b6ea2051
-048a
-11d1
-82b9
-00c04fb9942e
)
134 interface IAxWinAmbientDispatch
: IDispatch
137 HRESULT AllowWindowlessActivation
([in] VARIANT_BOOL allow
);
139 HRESULT AllowWindowlessActivation
([out, retval] VARIANT_BOOL *allowed
);
141 HRESULT BackColor
([in] OLE_COLOR color
);
143 HRESULT BackColor
([out, retval] OLE_COLOR
*color
);
145 HRESULT ForeColor
([in] OLE_COLOR color
);
147 HRESULT ForeColor
([out, retval] OLE_COLOR
*color
);
149 HRESULT LocaleID
([in] LCID lcid);
151 HRESULT LocaleID
([out, retval] LCID *lcid);
153 HRESULT UserMode
([in] VARIANT_BOOL mode
);
155 HRESULT UserMode
([out, retval] VARIANT_BOOL *mode
);
157 HRESULT DisplayAsDefault
([in] VARIANT_BOOL display
);
159 HRESULT DisplayAsDefault
([out, retval] VARIANT_BOOL *display
);
161 HRESULT Font
([in] IFontDisp
*font
);
163 HRESULT Font
([out, retval] IFontDisp
**font
);
165 HRESULT MessageReflect
([in] VARIANT_BOOL reflect
);
167 HRESULT MessageReflect
([out, retval] VARIANT_BOOL *reflect
);
169 HRESULT ShowGrabHandles
([out, retval] VARIANT_BOOL *show
);
171 HRESULT ShowHatching
([out, retval] VARIANT_BOOL *show
);
173 HRESULT DocHostFlags
([in] DWORD flags
);
175 HRESULT DocHostFlags
([out, retval] DWORD
*flags
);
177 HRESULT DocHostDoubleClickFlags
([in] DWORD flags
);
179 HRESULT DocHostDoubleClickFlags
([out, retval] DWORD
*flags
);
181 HRESULT AllowContextMenu
([in] VARIANT_BOOL allow
);
183 HRESULT AllowContextMenu
([out, retval] VARIANT_BOOL *allow
);
185 HRESULT AllowShowUI
([in] VARIANT_BOOL allow
);
187 HRESULT AllowShowUI
([out, retval] VARIANT_BOOL *allow
);
189 HRESULT OptionKeyPath
([in] BSTR path
);
191 HRESULT OptionKeyPath
([out, retval] BSTR *path
);
198 uuid(b2d0778b
-ac99
-4c58
-a5c8
-e7724e5316b5
)
200 interface IAxWinAmbientDispatchEx
: IAxWinAmbientDispatch
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)")