[PATCH 5/5] dplayx: Create a IDirectPlay iface in DirectPlayCreate().

Michael Stefaniuc mstefani at redhat.de
Mon Apr 8 16:21:28 CDT 2013


---
 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 67e3c18..30a2ee3 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 ) )
-- 
1.7.11.7



More information about the wine-patches mailing list