mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 20:11:58 +00:00
Match error tested against to the actual error returned by
NtUserGetWindowLong svn path=/trunk/; revision=8705
This commit is contained in:
parent
57b26979cb
commit
d13e1cf220
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: window.c,v 1.101 2004/03/07 20:38:17 navaraf Exp $
|
/* $Id: window.c,v 1.102 2004/03/14 11:27:33 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
|
@ -1046,7 +1046,7 @@ BOOL STDCALL
|
||||||
IsWindow(HWND hWnd)
|
IsWindow(HWND hWnd)
|
||||||
{
|
{
|
||||||
DWORD WndProc = NtUserGetWindowLong(hWnd, GWL_WNDPROC, FALSE);
|
DWORD WndProc = NtUserGetWindowLong(hWnd, GWL_WNDPROC, FALSE);
|
||||||
return (0 != WndProc || ERROR_INVALID_HANDLE != GetLastError());
|
return (0 != WndProc || ERROR_INVALID_WINDOW_HANDLE != GetLastError());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue