27 Jun
2006
27 Jun
'06
9:25 a.m.
Krzysztof Foltman <wdev(a)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(a)winehq.org