[4/5] GetWindowLongPtr: Windows

Dmitry Timoshkov dmitry at codeweavers.com
Wed Sep 22 23:14:57 CDT 2004


"Robert Shearman" <rob at codeweavers.com> wrote:

> -    if (!(context.Eax = GetWindowWord( HWND_32(hwnd), GWL_HINSTANCE ))) context.Eax = context.SegDs;
> +    if (!(context.Eax = GetWindowWord( HWND_32(hwnd), GWLP_HINSTANCE ))) context.Eax = context.SegDs;

GetWindowWord above probably should be replaced by GetWindowLongPtrW.
And all appropriate ANSI variants of the GetWindowLongPtr call should
have been replaced by a unicode one while you were at it.

Of course that's not critical at all, just a nit pick.

-- 
Dmitry.



More information about the wine-devel mailing list