mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
GetWindowThreadProcessId impl./fixed
svn path=/trunk/; revision=5265
This commit is contained in:
parent
a857d3b160
commit
457baf8e8c
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: window.c,v 1.45 2003/07/23 06:14:12 jimtabor Exp $
|
/* $Id: window.c,v 1.46 2003/07/25 19:37:14 gdalsnes 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
|
||||||
|
@ -1151,8 +1151,7 @@ DWORD STDCALL
|
||||||
GetWindowThreadProcessId(HWND hWnd,
|
GetWindowThreadProcessId(HWND hWnd,
|
||||||
LPDWORD lpdwProcessId)
|
LPDWORD lpdwProcessId)
|
||||||
{
|
{
|
||||||
if(lpdwProcessId) *lpdwProcessId = NtUserQueryWindow(hWnd, 0);
|
return NtUserGetWindowThreadProcessId(hWnd, lpdwProcessId);
|
||||||
return(NtUserQueryWindow(hWnd, 1));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue