PsGetServerSiloActiveConsoleId function

Gets the active console for the current server silo context for the supplied thread.

Syntax

NTKERNELAPI ULONG PsGetServerSiloActiveConsoleId(
  PESILO Silo
);

Parameters

Silo

A pointer to the silo of the job.

Return Value

Returns the session id for the active console session.

Requirements

   
Windows version Windows 10, version 1709 Windows Server 2016
Target Platform Windows
Header ntddk.h
Library NtosKrnl.lib
DLL NtosKrnl.exe (kernel mode)
IRQL PASSIVE_LEVEL