Commit 75572fdb authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dplayx: Remove unused functions.

parent c744710b
...@@ -450,33 +450,6 @@ BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID ) ...@@ -450,33 +450,6 @@ BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID )
return FALSE; return FALSE;
} }
/* I'm not sure when I'm going to need this, but here it is */
BOOL DPLAYX_DestroyLobbyApplication( DWORD dwAppID )
{
UINT i;
DPLAYX_AcquireSemaphore();
/* Find an empty space in the list and insert the data */
for( i=0; i < numSupportedLobbies; i++ )
{
if( lobbyData[ i ].dwAppID == dwAppID )
{
/* FIXME: Should free up anything unused. Tisk tisk :0 */
/* Mark this entry unused */
TRACE( "Marking lobbyData[%u] unused\n", i );
DPLAYX_InitializeLobbyDataEntry( &lobbyData[ i ] );
DPLAYX_ReleaseSemaphore();
return TRUE;
}
}
DPLAYX_ReleaseSemaphore();
ERR( "Unable to find global entry for application\n" );
return FALSE;
}
BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID, BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
HANDLE hStart, HANDLE hDeath, HANDLE hConnRead ) HANDLE hStart, HANDLE hDeath, HANDLE hConnRead )
{ {
......
...@@ -83,13 +83,6 @@ void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo ) ...@@ -83,13 +83,6 @@ void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo )
lpCache->bNsIsLocal = TRUE; lpCache->bNsIsLocal = TRUE;
} }
void NS_SetRemoteComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo )
{
lpNSCache lpCache = (lpNSCache)lpNSInfo;
lpCache->bNsIsLocal = FALSE;
}
static DPQ_DECL_COMPARECB( cbUglyPig, GUID ) static DPQ_DECL_COMPARECB( cbUglyPig, GUID )
{ {
return IsEqualGUID( elem1, elem2 ); return IsEqualGUID( elem1, elem2 );
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include "dplay_global.h" #include "dplay_global.h"
void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo ); void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
void NS_SetRemoteComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr, void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
DWORD dwHdrSize, DWORD dwHdrSize,
LPCDPMSG_ENUMSESSIONSREPLY lpcMsg, LPCDPMSG_ENUMSESSIONSREPLY lpcMsg,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment