ReactOS  0.4.14-dev-342-gdc047f9
handle.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: GPLv2+ - See COPYING in the top level directory
3  * PROJECT: ReactOS Virtual DOS Machine
4  * FILE: subsystems/mvdm/ntvdm/dos/dos32krnl/handle.h
5  * PURPOSE: DOS32 Handles (Job File Table)
6  * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7  */
8 
9 #pragma once
10 
11 /* DEFINITIONS ****************************************************************/
12 
13 #define DEFAULT_JFT_SIZE 20
14 
15 /* FUNCTIONS ******************************************************************/
16 
17 VOID DosCopyHandleTable(LPBYTE DestinationTable);
19 WORD DosOpenHandle(BYTE DescriptorId);
20 BYTE DosQueryHandle(WORD DosHandle);
21 WORD DosDuplicateHandle(WORD DosHandle);
22 BOOLEAN DosForceDuplicateHandle(WORD OldHandle, WORD NewHandle);
23 BOOLEAN DosCloseHandle(WORD DosHandle);
BYTE DosQueryHandle(WORD DosHandle)
Definition: handle.c:238
unsigned char * LPBYTE
Definition: typedefs.h:52
unsigned char BOOLEAN
WORD DosDuplicateHandle(WORD DosHandle)
Definition: handle.c:256
VOID DosCopyHandleTable(LPBYTE DestinationTable)
Definition: handle.c:27
WORD DosOpenHandle(BYTE DescriptorId)
Definition: handle.c:200
unsigned short WORD
Definition: ntddk_ex.h:93
BOOLEAN DosResizeHandleTable(WORD NewSize)
Definition: handle.c:118
unsigned char BYTE
Definition: mem.h:68
_Must_inspect_result_ _In_ USHORT NewSize
Definition: fltkernel.h:975
BOOLEAN DosForceDuplicateHandle(WORD OldHandle, WORD NewHandle)
Definition: handle.c:269
BOOLEAN DosCloseHandle(WORD DosHandle)
Definition: handle.c:311