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
7d44fa71
Commit
7d44fa71
authored
Mar 20, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Return interface pointers instead of impl pointers from QI.
parent
01eed947
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
bindctx.c
dlls/ole32/bindctx.c
+1
-1
hglobalstream.c
dlls/ole32/hglobalstream.c
+1
-1
moniker.c
dlls/ole32/moniker.c
+1
-1
storage32.c
dlls/ole32/storage32.c
+1
-1
No files found.
dlls/ole32/bindctx.c
View file @
7d44fa71
...
@@ -92,7 +92,7 @@ BindCtxImpl_QueryInterface(IBindCtx* iface,REFIID riid,void** ppvObject)
...
@@ -92,7 +92,7 @@ BindCtxImpl_QueryInterface(IBindCtx* iface,REFIID riid,void** ppvObject)
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
)
||
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
)
||
IsEqualIID
(
&
IID_IBindCtx
,
riid
))
IsEqualIID
(
&
IID_IBindCtx
,
riid
))
{
{
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
IBindCtx_iface
;
IBindCtx_AddRef
(
iface
);
IBindCtx_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/ole32/hglobalstream.c
View file @
7d44fa71
...
@@ -89,7 +89,7 @@ static HRESULT WINAPI HGLOBALStreamImpl_QueryInterface(
...
@@ -89,7 +89,7 @@ static HRESULT WINAPI HGLOBALStreamImpl_QueryInterface(
IsEqualIID
(
&
IID_ISequentialStream
,
riid
)
||
IsEqualIID
(
&
IID_ISequentialStream
,
riid
)
||
IsEqualIID
(
&
IID_IStream
,
riid
))
IsEqualIID
(
&
IID_IStream
,
riid
))
{
{
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
IStream_iface
;
}
}
if
((
*
ppvObject
)
==
0
)
if
((
*
ppvObject
)
==
0
)
...
...
dlls/ole32/moniker.c
View file @
7d44fa71
...
@@ -316,7 +316,7 @@ RunningObjectTableImpl_QueryInterface(IRunningObjectTable* iface,
...
@@ -316,7 +316,7 @@ RunningObjectTableImpl_QueryInterface(IRunningObjectTable* iface,
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
)
||
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
)
||
IsEqualIID
(
&
IID_IRunningObjectTable
,
riid
))
IsEqualIID
(
&
IID_IRunningObjectTable
,
riid
))
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
IRunningObjectTable_iface
;
if
((
*
ppvObject
)
==
0
)
if
((
*
ppvObject
)
==
0
)
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
...
...
dlls/ole32/storage32.c
View file @
7d44fa71
...
@@ -6300,7 +6300,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_QueryInterface(
...
@@ -6300,7 +6300,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_QueryInterface(
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
IsEqualGUID
(
&
IID_IEnumSTATSTG
,
riid
))
IsEqualGUID
(
&
IID_IEnumSTATSTG
,
riid
))
{
{
*
ppvObject
=
This
;
*
ppvObject
=
&
This
->
IEnumSTATSTG_iface
;
IEnumSTATSTG_AddRef
(
&
This
->
IEnumSTATSTG_iface
);
IEnumSTATSTG_AddRef
(
&
This
->
IEnumSTATSTG_iface
);
return
S_OK
;
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