From 5c45aa50d139005f9b8721c8bed7068ce811945d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Tue, 24 Dec 2013 22:33:16 +0000 Subject: [PATCH] [NTVDM]: DOS: Add some description / fix a comment. svn path=/branches/ntvdm/; revision=61389 --- subsystems/ntvdm/dos.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 */ -- 2.17.1