- 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:
Ged Murphy 2007-06-03 13:06:32 +00:00
parent f1aa2269d5
commit 5f7db15852

View file

@ -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 */
}