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
9e54ae76
Commit
9e54ae76
authored
Feb 08, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Return proper interface pointers.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3769d575
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
olepicture.c
dlls/oleaut32/olepicture.c
+1
-1
typelib.c
dlls/oleaut32/typelib.c
+1
-1
No files found.
dlls/oleaut32/olepicture.c
View file @
9e54ae76
...
@@ -461,7 +461,7 @@ static HRESULT WINAPI OLEPictureImpl_QueryInterface(
...
@@ -461,7 +461,7 @@ static HRESULT WINAPI OLEPictureImpl_QueryInterface(
*
ppvObject
=
0
;
*
ppvObject
=
0
;
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
)
||
IsEqualIID
(
&
IID_IPicture
,
riid
))
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
)
||
IsEqualIID
(
&
IID_IPicture
,
riid
))
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
IPicture_iface
;
else
if
(
IsEqualIID
(
&
IID_IDispatch
,
riid
))
else
if
(
IsEqualIID
(
&
IID_IDispatch
,
riid
))
*
ppvObject
=
&
This
->
IDispatch_iface
;
*
ppvObject
=
&
This
->
IDispatch_iface
;
else
if
(
IsEqualIID
(
&
IID_IPictureDisp
,
riid
))
else
if
(
IsEqualIID
(
&
IID_IPictureDisp
,
riid
))
...
...
dlls/oleaut32/typelib.c
View file @
9e54ae76
...
@@ -5579,7 +5579,7 @@ static HRESULT WINAPI ITypeInfo_fnQueryInterface(
...
@@ -5579,7 +5579,7 @@ static HRESULT WINAPI ITypeInfo_fnQueryInterface(
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_ITypeInfo
)
||
IsEqualIID
(
riid
,
&
IID_ITypeInfo
)
||
IsEqualIID
(
riid
,
&
IID_ITypeInfo2
))
IsEqualIID
(
riid
,
&
IID_ITypeInfo2
))
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
ITypeInfo2_iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_ICreateTypeInfo
)
||
else
if
(
IsEqualIID
(
riid
,
&
IID_ICreateTypeInfo
)
||
IsEqualIID
(
riid
,
&
IID_ICreateTypeInfo2
))
IsEqualIID
(
riid
,
&
IID_ICreateTypeInfo2
))
*
ppvObject
=
&
This
->
ICreateTypeInfo2_iface
;
*
ppvObject
=
&
This
->
ICreateTypeInfo2_iface
;
...
...
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