Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
ec2a78c3
Commit
ec2a78c3
authored
Dec 10, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Dec 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: DISPPARAMS on Invoke are never NULL.
parent
3dbc0b06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ordinal.c
dlls/shlwapi/ordinal.c
+7
-1
No files found.
dlls/shlwapi/ordinal.c
View file @
ec2a78c3
...
...
@@ -2930,18 +2930,24 @@ static HRESULT SHLWAPI_InvokeByIID(
{
IEnumConnections
*
enumerator
;
CONNECTDATA
rgcd
;
static
DISPPARAMS
empty
=
{
NULL
,
NULL
,
0
,
0
};
DISPPARAMS
*
params
=
dispParams
;
HRESULT
result
=
IConnectionPoint_EnumConnections
(
iCP
,
&
enumerator
);
if
(
FAILED
(
result
))
return
result
;
/* Invoke is never happening with an NULL dispParams */
if
(
!
params
)
params
=
&
empty
;
while
(
IEnumConnections_Next
(
enumerator
,
1
,
&
rgcd
,
NULL
)
==
S_OK
)
{
IDispatch
*
dispIface
;
if
((
iid
&&
SUCCEEDED
(
IUnknown_QueryInterface
(
rgcd
.
pUnk
,
iid
,
(
LPVOID
*
)
&
dispIface
)))
||
SUCCEEDED
(
IUnknown_QueryInterface
(
rgcd
.
pUnk
,
&
IID_IDispatch
,
(
LPVOID
*
)
&
dispIface
)))
{
IDispatch_Invoke
(
dispIface
,
dispId
,
&
IID_NULL
,
0
,
DISPATCH_METHOD
,
dispP
arams
,
NULL
,
NULL
,
NULL
);
IDispatch_Invoke
(
dispIface
,
dispId
,
&
IID_NULL
,
0
,
DISPATCH_METHOD
,
p
arams
,
NULL
,
NULL
,
NULL
);
IDispatch_Release
(
dispIface
);
}
}
...
...
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