ReactOS 0.4.16-dev-297-gc569aee
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
17VOID DosCopyHandleTable(LPBYTE DestinationTable);
19WORD DosOpenHandle(BYTE DescriptorId);
20BYTE DosQueryHandle(WORD DosHandle);
22BOOLEAN DosForceDuplicateHandle(WORD OldHandle, WORD NewHandle);
23BOOLEAN DosCloseHandle(WORD DosHandle);
unsigned char BOOLEAN
unsigned short WORD
Definition: ntddk_ex.h:93
_Must_inspect_result_ _In_ USHORT NewSize
Definition: fltkernel.h:975
VOID DosCopyHandleTable(LPBYTE DestinationTable)
Definition: handle.c:27
WORD DosDuplicateHandle(WORD DosHandle)
Definition: handle.c:256
BOOLEAN DosCloseHandle(WORD DosHandle)
Definition: handle.c:311
BOOLEAN DosResizeHandleTable(WORD NewSize)
Definition: handle.c:118
BOOLEAN DosForceDuplicateHandle(WORD OldHandle, WORD NewHandle)
Definition: handle.c:269
BYTE DosQueryHandle(WORD DosHandle)
Definition: handle.c:238
WORD DosOpenHandle(BYTE DescriptorId)
Definition: handle.c:200
unsigned char * LPBYTE
Definition: typedefs.h:53
unsigned char BYTE
Definition: xxhash.c:193