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
f0763b91
Commit
f0763b91
authored
Jan 06, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Declare some functions static.
parent
482eebab
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
21 deletions
+20
-21
dplayx_global.c
dlls/dplayx/dplayx_global.c
+14
-12
dplayx_global.h
dlls/dplayx/dplayx_global.h
+0
-3
dplobby.c
dlls/dplayx/dplobby.c
+4
-4
name_server.c
dlls/dplayx/name_server.c
+2
-2
No files found.
dlls/dplayx/dplayx_global.c
View file @
f0763b91
...
...
@@ -199,14 +199,16 @@ static DPSESSIONDESC2* sessionData = NULL;
/* static DPSESSIONDESC2* sessionData[ numSupportedSessions ]; */
/* Function prototypes */
DWORD
DPLAYX_SizeOfLobbyDataA
(
LPDPLCONNECTION
lpDplData
);
DWORD
DPLAYX_SizeOfLobbyDataW
(
LPDPLCONNECTION
lpDplData
);
void
DPLAYX_CopyConnStructA
(
LPDPLCONNECTION
dest
,
LPDPLCONNECTION
src
);
void
DPLAYX_CopyConnStructW
(
LPDPLCONNECTION
dest
,
LPDPLCONNECTION
src
);
BOOL
DPLAYX_IsAppIdLobbied
(
DWORD
dwAppId
,
LPDPLAYX_LOBBYDATA
*
dplData
);
void
DPLAYX_InitializeLobbyDataEntry
(
LPDPLAYX_LOBBYDATA
lpData
);
BOOL
DPLAYX_CopyIntoSessionDesc2A
(
LPDPSESSIONDESC2
lpSessionDest
,
LPCDPSESSIONDESC2
lpSessionSrc
);
static
DWORD
DPLAYX_SizeOfLobbyDataA
(
LPDPLCONNECTION
lpDplData
);
static
DWORD
DPLAYX_SizeOfLobbyDataW
(
LPDPLCONNECTION
lpDplData
);
static
void
DPLAYX_CopyConnStructA
(
LPDPLCONNECTION
dest
,
LPDPLCONNECTION
src
);
static
void
DPLAYX_CopyConnStructW
(
LPDPLCONNECTION
dest
,
LPDPLCONNECTION
src
);
static
BOOL
DPLAYX_IsAppIdLobbied
(
DWORD
dwAppId
,
LPDPLAYX_LOBBYDATA
*
dplData
);
static
void
DPLAYX_InitializeLobbyDataEntry
(
LPDPLAYX_LOBBYDATA
lpData
);
static
BOOL
DPLAYX_CopyIntoSessionDesc2A
(
LPDPSESSIONDESC2
lpSessionDest
,
LPCDPSESSIONDESC2
lpSessionSrc
);
static
BOOL
DPLAYX_GetThisLobbyHandles
(
LPHANDLE
lphStart
,
LPHANDLE
lphDeath
,
LPHANDLE
lphConnRead
,
BOOL
bClearSetHandles
);
...
...
@@ -527,10 +529,10 @@ BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
return
TRUE
;
}
BOOL
DPLAYX_GetThisLobbyHandles
(
LPHANDLE
lphStart
,
LPHANDLE
lphDeath
,
LPHANDLE
lphConnRead
,
BOOL
bClearSetHandles
)
static
BOOL
DPLAYX_GetThisLobbyHandles
(
LPHANDLE
lphStart
,
LPHANDLE
lphDeath
,
LPHANDLE
lphConnRead
,
BOOL
bClearSetHandles
)
{
LPDPLAYX_LOBBYDATA
lpLData
;
...
...
dlls/dplayx/dplayx_global.h
View file @
f0763b91
...
...
@@ -51,9 +51,6 @@ BOOL DPLAYX_AnyLobbiesWaitingForConnSettings(void);
BOOL
DPLAYX_SetLobbyHandles
(
DWORD
dwAppID
,
HANDLE
hStart
,
HANDLE
hDeath
,
HANDLE
hConnRead
);
BOOL
DPLAYX_GetThisLobbyHandles
(
LPHANDLE
lphStart
,
LPHANDLE
lphDeath
,
LPHANDLE
lphConnRead
,
BOOL
bClearSetHandles
);
LPDPSESSIONDESC2
DPLAYX_CopyAndAllocateLocalSession
(
UINT
*
index
);
BOOL
DPLAYX_CopyLocalSession
(
UINT
*
index
,
LPDPSESSIONDESC2
lpsd
);
...
...
dlls/dplayx/dplobby.c
View file @
f0763b91
...
...
@@ -50,7 +50,7 @@ typedef struct IDirectPlayLobby3Impl IDirectPlayLobby3WImpl;
HRESULT
DPL_CreateCompoundAddress
(
LPCDPCOMPOUNDADDRESSELEMENT
lpElements
,
DWORD
dwElementCount
,
LPVOID
lpAddress
,
LPDWORD
lpdwAddressSize
,
BOOL
bAnsiInterface
);
HRESULT
DPL_CreateAddress
(
REFGUID
guidSP
,
REFGUID
guidDataType
,
LPCVOID
lpData
,
DWORD
dwDataSize
,
static
HRESULT
DPL_CreateAddress
(
REFGUID
guidSP
,
REFGUID
guidDataType
,
LPCVOID
lpData
,
DWORD
dwDataSize
,
LPVOID
lpAddress
,
LPDWORD
lpdwAddressSize
,
BOOL
bAnsiInterface
);
...
...
@@ -62,7 +62,7 @@ static HRESULT WINAPI DPL_ConnectEx( IDirectPlayLobbyAImpl* This,
DWORD
dwFlags
,
REFIID
riid
,
LPVOID
*
lplpDP
,
IUnknown
*
pUnk
);
BOOL
DPL_CreateAndSetLobbyHandles
(
DWORD
dwDestProcessId
,
HANDLE
hDestProcess
,
static
BOOL
DPL_CreateAndSetLobbyHandles
(
DWORD
dwDestProcessId
,
HANDLE
hDestProcess
,
LPHANDLE
lphStart
,
LPHANDLE
lphDeath
,
LPHANDLE
lphRead
);
...
...
@@ -610,7 +610,7 @@ static HRESULT WINAPI IDirectPlayLobbyWImpl_CreateAddress
lpAddress
,
lpdwAddressSize
,
FALSE
);
}
HRESULT
DPL_CreateAddress
(
static
HRESULT
DPL_CreateAddress
(
REFGUID
guidSP
,
REFGUID
guidDataType
,
LPCVOID
lpData
,
...
...
@@ -1143,7 +1143,7 @@ static BOOL CALLBACK RunApplicationA_EnumLocalApplications
return
TRUE
;
/* Keep enumerating, haven't found the application yet */
}
BOOL
DPL_CreateAndSetLobbyHandles
(
DWORD
dwDestProcessId
,
HANDLE
hDestProcess
,
static
BOOL
DPL_CreateAndSetLobbyHandles
(
DWORD
dwDestProcessId
,
HANDLE
hDestProcess
,
LPHANDLE
lphStart
,
LPHANDLE
lphDeath
,
LPHANDLE
lphRead
)
{
...
...
dlls/dplayx/name_server.c
View file @
f0763b91
...
...
@@ -67,7 +67,7 @@ struct NSCache
typedef
struct
NSCache
NSCache
,
*
lpNSCache
;
/* Function prototypes */
DPQ_DECL_DELETECB
(
cbDeleteNSNodeFromHeap
,
lpNSCacheData
);
static
DPQ_DECL_DELETECB
(
cbDeleteNSNodeFromHeap
,
lpNSCacheData
);
/* Name Server functions
* ---------------------
...
...
@@ -245,7 +245,7 @@ HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
}
/* Delete a name server node which has been allocated on the heap */
DPQ_DECL_DELETECB
(
cbDeleteNSNodeFromHeap
,
lpNSCacheData
)
static
DPQ_DECL_DELETECB
(
cbDeleteNSNodeFromHeap
,
lpNSCacheData
)
{
/* NOTE: This proc doesn't deal with the walking pointer */
...
...
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