reactos/win32ss
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
..
drivers [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
gdi [WIN32SS][NTGDI] Fix wrong IN/OUT (#1539) 2019-04-28 17:24:57 +02:00
include [WIN32SS:NTUSER] Use the 2nd parameter of NtUserGetThreadDesktop() as fallback. (#1065) 2019-04-28 19:27:45 +02:00
printing [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
reactx [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
user [WIN32SS:NTUSER] Use the 2nd parameter of NtUserGetThreadDesktop() as fallback. (#1065) 2019-04-28 19:27:45 +02:00
CMakeLists.txt [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
napi.h
pch.h
sys-stubs.S
w32ksvc.db
w32ksvc.h
win32k.h
win32k.rc
win32k.spec
win32kp.h [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00