gdi32: use HandleToULong inline function to convert handle to index instead of casting

Alexandre Julliard julliard at
Thu Oct 11 13:28:59 CDT 2012

Daniel Lehman <dlehman at> writes:

> I'll admit that the upper 32 bits being set was because of a quirk in
> our C++ code, but similar values passed to Windows worked

This would need some test cases.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list