Implemented GetWindowWord() as call to NtuserGetWindowLong() with casting result to WORD.

svn path=/trunk/; revision=5438
This commit is contained in:
Aleksey Bragin 2003-08-06 15:38:13 +00:00
parent 80c5a9419a
commit ec326fe1d6

View file

@ -1,4 +1,4 @@
/* $Id: class.c,v 1.22 2003/08/05 15:41:03 weiden Exp $ /* $Id: class.c,v 1.23 2003/08/06 15:38:13 fireball 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
@ -178,6 +178,14 @@ GetWindowLongW(HWND hWnd, int nIndex)
return NtUserGetWindowLong(hWnd, nIndex, FALSE); return NtUserGetWindowLong(hWnd, nIndex, FALSE);
} }
/*
* @implemented
*/
WORD STDCALL
GetWindowWord(HWND hWnd, int nIndex)
{
return (WORD)NtUserGetWindowLong(hWnd, nIndex);
}
/* /*
* @unimplemented * @unimplemented