mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
- Don't return directly from PSEH. Same error, same dev, different day.
- Thanks to pigglesworth for noticing svn path=/trunk/; revision=26973
This commit is contained in:
parent
f1aa2269d5
commit
5f7db15852
1 changed files with 8 additions and 8 deletions
|
@ -71,16 +71,16 @@ DirectDrawCreateEx(LPGUID lpGUID,
|
|||
if (pUnkOuter)
|
||||
{
|
||||
/* we are using same error code as MS*/
|
||||
return CLASS_E_NOAGGREGATION;
|
||||
}
|
||||
|
||||
/* Is it a DirectDraw 7 Request or not */
|
||||
if (!IsEqualGUID(id, &IID_IDirectDraw7))
|
||||
retVal = CLASS_E_NOAGGREGATION;
|
||||
}/* Is it a DirectDraw 7 Request or not */
|
||||
else if (!IsEqualGUID(id, &IID_IDirectDraw7))
|
||||
{
|
||||
return DDERR_INVALIDPARAMS;
|
||||
retVal = DDERR_INVALIDPARAMS;
|
||||
}
|
||||
else
|
||||
{
|
||||
retVal = Create_DirectDraw (lpGUID, (LPDIRECTDRAW*)lplpDD, id, TRUE);
|
||||
}
|
||||
|
||||
retVal = Create_DirectDraw (lpGUID, (LPDIRECTDRAW*)lplpDD, id, TRUE);
|
||||
|
||||
/* Create our DirectDraw interface */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue