Michael Stefaniuc : dplayx: Create a IDirectPlay interface in DirectPlayCreate().

Alexandre Julliard julliard at winehq.org
Tue Apr 9 13:41:27 CDT 2013


Module: wine
Branch: master
Commit: 16dc683996b47d3b8cec949bb4a613ec1abd37d7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=16dc683996b47d3b8cec949bb4a613ec1abd37d7

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Mon Apr  8 23:21:28 2013 +0200

dplayx: Create a IDirectPlay interface in DirectPlayCreate().

---

 dlls/dplayx/dplay.c |    4 +---
 1 files changed, 1 insertions(+), 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 ) )




More information about the wine-cvs mailing list