gdiplus: IPicture_SaveAsFile updates seek pointer, so put it back.

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Thu Oct 16 10:08:31 CDT 2008


Am Donnerstag, den 16.10.2008, 18:34 +0400 schrieb Nikolay Sivov:
> It isn't obvious (your patch fot ret value). Why are you hiding all
> codes except E_FAIL?

You seem to misread that patch. All it does is return E_FAIL instead of
S_OK in the case of a short read. For clarity, the conditional statement
might be written as
   return (hr == S_OK ? E_FAIL : hr);

Regards,
  Michael Karcher






More information about the wine-devel mailing list