From 16dc683996b47d3b8cec949bb4a613ec1abd37d7 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 8 Apr 2013 23:21:28 +0200 Subject: [PATCH] dplayx: Create a IDirectPlay interface in DirectPlayCreate(). --- dlls/dplayx/dplay.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index 67e3c184f50..30a2ee3cb3e 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -5998,9 +5998,7 @@ HRESULT WINAPI DirectPlayCreate return DPERR_INVALIDPARAMS; } - /* Create an IDirectPlay object. We don't support that so we'll cheat and - give them an IDirectPlay2A object and hope that doesn't cause problems */ - if ( dplay_create( &IID_IDirectPlay2A, (void**)lplpDP ) != DP_OK ) + if ( dplay_create( &IID_IDirectPlay, (void**)lplpDP ) != DP_OK ) return DPERR_UNAVAILABLE; if( IsEqualGUID( &GUID_NULL, lpGUID ) )