X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=subsystems%2Fntvdm%2Fdos.c;h=f094fd40b769ca2f2f18a58123ca965cf8fe832d;hp=e478070abe3d5b57e30c2f8c7a8eeb7b3d84d578;hb=5c45aa50d139005f9b8721c8bed7068ce811945d;hpb=ec409b401eef5758c0f9ce33fbd5f71dd3022418 diff --git a/subsystems/ntvdm/dos.c b/subsystems/ntvdm/dos.c index e478070abe3..f094fd40b76 100644 --- a/subsystems/ntvdm/dos.c +++ b/subsystems/ntvdm/dos.c @@ -1377,6 +1377,11 @@ BOOLEAN DosHandleIoctl(BYTE ControlCode, WORD FileHandle) { WORD InfoWord = 0; + /* + * See Ralf Brown: http://www.ctyme.com/intr/rb-2820.htm + * for a list of possible flags. + */ + if (Handle == DosSystemFileTable[0]) { /* Console input */ @@ -1388,7 +1393,7 @@ BOOLEAN DosHandleIoctl(BYTE ControlCode, WORD FileHandle) InfoWord |= 1 << 1; } - /* It is a character device */ + /* It is a device */ InfoWord |= 1 << 7; /* Return the device information word */