Commit ebb320fa authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

kernel32: Improved WTSGetActiveConsoleSessionId stub.

parent e4e1b897
......@@ -3876,7 +3876,8 @@ DWORD WINAPI WTSGetActiveConsoleSessionId(void)
{
static int once;
if (!once++) FIXME("stub\n");
return 0;
/* Return current session id. */
return NtCurrentTeb()->Peb->SessionId;
}
/**********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment