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
d9d1b6ad
Commit
d9d1b6ad
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 IDirectPlayLobbyImpl aliases.
parent
f6e4aa77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
19 deletions
+5
-19
dplobby.c
dlls/dplayx/dplobby.c
+5
-19
No files found.
dlls/dplayx/dplobby.c
View file @
d9d1b6ad
...
...
@@ -36,16 +36,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dplay
);
/*****************************************************************************
* Predeclare the interface implementation structures
*/
typedef
struct
IDirectPlayLobbyImpl
IDirectPlayLobbyAImpl
;
typedef
struct
IDirectPlayLobbyImpl
IDirectPlayLobbyWImpl
;
typedef
struct
IDirectPlayLobbyImpl
IDirectPlayLobby2AImpl
;
typedef
struct
IDirectPlayLobbyImpl
IDirectPlayLobby2WImpl
;
typedef
struct
IDirectPlayLobbyImpl
IDirectPlayLobby3AImpl
;
typedef
struct
IDirectPlayLobbyImpl
IDirectPlayLobby3WImpl
;
/* Forward declarations for this module helper methods */
HRESULT
DPL_CreateCompoundAddress
(
LPCDPCOMPOUNDADDRESSELEMENT
lpElements
,
DWORD
dwElementCount
,
LPVOID
lpAddress
,
LPDWORD
lpdwAddressSize
,
BOOL
bAnsiInterface
)
DECLSPEC_HIDDEN
;
...
...
@@ -102,7 +92,7 @@ static inline IDirectPlayLobbyImpl *impl_from_IDirectPlayLobby3A( IDirectPlayLob
static
BOOL
DPL_CreateLobby1
(
LPVOID
lpDPL
)
{
IDirectPlayLobby
A
Impl
*
This
=
lpDPL
;
IDirectPlayLobbyImpl
*
This
=
lpDPL
;
This
->
dpl
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
(
This
->
dpl
)
)
);
if
(
This
->
dpl
==
NULL
)
...
...
@@ -117,7 +107,7 @@ static BOOL DPL_CreateLobby1( LPVOID lpDPL )
static
BOOL
DPL_DestroyLobby1
(
LPVOID
lpDPL
)
{
IDirectPlayLobby
A
Impl
*
This
=
lpDPL
;
IDirectPlayLobbyImpl
*
This
=
lpDPL
;
if
(
This
->
dpl
->
dwMsgThread
)
{
...
...
@@ -259,12 +249,8 @@ static ULONG WINAPI IDirectPlayLobby3Impl_Release(IDirectPlayLobby3 *iface)
* Returns an IDirectPlay interface.
*
*/
static
HRESULT
DPL_ConnectEx
(
IDirectPlayLobbyAImpl
*
This
,
DWORD
dwFlags
,
REFIID
riid
,
LPVOID
*
lplpDP
,
IUnknown
*
pUnk
)
static
HRESULT
DPL_ConnectEx
(
IDirectPlayLobbyImpl
*
This
,
DWORD
dwFlags
,
REFIID
riid
,
void
**
lplpDP
,
IUnknown
*
pUnk
)
{
HRESULT
hr
;
DWORD
dwOpenFlags
=
0
;
...
...
@@ -789,7 +775,7 @@ static HRESULT WINAPI IDirectPlayLobby3Impl_ReceiveLobbyMessage( IDirectPlayLobb
typedef
struct
tagRunApplicationEnumStruct
{
IDirectPlayLobby
AImpl
*
This
;
IDirectPlayLobby
Impl
*
This
;
GUID
appGUID
;
LPSTR
lpszPath
;
...
...
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