dplayx: Remove unneeded test, fix compilation on msvc++.

This commit is contained in:
Kai Blin 2007-03-03 12:44:17 +01:00 committed by Alexandre Julliard
parent 2a13eb0677
commit cc549b27df
1 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,7 @@
*/
#include "wine/test.h"
#define INITGUID
#include <dplay.h>
static BOOL validSP = FALSE; /*This global variable is needed until wine has a working service provider
@ -32,7 +33,6 @@ static BOOL CALLBACK EnumConnectionsCallback(LPCGUID lpguidSP, LPVOID lpConnecti
{
/*I'm forcing TCP/IP Sevice provider*/
hr = IDirectPlayX_InitializeConnection((LPDIRECTPLAY4) lpContext, lpConnection, 0);
todo_wine ok( SUCCEEDED( hr ), "It's not possible to initialize TCP/IP service provider\n");
if( SUCCEEDED( hr ))
validSP = TRUE;
return FALSE;