2 * Copyright 2021 Paul Gofman for CodeWeavers
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 #pragma makedep typelib
28 uuid(90de541e
-380b
-4530-94a9
-97367fe49d8d
)
30 library MSHTML_private
33 importlib
("stdole2.tlb");
40 uuid(fd55b4b6
-2813-4fb4
-829d
-380099474ab1
)
42 interface IWineMSHTMLConsole
: IDispatch
45 HRESULT assert
([in] VARIANT_BOOL *assertion
,
46 [in, optional] VARIANT *varargStart
);
50 HRESULT count
([in, optional] VARIANT *label
);
52 HRESULT debug
([in, optional] VARIANT *varargStart
);
54 HRESULT dir
([in, optional] VARIANT *object);
56 HRESULT dirxml
([in, optional] VARIANT *object);
58 HRESULT error
([in, optional] VARIANT *varargStart
);
60 HRESULT group
([in, optional] VARIANT *label
);
62 HRESULT groupCollapsed
([in, optional] VARIANT *label
);
66 HRESULT info
([in, optional] VARIANT *varargStart
);
68 HRESULT log
([in, optional] VARIANT *varargStart
);
70 HRESULT time
([in, optional] VARIANT *label
);
72 HRESULT timeEnd
([in, optional] VARIANT *label
);
74 HRESULT trace
([in, optional] VARIANT *varargStart
);
76 HRESULT warn
([in, optional] VARIANT *varargStart
);
84 uuid(fd55b4b6
-2813-4fb4
-829d
-380099474ab0
)
86 interface IWineMSHTMLMediaQueryList
: IDispatch
89 HRESULT media
([retval, out] BSTR *p
);
91 HRESULT matches
([retval, out] VARIANT_BOOL *p
);
93 HRESULT addListener
([in] VARIANT *listener
);
95 HRESULT removeListener
([in] VARIANT *listener
);
103 uuid(1b5939fc
-8f84
-43f3
-8d89
-f9a92069fad7
)
105 interface IWineHTMLWindowPrivate
: IDispatch
108 HRESULT requestAnimationFrame
([in] VARIANT *expr
, [retval, out] VARIANT *timer_id
);
110 HRESULT cancelAnimationFrame
([in] VARIANT timer_id
);
112 HRESULT console
([retval, out] IDispatch
**console
);
114 HRESULT matchMedia
([in] BSTR media_query
, [retval, out] IDispatch
**media_query_list
);
116 HRESULT postMessage
([in] VARIANT msg
, [in] BSTR targetOrigin
, [in, optional] VARIANT transfer
);
124 uuid(1b5939fc
-8f84
-43f3
-8d89
-f9a92069fad6
)
126 interface IWineHTMLWindowCompatPrivate
: IDispatch
128 [propput, id(DISPID_IHTMLWINDOW7_PERFORMANCE
)]
129 HRESULT performance
([in] VARIANT v
);
131 [propget, id(DISPID_IHTMLWINDOW7_PERFORMANCE
)]
132 HRESULT performance
([out, retval] VARIANT *p
);
140 uuid(465908fd
-f394
-489f
-b7a3
-4c00fbbe9eec
)
142 interface IWineHTMLElementPrivate
: IDispatch
145 HRESULT classList
([retval, out] IDispatch
**class_list
);
153 uuid(08ef0edd
-5fb8
-4178-a2f0
-9f686e00441b
)
155 interface IWineDOMTokenList
: IDispatch
158 HRESULT add
([in] BSTR token
);
160 HRESULT remove
([in] BSTR token
);
162 HRESULT toString
([retval, out] BSTR *String);
170 uuid(25508c5d
-6a54
-6888-8f41
-75ff3ae8706b
)
172 interface IWinePageTransitionEvent
: IDispatch
175 HRESULT persisted
([retval, out] VARIANT_BOOL *ret
);
179 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSE
= 1;
180 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE
= 2;
181 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_UPLOAD
= 3;
182 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS
= 4;
183 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_OVERRIDEMIMETYPE
= 5;
189 uuid(08ef0edd
-5fb8
-4178-a2f0
-9f686e00441c
)
191 interface IWineXMLHttpRequestPrivate
: IDispatch
193 [propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSE
)]
194 HRESULT response
([retval, out] VARIANT *p
);
195 [propput, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE
)]
196 HRESULT responseType
([in] BSTR v
);
197 [propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE
)]
198 HRESULT responseType
([retval, out] BSTR *p
);
199 [propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_UPLOAD
)]
200 HRESULT upload
([retval, out] IDispatch
**p
);
201 [propput, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS
)]
202 HRESULT withCredentials
([in] VARIANT_BOOL v
);
203 [propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS
)]
204 HRESULT withCredentials
([retval, out] VARIANT_BOOL *p
);
205 [id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_OVERRIDEMIMETYPE
)]
206 HRESULT overrideMimeType
([in] BSTR mimeType
);
207 [propput, id(DISPID_EVPROP_ONERROR
)]
208 HRESULT onerror
([in] VARIANT v
);
209 [propget, id(DISPID_EVPROP_ONERROR
)]
210 HRESULT onerror
([retval, out] VARIANT *p
);
211 [propput, id(DISPID_EVPROP_ONABORT
)]
212 HRESULT onabort
([in] VARIANT v
);
213 [propget, id(DISPID_EVPROP_ONABORT
)]
214 HRESULT onabort
([retval, out] VARIANT *p
);
215 [propput, id(DISPID_EVPROP_PROGRESS
)]
216 HRESULT onprogress
([in] VARIANT v
);
217 [propget, id(DISPID_EVPROP_PROGRESS
)]
218 HRESULT onprogress
([retval, out] VARIANT *p
);
219 [propput, id(DISPID_EVPROP_LOADSTART
)]
220 HRESULT onloadstart
([in] VARIANT v
);
221 [propget, id(DISPID_EVPROP_LOADSTART
)]
222 HRESULT onloadstart
([retval, out] VARIANT *p
);
223 [propput, id(DISPID_EVPROP_LOADEND
)]
224 HRESULT onloadend
([in] VARIANT v
);
225 [propget, id(DISPID_EVPROP_LOADEND
)]
226 HRESULT onloadend
([retval, out] VARIANT *p
);
227 [propput, id(DISPID_EVPROP_ONLOAD
)]
228 HRESULT onload
([in] VARIANT v
);
229 [propget, id(DISPID_EVPROP_ONLOAD
)]
230 HRESULT onload
([retval, out] VARIANT *p
);
233 } /* library MSHTML_private */