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
3147647b
Commit
3147647b
authored
Apr 08, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Forward directly to IDirectPlay4 QueryInterface.
parent
3b7f969a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dplay.c
dlls/dplayx/dplay.c
+5
-5
No files found.
dlls/dplayx/dplay.c
View file @
3147647b
...
...
@@ -604,7 +604,7 @@ static HRESULT WINAPI IDirectPlay2AImpl_QueryInterface( IDirectPlay2A *iface, RE
void
**
ppv
)
{
IDirectPlayImpl
*
This
=
impl_from_IDirectPlay2A
(
iface
);
return
IDirectPlayX_QueryInterface
(
&
This
->
IDirectPlay4
A
_iface
,
riid
,
ppv
);
return
IDirectPlayX_QueryInterface
(
&
This
->
IDirectPlay4_iface
,
riid
,
ppv
);
}
static
HRESULT
WINAPI
IDirectPlay2Impl_QueryInterface
(
IDirectPlay2
*
iface
,
REFIID
riid
,
...
...
@@ -5713,17 +5713,17 @@ HRESULT dplay_create( REFIID riid, void **ppv )
obj
->
ref2
=
0
;
obj
->
ref3A
=
0
;
obj
->
ref3
=
0
;
obj
->
ref4A
=
1
;
obj
->
ref4
=
0
;
obj
->
ref4A
=
0
;
obj
->
ref4
=
1
;
InitializeCriticalSection
(
&
obj
->
lock
);
obj
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": IDirectPlayImpl.lock"
);
if
(
DP_CreateDirectPlay2
(
obj
)
)
hr
=
IDirectPlayX_QueryInterface
(
&
obj
->
IDirectPlay4
A
_iface
,
riid
,
ppv
);
hr
=
IDirectPlayX_QueryInterface
(
&
obj
->
IDirectPlay4_iface
,
riid
,
ppv
);
else
hr
=
DPERR_NOMEMORY
;
IDirectPlayX_Release
(
&
obj
->
IDirectPlay4
A
_iface
);
IDirectPlayX_Release
(
&
obj
->
IDirectPlay4_iface
);
return
hr
;
}
...
...
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