[WINSRV] Implement SrvGetThreadConsoleDesktop(). CORE-13470

It retrieves the handle to the desktop assigned to the specified
thread belonging to a console application, which is going to be
where the input thread of this console is.
This commit is contained in:
Hermès Bélusca-Maïto 2019-04-28 02:40:20 +02:00
parent 2da24f7274
commit d70848b8b7
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
8 changed files with 75 additions and 8 deletions

View file

@ -68,7 +68,7 @@ typedef struct _USER_LOGON
typedef struct _USER_GET_THREAD_CONSOLE_DESKTOP
{
ULONG_PTR ThreadId;
HANDLE ConsoleDesktop;
HDESK ConsoleDesktop;
} USER_GET_THREAD_CONSOLE_DESKTOP, *PUSER_GET_THREAD_CONSOLE_DESKTOP;
typedef struct _USER_REGISTER_SERVICES_PROCESS