ReactOS  0.4.14-dev-49-gfb4591c
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 
11 typedef struct _CONSOLE_INIT_INFO
12 {
15 
25 
26 VOID NTAPI
28 
30 ConSrvInitConsole(OUT PHANDLE NewConsoleHandle,
31  OUT struct _CONSRV_CONSOLE** /* PCONSRV_CONSOLE* */ NewConsole,
32  IN OUT PCONSOLE_INIT_INFO ConsoleInitInfo,
33  IN PCSR_PROCESS ConsoleLeaderProcess);
34 VOID NTAPI ConSrvDeleteConsole(struct _CONSRV_CONSOLE* /* PCONSRV_CONSOLE */ Console);
35 
38  OUT struct _CONSRV_CONSOLE** /* PCONSRV_CONSOLE* */ Console,
39  IN BOOLEAN LockConsole);
40 VOID
41 ConSrvReleaseConsole(IN struct _CONSRV_CONSOLE* /* PCONSRV_CONSOLE */ Console,
42  IN BOOLEAN IsConsoleLocked);
43 
44 
46 ConSrvValidateConsole(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,
54  IN ULONG Timeout);
PWCHAR Desktop
Definition: console.h:19
PCONSOLE_START_INFO ConsoleStartInfo
Definition: console.h:13
#define IN
Definition: typedefs.h:38
ULONG CurDirLength
Definition: console.h:22
#define _CONSRV_CONSOLE
Definition: conio.h:25
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 CONSOLE_INIT_INFO
VOID NTAPI ConSrvDeleteConsole(struct _CONSRV_CONSOLE *Console)
LONG NTSTATUS
Definition: precomp.h:26
VOID ConSrvReleaseConsole(IN struct _CONSRV_CONSOLE *Console, IN BOOLEAN IsConsoleLocked)
uint16_t * PWCHAR
Definition: typedefs.h:54
NTSTATUS ConSrvGetConsole(IN PCONSOLE_PROCESS_DATA ProcessData, OUT struct _CONSRV_CONSOLE **Console, IN BOOLEAN LockConsole)
struct _CONSOLE_INIT_INFO * PCONSOLE_INIT_INFO
ULONG AppNameLength
Definition: console.h:20
PWCHAR AppName
Definition: console.h:21
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
ULONG TitleLength
Definition: console.h:16
unsigned char BOOLEAN
BOOLEAN NTAPI ConSrvValidateConsole(OUT struct _CONSRV_CONSOLE **Console, IN HANDLE ConsoleHandle, IN CONSOLE_STATE ExpectedState, IN BOOLEAN LockConsole)
PWCHAR ConsoleTitle
Definition: console.h:17
NTSTATUS ConSrvConsoleCtrlEventTimeout(IN ULONG CtrlEvent, IN PCONSOLE_PROCESS_DATA ProcessData, IN ULONG Timeout)
Definition: console.c:809
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
ULONG DesktopLength
Definition: console.h:18
static ULONG Timeout
Definition: ping.c:61
BOOLEAN IsWindowVisible
Definition: console.h:14
VOID NTAPI ConSrvInitConsoleSupport(VOID)
Definition: console.c:327
CConsole Console
#define OUT
Definition: typedefs.h:39
unsigned int ULONG
Definition: retypes.h:1