PsGetServerSiloActiveConsoleId function

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

Syntax

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

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