ReactOS  0.4.15-dev-506-ga3ec01c
handle.h
Go to the documentation of this file.
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 
15  IN PCONSOLE_PROCESS_DATA TargetProcessData);
16 
17 VOID
19 
20 
21 VOID
29  IN ULONG Access,
30  IN BOOLEAN Inheritable,
31  IN ULONG ShareMode);
34  IN HANDLE Handle);
40  IN ULONG Access,
41  IN BOOLEAN LockConsole,
43 VOID
45  IN BOOLEAN IsConsoleLocked);
NTSTATUS ConSrvRemoveObject(IN PCONSOLE_PROCESS_DATA ProcessData, IN HANDLE Handle)
Definition: handle.c:292
#define IN
Definition: typedefs.h:39
Type
Definition: Type.h:6
LONG NTSTATUS
Definition: precomp.h:26
VOID ConSrvInitObject(IN OUT PCONSOLE_IO_OBJECT Object, IN CONSOLE_IO_OBJECT_TYPE Type, IN PCONSOLE Console)
Definition: handle.c:211
unsigned char BOOLEAN
NTSTATUS ConSrvInheritHandlesTable(IN PCONSOLE_PROCESS_DATA SourceProcessData, IN PCONSOLE_PROCESS_DATA TargetProcessData)
Definition: handle.c:120
_In_ HANDLE Handle
Definition: extypes.h:390
NTSTATUS ConSrvInsertObject(IN PCONSOLE_PROCESS_DATA ProcessData, OUT PHANDLE Handle, IN PCONSOLE_IO_OBJECT Object, IN ULONG Access, IN BOOLEAN Inheritable, IN ULONG ShareMode)
Definition: handle.c:227
static IUnknown Object
Definition: main.c:512
VOID ConSrvReleaseObject(IN PCONSOLE_IO_OBJECT Object, IN BOOLEAN IsConsoleLocked)
Definition: handle.c:382
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:454
VOID ConSrvFreeHandlesTable(IN PCONSOLE_PROCESS_DATA ProcessData)
Definition: handle.c:172
CConsole Console
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
NTSTATUS ConSrvGetObject(IN PCONSOLE_PROCESS_DATA ProcessData, IN HANDLE Handle, OUT PCONSOLE_IO_OBJECT *Object, OUT PVOID *Entry OPTIONAL, IN ULONG Access, IN BOOLEAN LockConsole, IN CONSOLE_IO_OBJECT_TYPE Type)
Definition: handle.c:318
enum _CONSOLE_IO_OBJECT_TYPE CONSOLE_IO_OBJECT_TYPE
base of all file and directory entries
Definition: entries.h:82
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68