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
101dd3a9
Commit
101dd3a9
authored
Mar 29, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Forward IDirectPlay::GetMessageCount to ::GetMessageQueue.
parent
6f9dc0c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
20 deletions
+8
-20
dplay.c
dlls/dplayx/dplay.c
+8
-20
No files found.
dlls/dplayx/dplay.c
View file @
101dd3a9
...
...
@@ -2422,28 +2422,16 @@ static HRESULT WINAPI DirectPlay2WImpl_GetGroupName
return
DP_IF_GetGroupName
(
This
,
idGroup
,
lpData
,
lpdwDataSize
,
FALSE
);
}
static
HRESULT
DP_IF_GetMessageCount
(
IDirectPlay2Impl
*
This
,
DPID
idPlayer
,
LPDWORD
lpdwCount
,
BOOL
bAnsi
)
static
HRESULT
WINAPI
IDirectPlay4AImpl_GetMessageCount
(
IDirectPlay4A
*
iface
,
DPID
player
,
DWORD
*
count
)
{
FIXME
(
"(%p)->(0x%08x,%p,%u): stub
\n
"
,
This
,
idPlayer
,
lpdwCount
,
bAnsi
);
return
DP_IF_GetMessageQueue
(
(
IDirectPlay4Impl
*
)
This
,
0
,
idPlayer
,
DPMESSAGEQUEUE_RECEIVE
,
lpdwCount
,
NULL
,
bAnsi
);
return
IDirectPlayX_GetMessageQueue
(
iface
,
0
,
player
,
DPMESSAGEQUEUE_RECEIVE
,
count
,
NULL
);
}
static
HRESULT
WINAPI
DirectPlay2AImpl_GetMessageCount
(
LPDIRECTPLAY2A
iface
,
DPID
idPlayer
,
LPDWORD
lpdwC
ount
)
static
HRESULT
WINAPI
IDirectPlay4Impl_GetMessageCount
(
IDirectPlay4
*
iface
,
DPID
player
,
DWORD
*
c
ount
)
{
IDirectPlay2Impl
*
This
=
(
IDirectPlay2Impl
*
)
iface
;
return
DP_IF_GetMessageCount
(
This
,
idPlayer
,
lpdwCount
,
TRUE
);
}
static
HRESULT
WINAPI
DirectPlay2WImpl_GetMessageCount
(
LPDIRECTPLAY2
iface
,
DPID
idPlayer
,
LPDWORD
lpdwCount
)
{
IDirectPlay2Impl
*
This
=
(
IDirectPlay2Impl
*
)
iface
;
return
DP_IF_GetMessageCount
(
This
,
idPlayer
,
lpdwCount
,
FALSE
);
return
IDirectPlayX_GetMessageQueue
(
iface
,
0
,
player
,
DPMESSAGEQUEUE_RECEIVE
,
count
,
NULL
);
}
static
HRESULT
WINAPI
DirectPlay2AImpl_GetPlayerAddress
...
...
@@ -4737,7 +4725,7 @@ static const IDirectPlay4Vtbl directPlay4WVT =
XCAST
(
GetCaps
)
DirectPlay2WImpl_GetCaps
,
XCAST
(
GetGroupData
)
DirectPlay2WImpl_GetGroupData
,
XCAST
(
GetGroupName
)
DirectPlay2WImpl_GetGroupName
,
XCAST
(
GetMessageCount
)
DirectPlay2W
Impl_GetMessageCount
,
IDirectPlay4
Impl_GetMessageCount
,
XCAST
(
GetPlayerAddress
)
DirectPlay2WImpl_GetPlayerAddress
,
XCAST
(
GetPlayerCaps
)
DirectPlay2WImpl_GetPlayerCaps
,
XCAST
(
GetPlayerData
)
DirectPlay2WImpl_GetPlayerData
,
...
...
@@ -4805,7 +4793,7 @@ static const IDirectPlay4Vtbl directPlay4AVT =
XCAST
(
GetCaps
)
DirectPlay2AImpl_GetCaps
,
XCAST
(
GetGroupData
)
DirectPlay2AImpl_GetGroupData
,
XCAST
(
GetGroupName
)
DirectPlay2AImpl_GetGroupName
,
XCAST
(
GetMessageCount
)
DirectPlay2
AImpl_GetMessageCount
,
IDirectPlay4
AImpl_GetMessageCount
,
XCAST
(
GetPlayerAddress
)
DirectPlay2AImpl_GetPlayerAddress
,
XCAST
(
GetPlayerCaps
)
DirectPlay2AImpl_GetPlayerCaps
,
XCAST
(
GetPlayerData
)
DirectPlay2AImpl_GetPlayerData
,
...
...
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