[DPLAYX] fix bug 872

Alexandre Julliard julliard at winehq.org
Tue Mar 8 10:02:52 CST 2005

Raphael <fenix at club-internet.fr> writes:

> Hi,
> cf http://bugs.winehq.org/show_bug.cgi?id=872
> Seems he have created events (hTemps) leaks no ?

I'm not sure why that code uses global handles at all, since they get
duplicated in the target process anyway; it seems to me you could
simply get rid of the ConvertToGlobalHandle calls. If that doesn't
work the code needs to be fixed, global handles are a Win9x
abomination that should never be used.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list