1 /* 2 * LICENSE: GPL - See COPYING in the top level directory 3 * PROJECT: ReactOS Console Server DLL 4 * FILE: win32ss/user/winsrv/consrv/handle.h 5 * PURPOSE: Console I/O Handles functions 6 * PROGRAMMERS: David Welch 7 * Jeffrey Morlan 8 * Hermes Belusca-Maito (hermes.belusca@sfr.fr) 9 */ 10 11 #pragma once 12 13 NTSTATUS 14 ConSrvInheritHandlesTable(IN PCONSOLE_PROCESS_DATA SourceProcessData, 15 IN PCONSOLE_PROCESS_DATA TargetProcessData); 16 17 VOID 18 ConSrvFreeHandlesTable(IN PCONSOLE_PROCESS_DATA ProcessData); 19 20 21 VOID 22 ConSrvInitObject(IN OUT PCONSOLE_IO_OBJECT Object, 23 IN CONSOLE_IO_OBJECT_TYPE Type, 24 IN PCONSOLE Console); 25 NTSTATUS 26 ConSrvInsertObject(IN PCONSOLE_PROCESS_DATA ProcessData, 27 OUT PHANDLE Handle, 28 IN PCONSOLE_IO_OBJECT Object, 29 IN ULONG Access, 30 IN BOOLEAN Inheritable, 31 IN ULONG ShareMode); 32 NTSTATUS 33 ConSrvRemoveObject(IN PCONSOLE_PROCESS_DATA ProcessData, 34 IN HANDLE Handle); 35 NTSTATUS 36 ConSrvGetObject(IN PCONSOLE_PROCESS_DATA ProcessData, 37 IN HANDLE Handle, 38 OUT PCONSOLE_IO_OBJECT* Object, 39 OUT PVOID* Entry OPTIONAL, 40 IN ULONG Access, 41 IN BOOLEAN LockConsole, 42 IN CONSOLE_IO_OBJECT_TYPE Type); 43 VOID 44 ConSrvReleaseObject(IN PCONSOLE_IO_OBJECT Object, 45 IN BOOLEAN IsConsoleLocked); 46