riched20: hWnd validity test in window procedure
Alexandre Julliard
julliard at winehq.org
Tue Jun 27 04:25:20 CDT 2006
Krzysztof Foltman <wdev at foltman.com> writes:
> ChangeLog:
> * Added hWnd validity check to work around buggy apps (bug# 4452)
>
> This patch is based on Phil Krylov's one, with two differences: it
> checks the handle even before trying to call GetWindowLong, and it
> checks for invalid window handle, not just NULL.
The right way is to check for GetWindowLong failure, there's no reason
to use IsWindow.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list