dplayx: Create a IDirectPlay interface in DirectPlayCreate().
This commit is contained in:
parent
3147647b44
commit
16dc683996
@ -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 ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user