ReactOS 0.4.16-dev-334-g4d9f67c
console.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Console Server DLL
4 * FILE: win32ss/user/winsrv/consrv/console.h
5 * PURPOSE: Console Initialization Functions
6 * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7 */
8
9#pragma once
10
11typedef struct _CONSOLE_INIT_INFO
12{
15
25
28
30ConSrvInitConsole(OUT PHANDLE NewConsoleHandle,
31 OUT struct _CONSRV_CONSOLE** /* PCONSRV_CONSOLE* */ NewConsole,
32 IN OUT PCONSOLE_INIT_INFO ConsoleInitInfo,
33 IN PCSR_PROCESS ConsoleLeaderProcess);
34VOID NTAPI ConSrvDeleteConsole(struct _CONSRV_CONSOLE* /* PCONSRV_CONSOLE */ Console);
35
38 OUT struct _CONSRV_CONSOLE** /* PCONSRV_CONSOLE* */ Console,
39 IN BOOLEAN LockConsole);
40VOID
41ConSrvReleaseConsole(IN struct _CONSRV_CONSOLE* /* PCONSRV_CONSOLE */ Console,
42 IN BOOLEAN IsConsoleLocked);
43
44
46ConSrvValidateConsole(OUT struct _CONSRV_CONSOLE** /* PCONSRV_CONSOLE* */ Console,
47 IN HANDLE ConsoleHandle,
48 IN CONSOLE_STATE ExpectedState,
49 IN BOOLEAN LockConsole);
50
53 IN PCONSOLE_PROCESS_DATA ProcessData,
unsigned char BOOLEAN
CConsole Console
LONG NTSTATUS
Definition: precomp.h:26
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
static ULONG Timeout
Definition: ping.c:61
ULONG CurDirLength
Definition: console.h:22
ULONG DesktopLength
Definition: console.h:18
ULONG TitleLength
Definition: console.h:16
PCONSOLE_START_INFO ConsoleStartInfo
Definition: console.h:13
BOOLEAN IsWindowVisible
Definition: console.h:14
PWCHAR ConsoleTitle
Definition: console.h:17
ULONG AppNameLength
Definition: console.h:20
PWCHAR Desktop
Definition: console.h:19
PWCHAR AppName
Definition: console.h:21
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint16_t * PWCHAR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
VOID NTAPI ConSrvDeleteConsole(struct _CONSRV_CONSOLE *Console)
VOID NTAPI ConSrvInitConsoleSupport(VOID)
Definition: console.c:347
NTSTATUS ConSrvConsoleCtrlEventTimeout(IN ULONG CtrlEvent, IN PCONSOLE_PROCESS_DATA ProcessData, IN ULONG Timeout)
Definition: console.c:1305
BOOLEAN NTAPI ConSrvValidateConsole(OUT struct _CONSRV_CONSOLE **Console, IN HANDLE ConsoleHandle, IN CONSOLE_STATE ExpectedState, IN BOOLEAN LockConsole)
NTSTATUS NTAPI ConSrvInitConsole(OUT PHANDLE NewConsoleHandle, OUT struct _CONSRV_CONSOLE **NewConsole, IN OUT PCONSOLE_INIT_INFO ConsoleInitInfo, IN PCSR_PROCESS ConsoleLeaderProcess)
struct _CONSOLE_INIT_INFO * PCONSOLE_INIT_INFO
NTSTATUS ConSrvGetConsole(IN PCONSOLE_PROCESS_DATA ProcessData, OUT struct _CONSRV_CONSOLE **Console, IN BOOLEAN LockConsole)
struct _CONSOLE_INIT_INFO CONSOLE_INIT_INFO
VOID ConSrvReleaseConsole(IN struct _CONSRV_CONSOLE *Console, IN BOOLEAN IsConsoleLocked)