Author: gadamopoulos Date: Sun Dec 13 21:57:03 2009 New Revision: 44573
URL: http://svn.reactos.org/svn/reactos?rev=44573&view=rev Log: [win32k] - Remove an unused reactos only syscall
Modified: trunk/reactos/include/reactos/win32k/ntuser.h trunk/reactos/subsystems/win32/win32k/ntuser/window.c trunk/reactos/subsystems/win32/win32k/w32ksvc.db
Modified: trunk/reactos/include/reactos/win32k/ntuser.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntus... ============================================================================== --- trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Sun Dec 13 21:57:03 2009 @@ -3136,12 +3136,6 @@ 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
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntu... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Sun Dec 13 21:57:03 2009 @@ -3821,35 +3821,6 @@
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)
Modified: trunk/reactos/subsystems/win32/win32k/w32ksvc.db URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/w32... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/w32ksvc.db [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/w32ksvc.db [iso-8859-1] Sun Dec 13 21:57:03 2009 @@ -690,7 +690,6 @@ NtUserGetMinMaxInfo 3 NtUserGetMonitorInfo 2 NtUserGetScrollInfo 3 -NtUserGetWindowLong 3 NtUserMenuInfo 3 NtUserMenuItemInfo 5 NtUserMonitorFromPoint 3