ReactOS  0.4.13-dev-479-gec9c8fd
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 
13 VOID
21  IN ULONG Access,
22  IN BOOLEAN Inheritable,
23  IN ULONG ShareMode);
26  IN HANDLE Handle);
32  IN ULONG Access,
33  IN BOOLEAN LockConsole,
35 VOID
37  IN BOOLEAN IsConsoleLocked);
NTSTATUS ConSrvRemoveObject(IN PCONSOLE_PROCESS_DATA ProcessData, IN HANDLE Handle)
Definition: handle.c:375
#define IN
Definition: typedefs.h:38
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:294
unsigned char BOOLEAN
_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:310
static IUnknown Object
Definition: main.c:512
VOID ConSrvReleaseObject(IN PCONSOLE_IO_OBJECT Object, IN BOOLEAN IsConsoleLocked)
Definition: handle.c:465
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
CConsole Console
#define OUT
Definition: typedefs.h:39
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:401
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