48 for (
i = 0;
i < 3;
i++)
60 if (DescriptorId != 0xFF)
68 if (DescriptorId == 0xFF)
70 DPRINT1(
"Cannot create standard handle %d, the SFT is full!\n",
i);
97 DestinationTable[
i] = DescriptorId;
110 DestinationTable[
i] = SourceTable[
i];
207 DPRINT(
"DosOpenHandle: DescriptorId 0x%02X\n", DescriptorId);
220 for (DosHandle = 0; DosHandle < PspBlock->
HandleTableSize; DosHandle++)
243 DPRINT(
"DosQueryHandle: DosHandle 0x%04X\n", DosHandle);
260 if (DescriptorId == 0xFF)
276 DPRINT(
"DosForceDuplicateHandle: OldHandle 0x%04X, NewHandle 0x%04X\n",
317 DPRINT(
"DosCloseHandle: DosHandle 0x%04X\n", DosHandle);
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
#define ERROR_INVALID_HANDLE
BYTE DosFindWin32Descriptor(HANDLE Win32Handle)
PDOS_FILE_DESCRIPTOR DosGetFileDescriptor(BYTE Id)
BYTE DosFindFreeDescriptor(VOID)
BYTE DosFindDeviceDescriptor(DWORD DevicePointer)
#define SEG_OFF_TO_PTR(seg, off)
_Must_inspect_result_ _In_ USHORT NewSize
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static XMS_HANDLE HandleTable[XMS_MAX_HANDLES]
#define RtlFillMemory(Dest, Length, Fill)
#define IsConsoleHandle(h)
PDOS_DEVICE_NODE DosGetDriverNode(DWORD Driver)
#define INVALID_DOS_HANDLE
VOID DosCopyHandleTable(LPBYTE DestinationTable)
WORD DosDuplicateHandle(WORD DosHandle)
BOOLEAN DosCloseHandle(WORD DosHandle)
BOOLEAN DosResizeHandleTable(WORD NewSize)
BOOLEAN DosForceDuplicateHandle(WORD OldHandle, WORD NewHandle)
BYTE DosQueryHandle(WORD DosHandle)
WORD DosOpenHandle(BYTE DescriptorId)
BOOLEAN DosResizeMemory(WORD BlockData, WORD NewSize, WORD *MaxAvailable)
WORD DosAllocateMemory(WORD Size, WORD *MaxAvailable)
BOOLEAN DosFreeMemory(WORD BlockData)
#define SEGMENT_TO_PSP(seg)
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
#define STD_OUTPUT_HANDLE