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
47cde46c
Commit
47cde46c
authored
Mar 29, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Forward IDirectPlay::GetCaps to ::GetPlayerCaps.
parent
4ccd8720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
18 deletions
+6
-18
dplay.c
dlls/dplayx/dplay.c
+6
-18
No files found.
dlls/dplayx/dplay.c
View file @
47cde46c
...
...
@@ -156,8 +156,6 @@ static HRESULT DP_IF_EnumGroupsInGroup
static
HRESULT
DP_IF_GetGroupParent
(
IDirectPlay3AImpl
*
This
,
DPID
idGroup
,
LPDPID
lpidGroup
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_GetCaps
(
IDirectPlay2Impl
*
This
,
LPDPCAPS
lpDPCaps
,
DWORD
dwFlags
);
static
HRESULT
DP_IF_EnumSessions
(
IDirectPlay2Impl
*
This
,
LPDPSESSIONDESC2
lpsd
,
DWORD
dwTimeout
,
LPDPENUMSESSIONSCALLBACK2
lpEnumSessionsCallback2
,
...
...
@@ -1953,7 +1951,7 @@ static HRESULT DP_IF_EnumSessions
DPCAPS
spCaps
;
spCaps
.
dwSize
=
sizeof
(
spCaps
);
DP_IF_GetCaps
(
This
,
&
spCaps
,
0
);
IDirectPlayX_GetCaps
(
&
This
->
IDirectPlay4_iface
,
&
spCaps
,
0
);
dwTimeout
=
spCaps
.
dwTimeout
;
/* The service provider doesn't provide one either! */
...
...
@@ -2090,24 +2088,14 @@ static HRESULT DP_IF_GetPlayerCaps
return
(
*
This
->
dp2
->
spData
.
lpCB
->
GetCaps
)(
&
data
);
}
static
HRESULT
DP_IF_GetCaps
(
IDirectPlay2Impl
*
This
,
LPDPCAPS
lpDPCaps
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectPlay4AImpl_GetCaps
(
IDirectPlay4A
*
iface
,
DPCAPS
*
caps
,
DWORD
flags
)
{
return
DP_IF_GetPlayerCaps
(
This
,
DPID_ALLPLAYERS
,
lpDPCaps
,
dwF
lags
);
return
IDirectPlayX_GetPlayerCaps
(
iface
,
DPID_ALLPLAYERS
,
caps
,
f
lags
);
}
static
HRESULT
WINAPI
IDirectPlay4AImpl_GetCaps
(
IDirectPlay4A
*
iface
,
DPCAPS
*
lpDPCaps
,
DWORD
dwFlags
)
{
IDirectPlayImpl
*
This
=
impl_from_IDirectPlay4A
(
iface
);
return
DP_IF_GetCaps
(
This
,
lpDPCaps
,
dwFlags
);
}
static
HRESULT
WINAPI
DirectPlay2WImpl_GetCaps
(
LPDIRECTPLAY2
iface
,
LPDPCAPS
lpDPCaps
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectPlay4Impl_GetCaps
(
IDirectPlay4
*
iface
,
DPCAPS
*
caps
,
DWORD
flags
)
{
IDirectPlay2Impl
*
This
=
(
IDirectPlay2Impl
*
)
iface
;
return
DP_IF_GetCaps
(
This
,
lpDPCaps
,
dwFlags
);
return
IDirectPlayX_GetPlayerCaps
(
iface
,
DPID_ALLPLAYERS
,
caps
,
flags
);
}
static
HRESULT
WINAPI
IDirectPlay4AImpl_GetGroupData
(
IDirectPlay4A
*
iface
,
DPID
group
,
...
...
@@ -4508,7 +4496,7 @@ static const IDirectPlay4Vtbl dp4_vt =
IDirectPlay4Impl_EnumGroups
,
IDirectPlay4Impl_EnumPlayers
,
XCAST
(
EnumSessions
)
DirectPlay2WImpl_EnumSessions
,
XCAST
(
GetCaps
)
DirectPlay2W
Impl_GetCaps
,
IDirectPlay4
Impl_GetCaps
,
IDirectPlay4Impl_GetGroupData
,
XCAST
(
GetGroupName
)
DirectPlay2WImpl_GetGroupName
,
IDirectPlay4Impl_GetMessageCount
,
...
...
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