mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
dplayx: Create a IDirectPlay interface in DirectPlayCreate().
This commit is contained in:
parent
3147647b44
commit
16dc683996
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue