ReactOS 0.4.17-dev-281-g9de2895
jsdisp.idl
Go to the documentation of this file.
1/*
2 * Copyright 2024 Gabriel Ivăncescu for CodeWeavers
3 * Copyright 2024 Jacek Caban for CodeWeavers
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20#pragma makedep header
21
22import "dispex.idl";
23
25{
28 const WCHAR *name;
31};
32
33const unsigned int PROPF_METHOD = 0x0100;
34const unsigned int PROPF_CONSTR = 0x0200;
35
36const unsigned int PROPF_ENUMERABLE = 0x0400;
37const unsigned int PROPF_WRITABLE = 0x0800;
38const unsigned int PROPF_CONFIGURABLE = 0x1000;
39
41
42const unsigned int HOSTOBJ_CONSTRUCTOR = 0x0001;
43
44interface IWineJSDispatchHost;
45
46[
47 object,
48 uuid(d359f2fe-5531-741b-a41a-5cf92edc971c),
49 local
50]
52{
53 void Free();
56}
57
58[
59 object,
60 uuid(b1ebc544-6644-40c6-97f6-ccd9cc32bfba),
61 local
62]
64{
68 HRESULT GetProperty(DISPID id, LCID lcid, VARIANT *r, EXCEPINFO *ei, IServiceProvider *caller);
69 HRESULT SetProperty(DISPID id, LCID lcid, VARIANT *v, EXCEPINFO *ei, IServiceProvider *caller);
72 HRESULT CallFunction(DISPID id, UINT32 iid, DWORD flags, DISPPARAMS *dp, VARIANT *ret, EXCEPINFO *ei, IServiceProvider *caller);
73 HRESULT Construct(LCID lcid, DWORD flags, DISPPARAMS *dp, VARIANT *ret, EXCEPINFO *ei, IServiceProvider *caller);
76}
77
78[
79 object,
80 uuid(d359f2fe-5531-741b-a41a-5cf92edc971d),
81 local
82]
84{
87}
OLECHAR * BSTR
Definition: compat.h:2293
LCID lcid
Definition: locale.c:5660
return ret
Definition: mutex.c:146
unsigned long DWORD
Definition: ntddk_ex.h:95
#define local
Definition: zutil.h:30
const GLdouble * v
Definition: gl.h:2040
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLbitfield flags
Definition: glext.h:7161
IHost host_obj
Definition: host.c:479
HRESULT GetOuterDispatch(IWineJSDispatchHost **ret)
HRESULT NextProperty(DISPID id, struct property_info *desc)
HRESULT DeleteProperty(DISPID id)
HRESULT GetProperty(DISPID id, LCID lcid, VARIANT *r, EXCEPINFO *ei, IServiceProvider *caller)
HRESULT ToString(BSTR *str)
HRESULT LookupProperty(const WCHAR *name, DWORD flags, struct property_info *desc)
HRESULT Construct(LCID lcid, DWORD flags, DISPPARAMS *dp, VARIANT *ret, EXCEPINFO *ei, IServiceProvider *caller)
HRESULT GetJSDispatch(IWineJSDispatch **ret)
HRESULT ConfigureProperty(DISPID id, UINT32 flags)
HRESULT CallFunction(DISPID id, UINT32 iid, DWORD flags, DISPPARAMS *dp, VARIANT *ret, EXCEPINFO *ei, IServiceProvider *caller)
HRESULT SetProperty(DISPID id, LCID lcid, VARIANT *v, EXCEPINFO *ei, IServiceProvider *caller)
HRESULT GetPropertyFlags(DISPID id, UINT32 *ret)
HRESULT GetScriptGlobal(IWineJSDispatchHost **ret)
HRESULT InitHostObject(IWineJSDispatchHost *host_obj, IWineJSDispatch *prototype, UINT32 flags, IWineJSDispatch **ret)
HRESULT InitHostConstructor(IWineJSDispatchHost *constr, IWineJSDispatch *prototype, IWineJSDispatch **ret)
Definition: msctf.idl:532
const unsigned int PROPF_WRITABLE
Definition: jsdisp.idl:37
const unsigned int PROPF_ENUMERABLE
Definition: jsdisp.idl:36
const unsigned int PROPF_CONFIGURABLE
Definition: jsdisp.idl:38
const unsigned int PROPF_PUBLIC_MASK
Definition: jsdisp.idl:40
const unsigned int PROPF_METHOD
Definition: jsdisp.idl:33
const unsigned int HOSTOBJ_CONSTRUCTOR
Definition: jsdisp.idl:42
const unsigned int PROPF_CONSTR
Definition: jsdisp.idl:34
D3D11_SHADER_VARIABLE_DESC desc
Definition: reflection.c:1204
static VARIANTARG static DISPID
Definition: ordinal.c:49
short WCHAR
Definition: pedump.c:58
const WCHAR * str
DWORD LCID
Definition: nls.h:13
Definition: name.c:39
UINT32 iid
Definition: jsdisp.idl:30
const WCHAR * name
Definition: jsdisp.idl:28
UINT32 flags
Definition: jsdisp.idl:27
UINT32 id
Definition: jsdisp.idl:26
UINT32 index
Definition: jsdisp.idl:29
uint32_t UINT32
Definition: typedefs.h:59