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

Dmitry Timoshkov dmitry at
Wed Oct 10 20:34:49 CDT 2012

Daniel Lehman <dlehman at> wrote:

> 0xffffffff000026a8 becomes 0xc00009aa instead of just 0x9aa

It can't, the code explicitly casts handle to unsigned before the shift.


More information about the wine-devel mailing list