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
f658adff
Commit
f658adff
authored
Jan 09, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix the detection of when we need an additional QueryInterface in CoUnmarshalInterface.
parent
fa64950e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
marshal.c
dlls/ole32/marshal.c
+3
-6
No files found.
dlls/ole32/marshal.c
View file @
f658adff
...
...
@@ -1671,16 +1671,13 @@ HRESULT WINAPI CoUnmarshalInterface(IStream *pStream, REFIID riid, LPVOID *ppv)
if
(
hr
)
ERR
(
"IMarshal::UnmarshalInterface failed, 0x%08x
\n
"
,
hr
);
/* IID_NULL means use the interface ID of the marshaled object */
if
(
!
IsEqualIID
(
riid
,
&
IID_NULL
))
iid
=
*
riid
;
if
(
hr
==
S_OK
)
{
if
(
!
IsEqualIID
(
riid
,
&
iid
))
/* IID_NULL means use the interface ID of the marshaled object */
if
(
!
IsEqualIID
(
riid
,
&
IID_NULL
)
&&
!
IsEqualIID
(
riid
,
&
iid
))
{
TRACE
(
"requested interface != marshalled interface, additional QI needed
\n
"
);
hr
=
IUnknown_QueryInterface
(
object
,
&
iid
,
ppv
);
hr
=
IUnknown_QueryInterface
(
object
,
r
iid
,
ppv
);
if
(
hr
)
ERR
(
"Couldn't query for interface %s, hr = 0x%08x
\n
"
,
debugstr_guid
(
riid
),
hr
);
...
...
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