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 toggle
([in] BSTR token
, [retval, out] VARIANT_BOOL *p
);
164 HRESULT contains
([in] BSTR token
, [retval, out] VARIANT_BOOL *p
);
166 HRESULT length
([retval, out] LONG *p
);
168 HRESULT item
([in] LONG index
, [retval, out] VARIANT *p
);
170 HRESULT toString
([retval, out] BSTR *String);
178 uuid(25508c5d
-6a54
-6888-8f41
-75ff3ae8706b
)
180 interface IWinePageTransitionEvent
: IDispatch
183 HRESULT persisted
([retval, out] VARIANT_BOOL *ret
);
187 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSE
= 1;
188 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE
= 2;
189 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_UPLOAD
= 3;
190 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS
= 4;
191 const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_OVERRIDEMIMETYPE
= 5;
197 uuid(08ef0edd
-5fb8
-4178-a2f0
-9f686e00441c
)
199 interface IWineXMLHttpRequestPrivate
: IDispatch
201 [propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSE
)]
202 HRESULT response
([retval, out] VARIANT *p
);
203 [propput, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE
)]
204 HRESULT responseType
([in] BSTR v
);
205 [propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE
)]
206 HRESULT responseType
([retval, out] BSTR *p
);
207 [propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_UPLOAD
)]
208 HRESULT upload
([retval, out] IDispatch
**p
);
209 [propput, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS
)]
210 HRESULT withCredentials
([in] VARIANT_BOOL v
);
211 [propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS
)]
212 HRESULT withCredentials
([retval, out] VARIANT_BOOL *p
);
213 [id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_OVERRIDEMIMETYPE
)]
214 HRESULT overrideMimeType
([in] BSTR mimeType
);
215 [propput, id(DISPID_EVPROP_ONERROR
)]
216 HRESULT onerror
([in] VARIANT v
);
217 [propget, id(DISPID_EVPROP_ONERROR
)]
218 HRESULT onerror
([retval, out] VARIANT *p
);
219 [propput, id(DISPID_EVPROP_ONABORT
)]
220 HRESULT onabort
([in] VARIANT v
);
221 [propget, id(DISPID_EVPROP_ONABORT
)]
222 HRESULT onabort
([retval, out] VARIANT *p
);
223 [propput, id(DISPID_EVPROP_PROGRESS
)]
224 HRESULT onprogress
([in] VARIANT v
);
225 [propget, id(DISPID_EVPROP_PROGRESS
)]
226 HRESULT onprogress
([retval, out] VARIANT *p
);
227 [propput, id(DISPID_EVPROP_LOADSTART
)]
228 HRESULT onloadstart
([in] VARIANT v
);
229 [propget, id(DISPID_EVPROP_LOADSTART
)]
230 HRESULT onloadstart
([retval, out] VARIANT *p
);
231 [propput, id(DISPID_EVPROP_LOADEND
)]
232 HRESULT onloadend
([in] VARIANT v
);
233 [propget, id(DISPID_EVPROP_LOADEND
)]
234 HRESULT onloadend
([retval, out] VARIANT *p
);
235 [propput, id(DISPID_EVPROP_ONLOAD
)]
236 HRESULT onload
([in] VARIANT v
);
237 [propget, id(DISPID_EVPROP_ONLOAD
)]
238 HRESULT onload
([retval, out] VARIANT *p
);
241 } /* library MSHTML_private */