gdiplus: Add a test to show that GdipCloneImage is not supposed to increase refcount of the source image stream, but clone it instead.

Dmitry Timoshkov dmitry at baikal.ru
Thu Jun 28 21:57:11 CDT 2012


Vincent Povirk <madewokherd at gmail.com> wrote:

> I think it's most likely not keeping the input stream in the new image at all.
> 
> It's probably also worth testing SelectActiveFrame, GetPropertyItem,
> and GetImageRawFormat with clones of images. Maybe they don't work.

A quick test shows that SelectActiveFrame called on a clone of a multiframe
gif image succeeds under nt4 and win2k, but fails under all later gdiplus
implementations. Looks like a clone does not really clone anything.

-- 
Dmitry.



More information about the wine-devel mailing list