mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
c05df38e86
- Move ConSrvInitHandlesTable() & rename it ConSrvInitProcessHandles() since its purpose is to initialize the standard input, output and error handles for a console process. - Move ConSrvAllocateConsole(), ConSrvInheritConsole() and ConSrvRemoveConsole().
32 lines
904 B
C
32 lines
904 B
C
/*
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* PROJECT: ReactOS Console Server DLL
|
|
* FILE: win32ss/user/winsrv/consrv/procinit.h
|
|
* PURPOSE: Functions for console processes initialization
|
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
NTSTATUS
|
|
ConSrvAllocateConsole(
|
|
IN OUT PCONSOLE_PROCESS_DATA ProcessData,
|
|
OUT PHANDLE pInputHandle,
|
|
OUT PHANDLE pOutputHandle,
|
|
OUT PHANDLE pErrorHandle,
|
|
IN OUT PCONSOLE_INIT_INFO ConsoleInitInfo);
|
|
|
|
NTSTATUS
|
|
ConSrvInheritConsole(
|
|
IN OUT PCONSOLE_PROCESS_DATA ProcessData,
|
|
IN HANDLE ConsoleHandle,
|
|
IN BOOLEAN CreateNewHandleTable,
|
|
OUT PHANDLE pInputHandle,
|
|
OUT PHANDLE pOutputHandle,
|
|
OUT PHANDLE pErrorHandle,
|
|
IN OUT PCONSOLE_START_INFO ConsoleStartInfo);
|
|
|
|
NTSTATUS
|
|
ConSrvRemoveConsole(
|
|
IN OUT PCONSOLE_PROCESS_DATA ProcessData);
|