Commit 16dc6839 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dplayx: Create a IDirectPlay interface in DirectPlayCreate().

parent 3147647b
...@@ -5998,9 +5998,7 @@ HRESULT WINAPI DirectPlayCreate ...@@ -5998,9 +5998,7 @@ HRESULT WINAPI DirectPlayCreate
return DPERR_INVALIDPARAMS; return DPERR_INVALIDPARAMS;
} }
/* Create an IDirectPlay object. We don't support that so we'll cheat and if ( dplay_create( &IID_IDirectPlay, (void**)lplpDP ) != DP_OK )
give them an IDirectPlay2A object and hope that doesn't cause problems */
if ( dplay_create( &IID_IDirectPlay2A, (void**)lplpDP ) != DP_OK )
return DPERR_UNAVAILABLE; return DPERR_UNAVAILABLE;
if( IsEqualGUID( &GUID_NULL, lpGUID ) ) if( IsEqualGUID( &GUID_NULL, lpGUID ) )
......
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