Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d43ab58e
Commit
d43ab58e
authored
Oct 13, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use DISPATCH_* macros instead of INVOKE_*.
parent
f6b89e9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
dispex.c
dlls/mshtml/dispex.c
+5
-4
htmlelemcol.c
dlls/mshtml/htmlelemcol.c
+1
-1
htmlnode.c
dlls/mshtml/htmlnode.c
+1
-1
No files found.
dlls/mshtml/dispex.c
View file @
d43ab58e
...
...
@@ -221,7 +221,7 @@ static void add_func_info(dispex_data_t *data, DWORD *size, tid_t tid, const FUN
data
->
funcs
[
data
->
func_cnt
].
id
=
desc
->
memid
;
data
->
funcs
[
data
->
func_cnt
].
tid
=
tid
;
data
->
funcs
[
data
->
func_cnt
].
func_disp_idx
=
desc
->
invkind
==
INVOKE_FUNC
?
data
->
func_disp_cnt
++
:
-
1
;
data
->
funcs
[
data
->
func_cnt
].
func_disp_idx
=
desc
->
invkind
==
DISPATCH_METHOD
?
data
->
func_disp_cnt
++
:
-
1
;
data
->
func_cnt
++
;
}
...
...
@@ -572,6 +572,7 @@ static HRESULT function_invoke(DispatchEx *This, func_info_t *func, WORD flags,
switch
(
flags
)
{
case
DISPATCH_METHOD
:
case
DISPATCH_METHOD
|
DISPATCH_PROPERTYGET
:
hres
=
typeinfo_invoke
(
This
,
func
,
flags
,
dp
,
res
,
ei
);
break
;
case
DISPATCH_PROPERTYGET
:
{
...
...
@@ -809,7 +810,7 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
var
=
&
This
->
dynamic_data
->
props
[
idx
].
var
;
switch
(
wFlags
)
{
case
INVOKE_FUNC
:
{
case
DISPATCH_METHOD
:
{
DISPID
named_arg
=
DISPID_THIS
;
DISPPARAMS
dp
=
{
NULL
,
&
named_arg
,
0
,
1
};
IDispatchEx
*
dispex
;
...
...
@@ -848,9 +849,9 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
heap_free
(
dp
.
rgvarg
);
return
hres
;
}
case
INVOKE
_PROPERTYGET
:
case
DISPATCH
_PROPERTYGET
:
return
VariantCopy
(
pvarRes
,
var
);
case
INVOKE
_PROPERTYPUT
:
case
DISPATCH
_PROPERTYPUT
:
VariantClear
(
var
);
return
VariantCopy
(
var
,
pdp
->
rgvarg
);
default:
...
...
dlls/mshtml/htmlelemcol.c
View file @
d43ab58e
...
...
@@ -397,7 +397,7 @@ static HRESULT HTMLElementCollection_invoke(IUnknown *iface, DISPID id, LCID lci
return
DISP_E_UNKNOWNNAME
;
switch
(
flags
)
{
case
INVOKE
_PROPERTYGET
:
case
DISPATCH
_PROPERTYGET
:
V_VT
(
res
)
=
VT_DISPATCH
;
V_DISPATCH
(
res
)
=
(
IDispatch
*
)
HTMLELEM
(
This
->
elems
[
idx
]);
IHTMLElement_AddRef
(
HTMLELEM
(
This
->
elems
[
idx
]));
...
...
dlls/mshtml/htmlnode.c
View file @
d43ab58e
...
...
@@ -208,7 +208,7 @@ static HRESULT HTMLDOMChildrenCollection_invoke(IUnknown *iface, DISPID id, LCID
TRACE
(
"(%p)->(%x %x %x %p %p %p %p)
\n
"
,
This
,
id
,
lcid
,
flags
,
params
,
res
,
ei
,
caller
);
switch
(
flags
)
{
case
INVOKE
_PROPERTYGET
:
{
case
DISPATCH
_PROPERTYGET
:
{
IDispatch
*
disp
=
NULL
;
HRESULT
hres
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment