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
3dbc0b06
Commit
3dbc0b06
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: Failure in IConnectionPoint_GetConnectionInterface does not prevent Invoking.
parent
56d1a7c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ordinal.c
dlls/shlwapi/ordinal.c
+5
-1
No files found.
dlls/shlwapi/ordinal.c
View file @
3dbc0b06
...
@@ -2938,7 +2938,7 @@ static HRESULT SHLWAPI_InvokeByIID(
...
@@ -2938,7 +2938,7 @@ static HRESULT SHLWAPI_InvokeByIID(
while
(
IEnumConnections_Next
(
enumerator
,
1
,
&
rgcd
,
NULL
)
==
S_OK
)
while
(
IEnumConnections_Next
(
enumerator
,
1
,
&
rgcd
,
NULL
)
==
S_OK
)
{
{
IDispatch
*
dispIface
;
IDispatch
*
dispIface
;
if
(
SUCCEEDED
(
IUnknown_QueryInterface
(
rgcd
.
pUnk
,
iid
,
(
LPVOID
*
)
&
dispIface
))
||
if
(
(
iid
&&
SUCCEEDED
(
IUnknown_QueryInterface
(
rgcd
.
pUnk
,
iid
,
(
LPVOID
*
)
&
dispIface
)
))
||
SUCCEEDED
(
IUnknown_QueryInterface
(
rgcd
.
pUnk
,
&
IID_IDispatch
,
(
LPVOID
*
)
&
dispIface
)))
SUCCEEDED
(
IUnknown_QueryInterface
(
rgcd
.
pUnk
,
&
IID_IDispatch
,
(
LPVOID
*
)
&
dispIface
)))
{
{
IDispatch_Invoke
(
dispIface
,
dispId
,
&
IID_NULL
,
0
,
DISPATCH_METHOD
,
dispParams
,
NULL
,
NULL
,
NULL
);
IDispatch_Invoke
(
dispIface
,
dispId
,
&
IID_NULL
,
0
,
DISPATCH_METHOD
,
dispParams
,
NULL
,
NULL
,
NULL
);
...
@@ -2966,6 +2966,8 @@ HRESULT WINAPI IConnectionPoint_InvokeWithCancel( IConnectionPoint* iCP,
...
@@ -2966,6 +2966,8 @@ HRESULT WINAPI IConnectionPoint_InvokeWithCancel( IConnectionPoint* iCP,
result
=
IConnectionPoint_GetConnectionInterface
(
iCP
,
&
iid
);
result
=
IConnectionPoint_GetConnectionInterface
(
iCP
,
&
iid
);
if
(
SUCCEEDED
(
result
))
if
(
SUCCEEDED
(
result
))
result
=
SHLWAPI_InvokeByIID
(
iCP
,
&
iid
,
dispId
,
dispParams
);
result
=
SHLWAPI_InvokeByIID
(
iCP
,
&
iid
,
dispId
,
dispParams
);
else
result
=
SHLWAPI_InvokeByIID
(
iCP
,
NULL
,
dispId
,
dispParams
);
return
result
;
return
result
;
}
}
...
@@ -2989,6 +2991,8 @@ HRESULT WINAPI IConnectionPoint_SimpleInvoke(
...
@@ -2989,6 +2991,8 @@ HRESULT WINAPI IConnectionPoint_SimpleInvoke(
result
=
IConnectionPoint_GetConnectionInterface
(
iCP
,
&
iid
);
result
=
IConnectionPoint_GetConnectionInterface
(
iCP
,
&
iid
);
if
(
SUCCEEDED
(
result
))
if
(
SUCCEEDED
(
result
))
result
=
SHLWAPI_InvokeByIID
(
iCP
,
&
iid
,
dispId
,
dispParams
);
result
=
SHLWAPI_InvokeByIID
(
iCP
,
&
iid
,
dispId
,
dispParams
);
else
result
=
SHLWAPI_InvokeByIID
(
iCP
,
NULL
,
dispId
,
dispParams
);
return
result
;
return
result
;
}
}
...
...
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