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
f6b1e123
Commit
f6b1e123
authored
Feb 13, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Properly return interface pointers.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a525b697
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
hlink_main.c
dlls/hlink/hlink_main.c
+1
-1
link.c
dlls/hlink/link.c
+1
-1
No files found.
dlls/hlink/hlink_main.c
View file @
f6b1e123
...
...
@@ -528,7 +528,7 @@ static HRESULT WINAPI HLinkCF_fnQueryInterface ( LPCLASSFACTORY iface,
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IClassFactory
))
{
*
ppvObj
=
This
;
*
ppvObj
=
&
This
->
IClassFactory_iface
;
return
S_OK
;
}
...
...
dlls/hlink/link.c
View file @
f6b1e123
...
...
@@ -129,7 +129,7 @@ static HRESULT WINAPI IHlink_fnQueryInterface(IHlink* iface, REFIID riid,
*
ppvObj
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
(
IsEqualIID
(
riid
,
&
IID_IHlink
)))
*
ppvObj
=
This
;
*
ppvObj
=
&
This
->
IHlink_iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
*
ppvObj
=
&
This
->
IPersistStream_iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IDataObject
))
...
...
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