reactos/win32ss/user/user32
Andrew Boyarshin 458a26ab76
[WIN32SS:NTUSER] Use the 2nd parameter of NtUserGetThreadDesktop() as fallback. (#1065)
- The 2nd parameter is already passed in user-mode by GetThreadDesktop().
  It is then used by NtUserGetThreadDesktop() as a fallback for console
  threads.

- Lookup and validate the thread by using the IntTID2PTI() helper.
- Don't reference the desktop with too many access rights.
- Get rid of the old-school DECLARE_RETURN() & co. macros.

Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2019-04-28 19:27:45 +02:00
..
controls [USER32] Edit: Fix caret and scroll position 2019-03-24 23:26:20 +01:00
include [USER32] Add Ghost window class (#1082) 2018-12-02 18:51:44 +09:00
lang [TRANSLATION] Polish translation update 2019-04-05 10:34:10 +02:00
misc [WIN32SS:NTUSER] Use the 2nd parameter of NtUserGetThreadDesktop() as fallback. (#1065) 2019-04-28 19:27:45 +02:00
resources Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
windows [Win32SS] Fix maximized window positioning. 2019-03-26 15:56:57 -05:00
CMakeLists.txt [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
user32.rc [TRANSLATION] Update Chinese translation. (#1223) 2019-01-07 00:35:11 +09:00
user32.spec [USER32] Implement UserLpkPSMTextOut(). (#890) 2018-10-08 16:16:52 +02:00