Return correct error value in NtUserDestroyCursorIcon.
Modified: branches/win32k rewrite attempt/win32k/ntuser/cursoricon.c
--- branches/win32k rewrite attempt/win32k/ntuser/cursoricon.c 2005-08-03 12:42:50 UTC (rev 16995) +++ branches/win32k rewrite attempt/win32k/ntuser/cursoricon.c 2005-08-03 13:45:18 UTC (rev 16996) @@ -930,8 +930,8 @@
CursorDereference(Cursor);
-// SetLastWin32Error(ERROR_INVALID_CURSOR_HANDLE);
-// RETURN( FALSE);
+ SetLastWin32Error(ERROR_INVALID_CURSOR_HANDLE);
+ RETURN( FALSE);
CLEANUP: DPRINT("Leave NtUserDestroyCursorIcon, ret=%i\n",_ret_);