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
f2735841
Commit
f2735841
authored
Apr 09, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Forward IDirectPlayLobby::Connect to ::ConnectEx.
parent
779cbdbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
18 deletions
+8
-18
dplobby.c
dlls/dplayx/dplobby.c
+8
-18
No files found.
dlls/dplayx/dplobby.c
View file @
f2735841
...
...
@@ -412,26 +412,16 @@ static HRESULT DPL_ConnectEx
return
hr
;
}
static
HRESULT
WINAPI
IDirectPlayLobbyAImpl_Connect
(
LPDIRECTPLAYLOBBYA
iface
,
DWORD
dwFlags
,
LPDIRECTPLAY2A
*
lplpDP
,
IUnknown
*
pUnk
)
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_Connect
(
IDirectPlayLobby3A
*
iface
,
DWORD
flags
,
IDirectPlay2A
**
dp
,
IUnknown
*
unk
)
{
IDirectPlayLobbyAImpl
*
This
=
(
IDirectPlayLobbyAImpl
*
)
iface
;
return
DPL_ConnectEx
(
This
,
dwFlags
,
&
IID_IDirectPlay2A
,
(
LPVOID
)
lplpDP
,
pUnk
);
return
IDirectPlayLobby_ConnectEx
(
iface
,
flags
,
&
IID_IDirectPlay2A
,
(
void
**
)
dp
,
unk
);
}
static
HRESULT
WINAPI
IDirectPlayLobbyWImpl_Connect
(
LPDIRECTPLAYLOBBY
iface
,
DWORD
dwFlags
,
LPDIRECTPLAY2
*
lplpDP
,
IUnknown
*
pUnk
)
static
HRESULT
WINAPI
IDirectPlayLobby3Impl_Connect
(
IDirectPlayLobby3
*
iface
,
DWORD
flags
,
IDirectPlay2
**
dp
,
IUnknown
*
unk
)
{
IDirectPlayLobbyAImpl
*
This
=
(
IDirectPlayLobbyAImpl
*
)
iface
;
/* Yes cast to A */
return
DPL_ConnectEx
(
This
,
dwFlags
,
&
IID_IDirectPlay2
,
(
LPVOID
)
lplpDP
,
pUnk
);
return
IDirectPlayLobby_ConnectEx
(
iface
,
flags
,
&
IID_IDirectPlay2A
,
(
void
**
)
dp
,
unk
);
}
/********************************************************************
...
...
@@ -1610,7 +1600,7 @@ static const IDirectPlayLobby3Vtbl directPlayLobby3AVT =
XCAST
(
AddRef
)
DPL_AddRef
,
XCAST
(
Release
)
DPL_Release
,
XCAST
(
Connect
)
IDirectPlayLobby
AImpl_Connect
,
IDirectPlayLobby3
AImpl_Connect
,
XCAST
(
CreateAddress
)
IDirectPlayLobbyAImpl_CreateAddress
,
XCAST
(
EnumAddress
)
IDirectPlayLobbyAImpl_EnumAddress
,
XCAST
(
EnumAddressTypes
)
IDirectPlayLobbyAImpl_EnumAddressTypes
,
...
...
@@ -1646,7 +1636,7 @@ static const IDirectPlayLobby3Vtbl directPlayLobby3WVT =
XCAST
(
AddRef
)
DPL_AddRef
,
XCAST
(
Release
)
DPL_Release
,
XCAST
(
Connect
)
IDirectPlayLobbyW
Impl_Connect
,
IDirectPlayLobby3
Impl_Connect
,
XCAST
(
CreateAddress
)
IDirectPlayLobbyWImpl_CreateAddress
,
XCAST
(
EnumAddress
)
IDirectPlayLobbyWImpl_EnumAddress
,
XCAST
(
EnumAddressTypes
)
IDirectPlayLobbyWImpl_EnumAddressTypes
,
...
...
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