xref: /reactos/win32ss/user/winsrv/consrv/procinit.h (revision c05df38e)
1c2c66affSColin Finck /*
2c2c66affSColin Finck  * LICENSE:         GPL - See COPYING in the top level directory
3c2c66affSColin Finck  * PROJECT:         ReactOS Console Server DLL
4c2c66affSColin Finck  * FILE:            win32ss/user/winsrv/consrv/procinit.h
5c2c66affSColin Finck  * PURPOSE:         Functions for console processes initialization
6c2c66affSColin Finck  * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7c2c66affSColin Finck  */
8c2c66affSColin Finck 
9c2c66affSColin Finck #pragma once
10c2c66affSColin Finck 
11*c05df38eSHermès Bélusca-Maïto NTSTATUS
12*c05df38eSHermès Bélusca-Maïto ConSrvAllocateConsole(
13*c05df38eSHermès Bélusca-Maïto     IN OUT PCONSOLE_PROCESS_DATA ProcessData,
14*c05df38eSHermès Bélusca-Maïto     OUT PHANDLE pInputHandle,
15*c05df38eSHermès Bélusca-Maïto     OUT PHANDLE pOutputHandle,
16*c05df38eSHermès Bélusca-Maïto     OUT PHANDLE pErrorHandle,
17*c05df38eSHermès Bélusca-Maïto     IN OUT PCONSOLE_INIT_INFO ConsoleInitInfo);
18*c05df38eSHermès Bélusca-Maïto 
19*c05df38eSHermès Bélusca-Maïto NTSTATUS
20*c05df38eSHermès Bélusca-Maïto ConSrvInheritConsole(
21*c05df38eSHermès Bélusca-Maïto     IN OUT PCONSOLE_PROCESS_DATA ProcessData,
22*c05df38eSHermès Bélusca-Maïto     IN HANDLE ConsoleHandle,
23*c05df38eSHermès Bélusca-Maïto     IN BOOLEAN CreateNewHandleTable,
24*c05df38eSHermès Bélusca-Maïto     OUT PHANDLE pInputHandle,
25*c05df38eSHermès Bélusca-Maïto     OUT PHANDLE pOutputHandle,
26*c05df38eSHermès Bélusca-Maïto     OUT PHANDLE pErrorHandle,
27*c05df38eSHermès Bélusca-Maïto     IN OUT PCONSOLE_START_INFO ConsoleStartInfo);
28*c05df38eSHermès Bélusca-Maïto 
29*c05df38eSHermès Bélusca-Maïto NTSTATUS
30*c05df38eSHermès Bélusca-Maïto ConSrvRemoveConsole(
31*c05df38eSHermès Bélusca-Maïto     IN OUT PCONSOLE_PROCESS_DATA ProcessData);
32