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
6f9dc0c2
Commit
6f9dc0c2
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::Open to ::SecureOpen.
parent
e1a42bba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
dplay.c
dlls/dplayx/dplay.c
+8
-12
No files found.
dlls/dplayx/dplay.c
View file @
6f9dc0c2
...
...
@@ -2805,20 +2805,16 @@ static HRESULT DP_SecureOpen
return
hr
;
}
static
HRESULT
WINAPI
DirectPlay2AImpl_Open
(
LPDIRECTPLAY2A
iface
,
LPDPSESSIONDESC2
lpsd
,
DWORD
dwF
lags
)
static
HRESULT
WINAPI
IDirectPlay4AImpl_Open
(
IDirectPlay4A
*
iface
,
DPSESSIONDESC2
*
sdesc
,
DWORD
f
lags
)
{
IDirectPlay2Impl
*
This
=
(
IDirectPlay2Impl
*
)
iface
;
TRACE
(
"(%p)->(%p,0x%08x)
\n
"
,
This
,
lpsd
,
dwFlags
);
return
DP_SecureOpen
(
This
,
lpsd
,
dwFlags
,
NULL
,
NULL
,
TRUE
);
return
IDirectPlayX_SecureOpen
(
iface
,
sdesc
,
flags
,
NULL
,
NULL
);
}
static
HRESULT
WINAPI
DirectPlay2WImpl_Open
(
LPDIRECTPLAY2
iface
,
LPDPSESSIONDESC2
lpsd
,
DWORD
dwF
lags
)
static
HRESULT
WINAPI
IDirectPlay4Impl_Open
(
IDirectPlay4
*
iface
,
DPSESSIONDESC2
*
sdesc
,
DWORD
f
lags
)
{
IDirectPlay2Impl
*
This
=
(
IDirectPlay2Impl
*
)
iface
;
TRACE
(
"(%p)->(%p,0x%08x)
\n
"
,
This
,
lpsd
,
dwFlags
);
return
DP_SecureOpen
(
This
,
lpsd
,
dwFlags
,
NULL
,
NULL
,
FALSE
);
return
IDirectPlayX_SecureOpen
(
iface
,
sdesc
,
flags
,
NULL
,
NULL
);
}
static
HRESULT
DP_IF_Receive
...
...
@@ -4748,7 +4744,7 @@ static const IDirectPlay4Vtbl directPlay4WVT =
XCAST
(
GetPlayerName
)
DirectPlay2WImpl_GetPlayerName
,
XCAST
(
GetSessionDesc
)
DirectPlay2WImpl_GetSessionDesc
,
XCAST
(
Initialize
)
DirectPlay2WImpl_Initialize
,
XCAST
(
Open
)
DirectPlay2W
Impl_Open
,
IDirectPlay4
Impl_Open
,
XCAST
(
Receive
)
DirectPlay2WImpl_Receive
,
XCAST
(
Send
)
DirectPlay2WImpl_Send
,
XCAST
(
SetGroupData
)
DirectPlay2WImpl_SetGroupData
,
...
...
@@ -4816,7 +4812,7 @@ static const IDirectPlay4Vtbl directPlay4AVT =
XCAST
(
GetPlayerName
)
DirectPlay2AImpl_GetPlayerName
,
XCAST
(
GetSessionDesc
)
DirectPlay2AImpl_GetSessionDesc
,
XCAST
(
Initialize
)
DirectPlay2AImpl_Initialize
,
XCAST
(
Open
)
DirectPlay2
AImpl_Open
,
IDirectPlay4
AImpl_Open
,
XCAST
(
Receive
)
DirectPlay2AImpl_Receive
,
XCAST
(
Send
)
DirectPlay2AImpl_Send
,
XCAST
(
SetGroupData
)
DirectPlay2AImpl_SetGroupData
,
...
...
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