kernel32: Improved WTSGetActiveConsoleSessionId stub.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e4e1b89732
commit
ebb320fa37
|
@ -3876,7 +3876,8 @@ DWORD WINAPI WTSGetActiveConsoleSessionId(void)
|
||||||
{
|
{
|
||||||
static int once;
|
static int once;
|
||||||
if (!once++) FIXME("stub\n");
|
if (!once++) FIXME("stub\n");
|
||||||
return 0;
|
/* Return current session id. */
|
||||||
|
return NtCurrentTeb()->Peb->SessionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
Loading…
Reference in New Issue