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
73a0ddfa
Commit
73a0ddfa
authored
Feb 05, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Correctly return interface pointer.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7bcca927
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
olepicture.c
dlls/oleaut32/tests/olepicture.c
+3
-8
No files found.
dlls/oleaut32/tests/olepicture.c
View file @
73a0ddfa
...
...
@@ -1391,14 +1391,9 @@ static HRESULT WINAPI NoStatStreamImpl_QueryInterface(
NoStatStreamImpl
*
const
This
=
impl_from_IStream
(
iface
);
if
(
ppvObject
==
0
)
return
E_INVALIDARG
;
*
ppvObject
=
0
;
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
))
{
*
ppvObject
=
This
;
}
else
if
(
IsEqualIID
(
&
IID_IStream
,
riid
))
{
*
ppvObject
=
This
;
}
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
)
||
IsEqualIID
(
&
IID_IStream
,
riid
))
*
ppvObject
=
&
This
->
IStream_iface
;
if
((
*
ppvObject
)
==
0
)
return
E_NOINTERFACE
;
...
...
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