#include "../winsrv.h"
#include <strsafe.h>
#include <winnls.h>
#include <wincon.h>
#include <ndk/mmfuncs.h>
#include <win/conmsg.h>
#include "heap.h"
#include "include/conio.h"
#include "include/conio_winsrv.h"
#include "api.h"
#include "include/console.h"
#include "include/settings.h"
#include "include/term.h"
#include "console.h"
#include "coninput.h"
#include "conoutput.h"
#include "handle.h"
#include "lineinput.h"
Go to the source code of this file.
◆ _INC_WINDOWS
◆ COM_NO_WINDOWS_H
◆ ConsoleGetPerProcessData
◆ NTOS_MODE_USER
◆ WIN32_NO_STATUS
◆ CONSOLE_PROCESS_DATA
◆ PCONSOLE_PROCESS_DATA
◆ ConsoleClientShutdown()
Definition at line 72 of file shutdown.c.
75{
77
78
81 {
82 DPRINT(
"Do not kill a system process in a logoff request!\n");
84 }
85
86
89 {
91
92
95 }
96 else
97 {
98 DPRINT(
"ConsoleClientShutdown(0x%p, 0x%x, %s) - Non-console process [0x%x, 0x%x]\n",
101
102
104
105
107 }
108
110}
#define ConsoleGetPerProcessData(Process)
@ CsrShutdownNonCsrProcess
VOID NTAPI CsrDereferenceProcess(IN PCSR_PROCESS CsrProcess)
struct _CONSOLE_IO_HANDLE * HandleTable
static void NotifyConsoleProcessForShutdown(IN PCSR_PROCESS CsrProcess, IN PCONSOLE_PROCESS_DATA ProcessData, IN ULONG Flags)
ULONG NTAPI NonConsoleProcessShutdown(IN PCSR_PROCESS Process, IN ULONG Flags)
_Must_inspect_result_ _In_ ULONG Flags
Referenced by CSR_SERVER_DLL_INIT().
◆ ConSrvDllInstance