diff --git a/reactos/include/reactos/win32k/ntuser.h b/reactos/include/reactos/win32k/ntuser.h index 4b3c838ef4b..0259037a007 100644 --- a/reactos/include/reactos/win32k/ntuser.h +++ b/reactos/include/reactos/win32k/ntuser.h @@ -3136,12 +3136,6 @@ NtUserGetScrollInfo( int fnBar, LPSCROLLINFO lpsi); -/* Should be done in usermode and use NtUserGetCPD. */ -LONG -NTAPI -NtUserGetWindowLong(HWND hWnd, DWORD Index, BOOL Ansi); - - /* (other FocusedItem values give the position of the focused item) */ #define NO_SELECTED_ITEM 0xffff diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index 069f2ea3987..7946e494795 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -3822,35 +3822,6 @@ UserGetWindowLong(HWND hWnd, DWORD Index, BOOL Ansi) return Result; } -/* - * NtUserGetWindowLong - * - * The NtUserGetWindowLong function retrieves information about the specified - * window. The function also retrieves the 32-bit (long) value at the - * specified offset into the extra window memory. - * - * Status - * @implemented - */ - -LONG APIENTRY -NtUserGetWindowLong(HWND hWnd, DWORD Index, BOOL Ansi) -{ - DECLARE_RETURN(LONG); - - DPRINT("Enter NtUserGetWindowLong(%x,%d,%d)\n", hWnd, (INT)Index, Ansi); - UserEnterExclusive(); - - RETURN(UserGetWindowLong(hWnd, Index, Ansi)); - -CLEANUP: - DPRINT("Leave NtUserGetWindowLong, ret=%i\n",_ret_); - UserLeave(); - END_CLEANUP; -} - - - LONG FASTCALL co_UserSetWindowLong(HWND hWnd, DWORD Index, LONG NewValue, BOOL Ansi) { diff --git a/reactos/subsystems/win32/win32k/w32ksvc.db b/reactos/subsystems/win32/win32k/w32ksvc.db index a14cb7e02f7..71b25210df7 100644 --- a/reactos/subsystems/win32/win32k/w32ksvc.db +++ b/reactos/subsystems/win32/win32k/w32ksvc.db @@ -690,7 +690,6 @@ NtUserGetLastInputInfo 1 NtUserGetMinMaxInfo 3 NtUserGetMonitorInfo 2 NtUserGetScrollInfo 3 -NtUserGetWindowLong 3 NtUserMenuInfo 3 NtUserMenuItemInfo 5 NtUserMonitorFromPoint 3