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