From ec326fe1d62992a958dcfc3fdf2177ba58bf35bc Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Wed, 6 Aug 2003 15:38:13 +0000 Subject: [PATCH] Implemented GetWindowWord() as call to NtuserGetWindowLong() with casting result to WORD. svn path=/trunk/; revision=5438 --- reactos/lib/user32/windows/class.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reactos/lib/user32/windows/class.c b/reactos/lib/user32/windows/class.c index 5ac337f8f58..e7e954cac95 100644 --- a/reactos/lib/user32/windows/class.c +++ b/reactos/lib/user32/windows/class.c @@ -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 * PROJECT: ReactOS user32.dll @@ -178,6 +178,14 @@ GetWindowLongW(HWND hWnd, int nIndex) return NtUserGetWindowLong(hWnd, nIndex, FALSE); } +/* + * @implemented + */ +WORD STDCALL +GetWindowWord(HWND hWnd, int nIndex) +{ + return (WORD)NtUserGetWindowLong(hWnd, nIndex); +} /* * @unimplemented