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
4fdcc03c
Commit
4fdcc03c
authored
Feb 13, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itss: Properly return interface pointers.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f6b1e123
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
itss.c
dlls/itss/itss.c
+1
-1
storage.c
dlls/itss/storage.c
+3
-3
No files found.
dlls/itss/itss.c
View file @
4fdcc03c
...
...
@@ -84,7 +84,7 @@ ITSSCF_QueryInterface(LPCLASSFACTORY iface,REFIID riid,LPVOID *ppobj)
IsEqualGUID
(
riid
,
&
IID_IClassFactory
))
{
IClassFactory_AddRef
(
iface
);
*
ppobj
=
This
;
*
ppobj
=
&
This
->
IClassFactory_iface
;
return
S_OK
;
}
...
...
dlls/itss/storage.c
View file @
4fdcc03c
...
...
@@ -106,7 +106,7 @@ static HRESULT WINAPI ITSS_IEnumSTATSTG_QueryInterface(
||
IsEqualGUID
(
riid
,
&
IID_IEnumSTATSTG
))
{
IEnumSTATSTG_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
IEnumSTATSTG_iface
;
return
S_OK
;
}
...
...
@@ -283,7 +283,7 @@ static HRESULT WINAPI ITSS_IStorageImpl_QueryInterface(
||
IsEqualGUID
(
riid
,
&
IID_IStorage
))
{
IStorage_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
IStorage_iface
;
return
S_OK
;
}
...
...
@@ -666,7 +666,7 @@ static HRESULT WINAPI ITSS_IStream_QueryInterface(
||
IsEqualGUID
(
riid
,
&
IID_IStream
))
{
IStream_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
IStream_iface
;
return
S_OK
;
}
...
...
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