dplayx: Declare some functions static.
This commit is contained in:
parent
482eebab9a
commit
f0763b91ab
|
@ -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,
|
||||
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,7 +529,7 @@ BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL DPLAYX_GetThisLobbyHandles( LPHANDLE lphStart,
|
||||
static BOOL DPLAYX_GetThisLobbyHandles( LPHANDLE lphStart,
|
||||
LPHANDLE lphDeath,
|
||||
LPHANDLE lphConnRead,
|
||||
BOOL bClearSetHandles )
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue