2015-04-26 18:09:57 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: GPLv2+ - See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS Virtual DOS Machine
|
2015-09-18 17:01:49 +00:00
|
|
|
* FILE: subsystems/mvdm/ntvdm/dos/dos32krnl/handle.h
|
2015-04-26 18:09:57 +00:00
|
|
|
* PURPOSE: DOS32 Handles (Job File Table)
|
|
|
|
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
|
|
|
|
*/
|
|
|
|
|
2015-10-03 21:47:46 +00:00
|
|
|
#pragma once
|
|
|
|
|
2015-04-26 18:09:57 +00:00
|
|
|
/* DEFINITIONS ****************************************************************/
|
|
|
|
|
|
|
|
#define DEFAULT_JFT_SIZE 20
|
|
|
|
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
|
|
|
|
VOID DosCopyHandleTable(LPBYTE DestinationTable);
|
|
|
|
BOOLEAN DosResizeHandleTable(WORD NewSize);
|
|
|
|
WORD DosOpenHandle(BYTE DescriptorId);
|
|
|
|
BYTE DosQueryHandle(WORD DosHandle);
|
|
|
|
WORD DosDuplicateHandle(WORD DosHandle);
|
|
|
|
BOOLEAN DosForceDuplicateHandle(WORD OldHandle, WORD NewHandle);
|
|
|
|
BOOLEAN DosCloseHandle(WORD DosHandle);
|