Commit 9577e5e2 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

ioctl 440F only returns non mapped drives (for now).

parent 45885d13
...@@ -2627,19 +2627,10 @@ static void INT21_Ioctl_Block( CONTEXT86 *context ) ...@@ -2627,19 +2627,10 @@ static void INT21_Ioctl_Block( CONTEXT86 *context )
break; break;
case 0x0f: /* SET LOGICAL DRIVE MAP */ case 0x0f: /* SET LOGICAL DRIVE MAP */
{ TRACE("IOCTL - SET LOGICAL DRIVE MAP for drive %s\n",
WCHAR dev[3], tgt[4]; INT21_DriveName( BL_reg(context)));
/* FIXME: as of today, we don't support logical drive mapping... */
TRACE("IOCTL - SET LOGICAL DRIVE MAP for drive %s\n", SET_AL( context, 0 );
INT21_DriveName( BL_reg(context)));
dev[0] = 'A' + drive; dev[1] = ':'; dev[2] = 0;
tgt[0] = 'A' + drive + 1; tgt[1] = ':'; tgt[2] = '\\'; tgt[3] = 0;
if (!DefineDosDeviceW(DDD_RAW_TARGET_PATH, dev, tgt))
{
SET_CFLAG(context);
SET_AX( context, 0x000F ); /* invalid drive */
}
}
break; break;
case 0x11: /* QUERY GENERIC IOCTL CAPABILITY */ case 0x11: /* QUERY GENERIC IOCTL CAPABILITY */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment