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
f92e1703
Commit
f92e1703
authored
Mar 29, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Remove superfluous forward declarations.
parent
2a079ce6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
85 deletions
+0
-85
dplay.c
dlls/dplayx/dplay.c
+0
-64
dplayx_messages.c
dlls/dplayx/dplayx_messages.c
+0
-7
dplobby.c
dlls/dplayx/dplobby.c
+0
-13
lobbysp.h
dlls/dplayx/lobbysp.h
+0
-1
No files found.
dlls/dplayx/dplay.c
View file @
f92e1703
...
...
@@ -52,83 +52,28 @@ extern HRESULT DPL_CreateCompoundAddress
/* Local function prototypes */
static
lpPlayerList
DP_FindPlayer
(
IDirectPlay2AImpl
*
This
,
DPID
dpid
);
static
lpPlayerData
DP_CreatePlayer
(
IDirectPlay2Impl
*
iface
,
LPDPID
lpid
,
LPDPNAME
lpName
,
DWORD
dwFlags
,
HANDLE
hEvent
,
BOOL
bAnsi
);
static
BOOL
DP_CopyDPNAMEStruct
(
LPDPNAME
lpDst
,
const
DPNAME
*
lpSrc
,
BOOL
bAnsi
);
static
void
DP_SetPlayerData
(
lpPlayerData
lpPData
,
DWORD
dwFlags
,
LPVOID
lpData
,
DWORD
dwDataSize
);
static
lpGroupData
DP_CreateGroup
(
IDirectPlay2AImpl
*
iface
,
const
DPID
*
lpid
,
const
DPNAME
*
lpName
,
DWORD
dwFlags
,
DPID
idParent
,
BOOL
bAnsi
);
static
void
DP_SetGroupData
(
lpGroupData
lpGData
,
DWORD
dwFlags
,
LPVOID
lpData
,
DWORD
dwDataSize
);
static
void
DP_DeleteDPNameStruct
(
LPDPNAME
lpDPName
);
static
void
DP_DeletePlayer
(
IDirectPlay2Impl
*
This
,
DPID
dpid
);
static
BOOL
CALLBACK
cbDeletePlayerFromAllGroups
(
DPID
dpId
,
DWORD
dwPlayerType
,
LPCDPNAME
lpName
,
DWORD
dwFlags
,
LPVOID
lpContext
);
static
lpGroupData
DP_FindAnyGroup
(
IDirectPlay2AImpl
*
This
,
DPID
dpid
);
static
BOOL
CALLBACK
cbRemoveGroupOrPlayer
(
DPID
dpId
,
DWORD
dwPlayerType
,
LPCDPNAME
lpName
,
DWORD
dwFlags
,
LPVOID
lpContext
);
static
void
DP_DeleteGroup
(
IDirectPlay2Impl
*
This
,
DPID
dpid
);
/* Helper methods for player/group interfaces */
static
HRESULT
DP_IF_CreatePlayer
(
IDirectPlay2Impl
*
This
,
LPVOID
lpMsgHdr
,
LPDPID
lpidPlayer
,
LPDPNAME
lpPlayerName
,
HANDLE
hEvent
,
LPVOID
lpData
,
DWORD
dwDataSize
,
DWORD
dwFlags
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_DestroyGroup
(
IDirectPlay2Impl
*
This
,
LPVOID
lpMsgHdr
,
DPID
idGroup
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_DestroyPlayer
(
IDirectPlay2Impl
*
This
,
LPVOID
lpMsgHdr
,
DPID
idPlayer
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_GetGroupName
(
IDirectPlay2Impl
*
This
,
DPID
idGroup
,
LPVOID
lpData
,
LPDWORD
lpdwDataSize
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_GetPlayerName
(
IDirectPlay2Impl
*
This
,
DPID
idPlayer
,
LPVOID
lpData
,
LPDWORD
lpdwDataSize
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_SetGroupName
(
IDirectPlay2Impl
*
This
,
DPID
idGroup
,
LPDPNAME
lpGroupName
,
DWORD
dwFlags
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_SetPlayerName
(
IDirectPlay2Impl
*
This
,
DPID
idPlayer
,
LPDPNAME
lpPlayerName
,
DWORD
dwFlags
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_CreateGroup
(
IDirectPlay2AImpl
*
This
,
LPVOID
lpMsgHdr
,
LPDPID
lpidGroup
,
LPDPNAME
lpGroupName
,
LPVOID
lpData
,
DWORD
dwDataSize
,
DWORD
dwFlags
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_CreateGroupInGroup
(
IDirectPlay3Impl
*
This
,
LPVOID
lpMsgHdr
,
DPID
idParentGroup
,
LPDPID
lpidGroup
,
LPDPNAME
lpGroupName
,
LPVOID
lpData
,
DWORD
dwDataSize
,
DWORD
dwFlags
,
BOOL
bAnsi
);
static
HRESULT
DP_SetSessionDesc
(
IDirectPlay2Impl
*
This
,
LPCDPSESSIONDESC2
lpSessDesc
,
DWORD
dwFlags
,
BOOL
bInitial
,
BOOL
bAnsi
);
static
HRESULT
DP_SecureOpen
(
IDirectPlay2Impl
*
This
,
LPCDPSESSIONDESC2
lpsd
,
DWORD
dwFlags
,
LPCDPSECURITYDESC
lpSecurity
,
LPCDPCREDENTIALS
lpCredentials
,
BOOL
bAnsi
);
static
HRESULT
DP_IF_Receive
(
IDirectPlay2Impl
*
This
,
LPDPID
lpidFrom
,
LPDPID
lpidTo
,
DWORD
dwFlags
,
LPVOID
lpData
,
LPDWORD
lpdwDataSize
,
BOOL
bAnsi
);
static
HRESULT
DP_SP_SendEx
(
IDirectPlay2Impl
*
This
,
DWORD
dwFlags
,
LPVOID
lpData
,
DWORD
dwDataSize
,
DWORD
dwPriority
,
DWORD
dwTimeout
,
LPVOID
lpContext
,
LPDWORD
lpdwMsgID
);
static
BOOL
CALLBACK
cbDPCreateEnumConnections
(
LPCGUID
lpguidSP
,
LPVOID
lpConnection
,
DWORD
dwConnectionSize
,
LPCDPNAME
lpName
,
DWORD
dwFlags
,
LPVOID
lpContext
);
static
BOOL
DP_BuildSPCompoundAddr
(
LPGUID
lpcSpGuid
,
LPVOID
*
lplpAddrBuf
,
LPDWORD
lpdwBufSize
);
static
inline
DPID
DP_NextObjectId
(
void
);
static
DPID
DP_GetRemoteNextObjectId
(
void
);
static
DWORD
DP_CalcSessionDescSize
(
LPCDPSESSIONDESC2
lpSessDesc
,
BOOL
bAnsi
);
...
...
@@ -136,15 +81,6 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 destSessionDesc,
LPCDPSESSIONDESC2
srcSessDesc
,
BOOL
bAnsi
);
static
HMODULE
DP_LoadSP
(
LPCGUID
lpcGuid
,
LPSPINITDATA
lpSpData
,
LPBOOL
lpbIsDpSp
);
static
HRESULT
DP_InitializeDPSP
(
IDirectPlay3Impl
*
This
,
HMODULE
hServiceProvider
);
static
HRESULT
DP_InitializeDPLSP
(
IDirectPlay3Impl
*
This
,
HMODULE
hServiceProvider
);
#define DPID_NOPARENT_GROUP 0
/* Magic number to indicate no parent of group */
#define DPID_SYSTEM_GROUP DPID_NOPARENT_GROUP
/* If system group is supported
we don't have to change much */
...
...
dlls/dplayx/dplayx_messages.c
View file @
f92e1703
...
...
@@ -154,13 +154,6 @@ end_of_thread:
}
/* DP messaging stuff */
static
HANDLE
DP_MSG_BuildAndLinkReplyStruct
(
IDirectPlay2Impl
*
This
,
LPDP_MSG_REPLY_STRUCT_LIST
lpReplyStructList
,
WORD
wReplyCommandId
);
static
LPVOID
DP_MSG_CleanReplyStruct
(
LPDP_MSG_REPLY_STRUCT_LIST
lpReplyStructList
,
LPVOID
*
lplpReplyMsg
,
LPDWORD
lpdwMsgBodySize
);
static
HANDLE
DP_MSG_BuildAndLinkReplyStruct
(
IDirectPlay2Impl
*
This
,
LPDP_MSG_REPLY_STRUCT_LIST
lpReplyStructList
,
WORD
wReplyCommandId
)
...
...
dlls/dplayx/dplobby.c
View file @
f92e1703
...
...
@@ -54,19 +54,6 @@ static HRESULT DPL_CreateAddress( REFGUID guidSP, REFGUID guidDataType, LPCVOID
LPVOID
lpAddress
,
LPDWORD
lpdwAddressSize
,
BOOL
bAnsiInterface
);
extern
HRESULT
DPL_EnumAddress
(
LPDPENUMADDRESSCALLBACK
lpEnumAddressCallback
,
LPCVOID
lpAddress
,
DWORD
dwAddressSize
,
LPVOID
lpContext
);
static
HRESULT
DPL_ConnectEx
(
IDirectPlayLobbyAImpl
*
This
,
DWORD
dwFlags
,
REFIID
riid
,
LPVOID
*
lplpDP
,
IUnknown
*
pUnk
);
static
BOOL
DPL_CreateAndSetLobbyHandles
(
DWORD
dwDestProcessId
,
HANDLE
hDestProcess
,
LPHANDLE
lphStart
,
LPHANDLE
lphDeath
,
LPHANDLE
lphRead
);
/*****************************************************************************
* IDirectPlayLobby {1,2,3} implementation structure
*
...
...
dlls/dplayx/lobbysp.h
View file @
f92e1703
...
...
@@ -458,7 +458,6 @@ typedef struct SPDATA_INIT
}
SPDATA_INIT
,
*
LPSPDATA_INIT
;
typedef
HRESULT
(
WINAPI
*
LPSP_INIT
)(
LPSPDATA_INIT
);
HRESULT
WINAPI
DPLSPInit
(
LPSPDATA_INIT
)
DECLSPEC_HIDDEN
;
/* Define the COM interface */
#define INTERFACE IDPLobbySP
...
...
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