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);
18 BOOLEAN DosResizeHandleTable(WORD NewSize);
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);
24