Cursor patches

H. Verbeet hverbeet at gmail.com
Fri Jul 7 10:58:12 CDT 2006


On 07/07/06, Robert Shearman <rob at codeweavers.com> wrote:
> This appears to be the only place where a cursor is destroyed. Thus, a
> bad application could end up wineserver to leak memory. I think you need
> to investigate when Windows frees cursors that have not had
> DestroyCursor called on them. My guess is that it frees them on process
> destruction.
It does look like that's the case.

On 07/07/06, Dmitry Timoshkov <dmitry at codeweavers.com> wrote:
> Rob is right, native user32 doesn't import winmm by any means. Looking
> at user32 in a viewer it's easy to find chunk names such as RIFF, LIST,
> rate, anih although. That means that user32 has an internal implementation
> of mmioDescend which should be enough to parse animated cursor files.
That's a bit unfortunate. I guess that means there's no way around
duplicating a significant part of that code into user32 then?



More information about the wine-devel mailing list