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
f6e4aa77
Commit
f6e4aa77
authored
Apr 17, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Get rid of the LPDIRECTPLAYLOBBY usage.
parent
0870290c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
22 deletions
+15
-22
dplobby.c
dlls/dplayx/dplobby.c
+12
-19
dplayx.c
dlls/dplayx/tests/dplayx.c
+3
-3
No files found.
dlls/dplayx/dplobby.c
View file @
f6e4aa77
...
...
@@ -1365,9 +1365,8 @@ static HRESULT WINAPI IDirectPlayLobby3Impl_ConnectEx( IDirectPlayLobby3 *iface,
return
DPL_ConnectEx
(
This
,
dwFlags
,
riid
,
lplpDP
,
pUnk
);
}
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_ConnectEx
(
LPDIRECTPLAYLOBBY3A
iface
,
DWORD
dwFlags
,
REFIID
riid
,
LPVOID
*
lplpDP
,
IUnknown
*
pUnk
)
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_ConnectEx
(
IDirectPlayLobby3A
*
iface
,
DWORD
dwFlags
,
REFIID
riid
,
void
**
lplpDP
,
IUnknown
*
pUnk
)
{
IDirectPlayLobbyImpl
*
This
=
impl_from_IDirectPlayLobby3A
(
iface
);
return
DPL_ConnectEx
(
This
,
dwFlags
,
riid
,
lplpDP
,
pUnk
);
...
...
@@ -1380,8 +1379,8 @@ static HRESULT WINAPI IDirectPlayLobby3Impl_RegisterApplication( IDirectPlayLobb
return
DP_OK
;
}
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_RegisterApplication
(
LPDIRECTPLAYLOBBY3A
iface
,
DWORD
dwFlags
,
LPDPAPPLICATIONDESC
lpAppD
esc
)
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_RegisterApplication
(
IDirectPlayLobby3A
*
iface
,
DWORD
flags
,
DPAPPLICATIONDESC
*
appd
esc
)
{
FIXME
(
":stub
\n
"
);
return
DP_OK
;
...
...
@@ -1394,8 +1393,8 @@ static HRESULT WINAPI IDirectPlayLobby3Impl_UnregisterApplication( IDirectPlayLo
return
DP_OK
;
}
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_UnregisterApplication
(
LPDIRECTPLAYLOBBY3A
iface
,
DWORD
dwFlags
,
REFGUID
lpAppD
esc
)
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_UnregisterApplication
(
IDirectPlayLobby3A
*
iface
,
DWORD
flags
,
REFGUID
appd
esc
)
{
FIXME
(
":stub
\n
"
);
return
DP_OK
;
...
...
@@ -1418,8 +1417,8 @@ static HRESULT WINAPI IDirectPlayLobby3Impl_WaitForConnectionSettings( IDirectPl
return
hr
;
}
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_WaitForConnectionSettings
(
LPDIRECTPLAYLOBBY3A
iface
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectPlayLobby3AImpl_WaitForConnectionSettings
(
IDirectPlayLobby3A
*
iface
,
DWORD
dwFlags
)
{
HRESULT
hr
=
DP_OK
;
BOOL
bStartWait
=
!
(
dwFlags
&
DPLWAIT_CANCEL
);
...
...
@@ -1518,11 +1517,8 @@ HRESULT dplobby_create( REFIID riid, void **ppv )
* DirectPlayLobbyCreateA (DPLAYX.4)
*
*/
HRESULT
WINAPI
DirectPlayLobbyCreateA
(
LPGUID
lpGUIDDSP
,
LPDIRECTPLAYLOBBYA
*
lplpDPL
,
IUnknown
*
lpUnk
,
LPVOID
lpData
,
DWORD
dwDataSize
)
HRESULT
WINAPI
DirectPlayLobbyCreateA
(
GUID
*
lpGUIDDSP
,
IDirectPlayLobbyA
**
lplpDPL
,
IUnknown
*
lpUnk
,
void
*
lpData
,
DWORD
dwDataSize
)
{
TRACE
(
"lpGUIDDSP=%p lplpDPL=%p lpUnk=%p lpData=%p dwDataSize=%08x
\n
"
,
lpGUIDDSP
,
lplpDPL
,
lpUnk
,
lpData
,
dwDataSize
);
...
...
@@ -1550,11 +1546,8 @@ HRESULT WINAPI DirectPlayLobbyCreateA( LPGUID lpGUIDDSP,
* DirectPlayLobbyCreateW (DPLAYX.5)
*
*/
HRESULT
WINAPI
DirectPlayLobbyCreateW
(
LPGUID
lpGUIDDSP
,
LPDIRECTPLAYLOBBY
*
lplpDPL
,
IUnknown
*
lpUnk
,
LPVOID
lpData
,
DWORD
dwDataSize
)
HRESULT
WINAPI
DirectPlayLobbyCreateW
(
GUID
*
lpGUIDDSP
,
IDirectPlayLobby
**
lplpDPL
,
IUnknown
*
lpUnk
,
void
*
lpData
,
DWORD
dwDataSize
)
{
TRACE
(
"lpGUIDDSP=%p lplpDPL=%p lpUnk=%p lpData=%p dwDataSize=%08x
\n
"
,
lpGUIDDSP
,
lplpDPL
,
lpUnk
,
lpData
,
dwDataSize
);
...
...
dlls/dplayx/tests/dplayx.c
View file @
f6e4aa77
...
...
@@ -652,7 +652,7 @@ static void init_TCPIP_provider( IDirectPlay4 *pDP, LPCSTR strIPAddressString, W
DPCOMPOUNDADDRESSELEMENT
addressElements
[
3
];
LPVOID
pAddress
=
NULL
;
DWORD
dwAddressSize
=
0
;
LPDIRECTPLAYLOBBY3
pDPL
;
IDirectPlayLobby3
*
pDPL
;
HRESULT
hr
;
hr
=
CoCreateInstance
(
&
CLSID_DirectPlayLobby
,
NULL
,
CLSCTX_ALL
,
...
...
@@ -799,7 +799,7 @@ static BOOL CALLBACK EnumConnections_cb( LPCGUID lpguidSP,
{
lpCallbackData
callbackData
=
lpContext
;
LPDIRECTPLAYLOBBY
pDPL
;
IDirectPlayLobby
*
pDPL
;
HRESULT
hr
;
...
...
@@ -2877,7 +2877,7 @@ static void test_GetPlayerAddress(void)
{
IDirectPlay4
*
pDP
[
2
];
LPDIRECTPLAYLOBBY3
pDPL
;
IDirectPlayLobby3
*
pDPL
;
DPSESSIONDESC2
dpsd
;
DPID
dpid
[
2
];
CallbackData
callbackData
;
...
...
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