2021-07-08 00:34:20 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2021 Paul Gofman for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma makedep typelib
|
|
|
|
|
2021-10-07 13:52:36 +00:00
|
|
|
#include <mshtmdid.h>
|
|
|
|
|
2021-07-08 00:34:21 +00:00
|
|
|
import "ocidl.idl";
|
|
|
|
|
2021-07-08 00:34:20 +00:00
|
|
|
[
|
|
|
|
version(1.0),
|
|
|
|
hidden,
|
|
|
|
uuid(90de541e-380b-4530-94a9-97367fe49d8d)
|
|
|
|
]
|
|
|
|
library MSHTML_private
|
|
|
|
{
|
2021-07-08 00:34:21 +00:00
|
|
|
|
|
|
|
importlib("stdole2.tlb");
|
|
|
|
|
2021-07-08 00:34:22 +00:00
|
|
|
[
|
|
|
|
odl,
|
|
|
|
oleautomation,
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
uuid(fd55b4b6-2813-4fb4-829d-380099474ab1)
|
|
|
|
]
|
|
|
|
interface IWineMSHTMLConsole : IDispatch
|
|
|
|
{
|
|
|
|
[id(1)]
|
|
|
|
HRESULT assert([in] VARIANT_BOOL *assertion,
|
|
|
|
[in, optional] VARIANT *varargStart);
|
|
|
|
[id(2)]
|
|
|
|
HRESULT clear();
|
|
|
|
[id(3)]
|
|
|
|
HRESULT count([in, optional] VARIANT *label);
|
|
|
|
[id(4)]
|
|
|
|
HRESULT debug([in, optional] VARIANT *varargStart);
|
|
|
|
[id(5)]
|
|
|
|
HRESULT dir([in, optional] VARIANT *object);
|
|
|
|
[id(6)]
|
|
|
|
HRESULT dirxml([in, optional] VARIANT *object);
|
|
|
|
[id(7)]
|
|
|
|
HRESULT error([in, optional] VARIANT *varargStart);
|
|
|
|
[id(8)]
|
|
|
|
HRESULT group([in, optional] VARIANT *label);
|
|
|
|
[id(9)]
|
|
|
|
HRESULT groupCollapsed([in, optional] VARIANT *label);
|
|
|
|
[id(10)]
|
|
|
|
HRESULT groupEnd();
|
|
|
|
[id(11)]
|
|
|
|
HRESULT info([in, optional] VARIANT *varargStart);
|
|
|
|
[id(12)]
|
|
|
|
HRESULT log([in, optional] VARIANT *varargStart);
|
|
|
|
[id(13)]
|
|
|
|
HRESULT time([in, optional] VARIANT *label);
|
|
|
|
[id(14)]
|
|
|
|
HRESULT timeEnd([in, optional] VARIANT *label);
|
|
|
|
[id(15)]
|
|
|
|
HRESULT trace([in, optional] VARIANT *varargStart);
|
|
|
|
[id(16)]
|
|
|
|
HRESULT warn([in, optional] VARIANT *varargStart);
|
|
|
|
}
|
|
|
|
|
2022-08-01 14:52:35 +00:00
|
|
|
[
|
|
|
|
odl,
|
|
|
|
oleautomation,
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
uuid(fd55b4b6-2813-4fb4-829d-380099474ab0)
|
|
|
|
]
|
|
|
|
interface IWineMSHTMLMediaQueryList : IDispatch
|
|
|
|
{
|
|
|
|
[propget, id(1)]
|
|
|
|
HRESULT media([retval, out] BSTR *p);
|
|
|
|
[propget, id(2)]
|
|
|
|
HRESULT matches([retval, out] VARIANT_BOOL *p);
|
|
|
|
[id(3)]
|
|
|
|
HRESULT addListener([in] VARIANT *listener);
|
|
|
|
[id(4)]
|
|
|
|
HRESULT removeListener([in] VARIANT *listener);
|
|
|
|
}
|
|
|
|
|
2021-07-08 00:34:21 +00:00
|
|
|
[
|
|
|
|
odl,
|
|
|
|
oleautomation,
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
uuid(1b5939fc-8f84-43f3-8d89-f9a92069fad7)
|
|
|
|
]
|
|
|
|
interface IWineHTMLWindowPrivate : IDispatch
|
|
|
|
{
|
2021-10-01 13:12:42 +00:00
|
|
|
[id(50)]
|
2021-07-08 00:34:21 +00:00
|
|
|
HRESULT requestAnimationFrame([in] VARIANT *expr, [retval, out] VARIANT *timer_id);
|
2022-05-19 18:06:37 +00:00
|
|
|
[id(51)]
|
|
|
|
HRESULT cancelAnimationFrame([in] VARIANT timer_id);
|
|
|
|
[propget, id(52)]
|
2021-07-08 00:34:22 +00:00
|
|
|
HRESULT console([retval, out] IDispatch **console);
|
2022-08-01 14:52:35 +00:00
|
|
|
[id(53)]
|
|
|
|
HRESULT matchMedia([in] BSTR media_query, [retval, out] IDispatch **media_query_list);
|
2022-08-10 15:07:38 +00:00
|
|
|
[id(54)]
|
|
|
|
HRESULT postMessage([in] VARIANT msg, [in] BSTR targetOrigin, [in, optional] VARIANT transfer);
|
2021-07-08 00:34:21 +00:00
|
|
|
}
|
|
|
|
|
2021-10-07 13:52:36 +00:00
|
|
|
[
|
|
|
|
odl,
|
|
|
|
oleautomation,
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
uuid(1b5939fc-8f84-43f3-8d89-f9a92069fad6)
|
|
|
|
]
|
|
|
|
interface IWineHTMLWindowCompatPrivate : IDispatch
|
|
|
|
{
|
|
|
|
[propput, id(DISPID_IHTMLWINDOW7_PERFORMANCE)]
|
|
|
|
HRESULT performance([in] VARIANT v);
|
|
|
|
|
|
|
|
[propget, id(DISPID_IHTMLWINDOW7_PERFORMANCE)]
|
|
|
|
HRESULT performance([out, retval] VARIANT *p);
|
|
|
|
}
|
|
|
|
|
2021-07-19 12:53:15 +00:00
|
|
|
[
|
|
|
|
odl,
|
|
|
|
oleautomation,
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
uuid(465908fd-f394-489f-b7a3-4c00fbbe9eec)
|
|
|
|
]
|
|
|
|
interface IWineHTMLElementPrivate : IDispatch
|
|
|
|
{
|
|
|
|
[propget, id(1)]
|
|
|
|
HRESULT classList([retval, out] IDispatch **class_list);
|
|
|
|
}
|
|
|
|
|
2021-07-19 12:53:16 +00:00
|
|
|
[
|
|
|
|
odl,
|
|
|
|
oleautomation,
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
uuid(08ef0edd-5fb8-4178-a2f0-9f686e00441b)
|
|
|
|
]
|
|
|
|
interface IWineDOMTokenList : IDispatch
|
|
|
|
{
|
2021-07-19 12:53:17 +00:00
|
|
|
[id(1)]
|
|
|
|
HRESULT add([in] BSTR token);
|
2021-07-19 12:53:18 +00:00
|
|
|
[id(2)]
|
|
|
|
HRESULT remove([in] BSTR token);
|
2021-10-01 13:12:44 +00:00
|
|
|
[id(3)]
|
|
|
|
HRESULT toString([retval, out] BSTR *String);
|
2021-07-19 12:53:16 +00:00
|
|
|
}
|
|
|
|
|
2022-07-13 17:07:32 +00:00
|
|
|
const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSE = 1;
|
|
|
|
const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE = 2;
|
|
|
|
const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_UPLOAD = 3;
|
|
|
|
const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS = 4;
|
2022-06-06 12:24:09 +00:00
|
|
|
const long DISPID_IWINEXMLHTTPREQUESTPRIVATE_OVERRIDEMIMETYPE = 5;
|
|
|
|
[
|
|
|
|
odl,
|
|
|
|
oleautomation,
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
uuid(08ef0edd-5fb8-4178-a2f0-9f686e00441c)
|
|
|
|
]
|
|
|
|
interface IWineXMLHttpRequestPrivate : IDispatch
|
|
|
|
{
|
2022-07-13 17:07:32 +00:00
|
|
|
[propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSE)]
|
2022-06-06 12:24:09 +00:00
|
|
|
HRESULT response([retval, out] VARIANT *p);
|
2022-07-13 17:07:32 +00:00
|
|
|
[propput, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE)]
|
2022-06-06 12:24:09 +00:00
|
|
|
HRESULT responseType([in] BSTR v);
|
2022-07-13 17:07:32 +00:00
|
|
|
[propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_RESPONSETYPE)]
|
2022-06-06 12:24:09 +00:00
|
|
|
HRESULT responseType([retval, out] BSTR *p);
|
2022-07-13 17:07:32 +00:00
|
|
|
[propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_UPLOAD)]
|
2022-06-06 12:24:09 +00:00
|
|
|
HRESULT upload([retval, out] IDispatch **p);
|
2022-07-13 17:07:32 +00:00
|
|
|
[propput, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS)]
|
2022-06-06 12:24:09 +00:00
|
|
|
HRESULT withCredentials([in] VARIANT_BOOL v);
|
2022-07-13 17:07:32 +00:00
|
|
|
[propget, id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_WITHCREDENTIALS)]
|
2022-06-06 12:24:09 +00:00
|
|
|
HRESULT withCredentials([retval, out] VARIANT_BOOL *p);
|
|
|
|
[id(DISPID_IWINEXMLHTTPREQUESTPRIVATE_OVERRIDEMIMETYPE)]
|
|
|
|
HRESULT overrideMimeType([in] BSTR mimeType);
|
|
|
|
[propput, id(DISPID_EVPROP_ONERROR)]
|
|
|
|
HRESULT onerror([in] VARIANT v);
|
|
|
|
[propget, id(DISPID_EVPROP_ONERROR)]
|
|
|
|
HRESULT onerror([retval, out] VARIANT *p);
|
|
|
|
[propput, id(DISPID_EVPROP_ONABORT)]
|
|
|
|
HRESULT onabort([in] VARIANT v);
|
|
|
|
[propget, id(DISPID_EVPROP_ONABORT)]
|
|
|
|
HRESULT onabort([retval, out] VARIANT *p);
|
|
|
|
[propput, id(DISPID_EVPROP_PROGRESS)]
|
|
|
|
HRESULT onprogress([in] VARIANT v);
|
|
|
|
[propget, id(DISPID_EVPROP_PROGRESS)]
|
|
|
|
HRESULT onprogress([retval, out] VARIANT *p);
|
|
|
|
[propput, id(DISPID_EVPROP_LOADSTART)]
|
|
|
|
HRESULT onloadstart([in] VARIANT v);
|
|
|
|
[propget, id(DISPID_EVPROP_LOADSTART)]
|
|
|
|
HRESULT onloadstart([retval, out] VARIANT *p);
|
|
|
|
[propput, id(DISPID_EVPROP_LOADEND)]
|
|
|
|
HRESULT onloadend([in] VARIANT v);
|
|
|
|
[propget, id(DISPID_EVPROP_LOADEND)]
|
|
|
|
HRESULT onloadend([retval, out] VARIANT *p);
|
2022-07-13 17:07:32 +00:00
|
|
|
[propput, id(DISPID_EVPROP_ONLOAD)]
|
|
|
|
HRESULT onload([in] VARIANT v);
|
|
|
|
[propget, id(DISPID_EVPROP_ONLOAD)]
|
|
|
|
HRESULT onload([retval, out] VARIANT *p);
|
2022-06-06 12:24:09 +00:00
|
|
|
}
|
|
|
|
|
2021-07-08 00:34:20 +00:00
|
|
|
} /* library MSHTML_private */
|