From 5dff4fb2ab817bb11fcddf6d3b9e927b77f73731 Mon Sep 17 00:00:00 2001 From: Ian Schmidt Date: Tue, 4 Apr 2000 18:55:09 +0000 Subject: [PATCH] Implemented DeviceIoControl VWIN32_DIOC_DOS_DRIVEINFO, needed by Internet Explorer. --- win32/device.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/win32/device.c b/win32/device.c index 3b8ee350ea..a084627839 100644 --- a/win32/device.c +++ b/win32/device.c @@ -1119,6 +1119,7 @@ static BOOL DeviceIo_VWin32(DWORD dwIoControlCode, case VWIN32_DIOC_DOS_INT13: case VWIN32_DIOC_DOS_INT25: case VWIN32_DIOC_DOS_INT26: + case VWIN32_DIOC_DOS_DRIVEINFO: { CONTEXT86 cxt; DIOC_REGISTERS *pIn = (DIOC_REGISTERS *)lpvInBuffer; @@ -1130,7 +1131,8 @@ static BOOL DeviceIo_VWin32(DWORD dwIoControlCode, (dwIoControlCode == VWIN32_DIOC_DOS_IOCTL)? "VWIN32_DIOC_DOS_IOCTL" : (dwIoControlCode == VWIN32_DIOC_DOS_INT13)? "VWIN32_DIOC_DOS_INT13" : (dwIoControlCode == VWIN32_DIOC_DOS_INT25)? "VWIN32_DIOC_DOS_INT25" : - (dwIoControlCode == VWIN32_DIOC_DOS_INT26)? "VWIN32_DIOC_DOS_INT26" : "???", + (dwIoControlCode == VWIN32_DIOC_DOS_INT26)? "VWIN32_DIOC_DOS_INT26" : + (dwIoControlCode == VWIN32_DIOC_DOS_DRIVEINFO)? "VWIN32_DIOC_DOS_DRIVEINFO" : "???", pIn->reg_EAX, pIn->reg_EBX, pIn->reg_ECX, pIn->reg_EDX, pIn->reg_ESI, pIn->reg_EDI ); @@ -1142,6 +1144,7 @@ static BOOL DeviceIo_VWin32(DWORD dwIoControlCode, case VWIN32_DIOC_DOS_INT13: INT_Int13Handler( &cxt ); break; case VWIN32_DIOC_DOS_INT25: INT_Int25Handler( &cxt ); break; case VWIN32_DIOC_DOS_INT26: INT_Int26Handler( &cxt ); break; + case VWIN32_DIOC_DOS_DRIVEINFO: DOS3Call( &cxt ); break; /* Call int 21h 730x */ } CONTEXT_2_DIOCRegs( &cxt, pOut );