Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / win32ss / user / winsrv / consrv_new / include / console.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Console Server DLL
4 * FILE: win32ss/user/winsrv/consrv/include/console.h
5 * PURPOSE: Public Console Management Interface
6 * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7 */
8
9 #pragma once
10
11 VOID NTAPI
12 ConDrvInitConsoleSupport(VOID);
13
14 NTSTATUS NTAPI
15 ConDrvInitConsole(OUT PHANDLE NewConsoleHandle,
16 OUT PCONSOLE* NewConsole,
17 IN PCONSOLE_INFO ConsoleInfo,
18 IN ULONG ConsoleLeaderProcessId);
19 NTSTATUS NTAPI
20 ConDrvRegisterFrontEnd(IN PCONSOLE Console,
21 IN PFRONTEND FrontEnd);
22 NTSTATUS NTAPI
23 ConDrvDeregisterFrontEnd(IN PCONSOLE Console);
24 VOID NTAPI
25 ConDrvDeleteConsole(IN PCONSOLE Console);
26
27
28
29 BOOLEAN NTAPI
30 ConDrvValidateConsoleState(IN PCONSOLE Console,
31 IN CONSOLE_STATE ExpectedState);
32
33 BOOLEAN NTAPI
34 ConDrvValidateConsoleUnsafe(IN PCONSOLE Console,
35 IN CONSOLE_STATE ExpectedState,
36 IN BOOLEAN LockConsole);
37
38 BOOLEAN NTAPI
39 ConDrvValidateConsole(OUT PCONSOLE* Console,
40 IN HANDLE ConsoleHandle,
41 IN CONSOLE_STATE ExpectedState,
42 IN BOOLEAN LockConsole);
43
44
45
46 NTSTATUS NTAPI
47 ConDrvGetConsole(OUT PCONSOLE* Console,
48 IN HANDLE ConsoleHandle,
49 IN BOOLEAN LockConsole);
50 VOID NTAPI
51 ConDrvReleaseConsole(IN PCONSOLE Console,
52 IN BOOLEAN WasConsoleLocked);
53
54 /* EOF */