Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3EA54E60.4A91B1E3@phekda.freeserve.co.uk> Date: Tue, 22 Apr 2003 15:14:56 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp-workers AT delorie DOT com Subject: Re: fstat, fd_props and inventing inodes, revision 3 [PATCH] References: <003101c30704$8dbb1ea0$0100a8c0 AT acp42g> <000a01c30708$aacbc680$0100a8c0 AT acp42g> <3EA2685E DOT 725043BC AT phekda DOT freeserve DOT co DOT uk> <8296-Sun20Apr2003135633+0300-eliz AT elta DOT co DOT il> <3EA2B7E2 DOT E83694EA AT phekda DOT freeserve DOT co DOT uk> <1858-Sun20Apr2003203205+0300-eliz AT elta DOT co DOT il> <3EA43D71 DOT F34E91EC AT phekda DOT freeserve DOT co DOT uk> <7443-Tue22Apr2003103725+0300-eliz AT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Eli Zaretskii wrote: > > > Date: Mon, 21 Apr 2003 19:50:25 +0100 > > From: Richard Dawe > > > > > > --------N-215F46----------------------------- > > > INT 21 u - LAN Manager Enhanced DOS - LOCAL NetUseEnum > > > > It works fine under Windows '95, '98, 2000/XP (whichever Andrew is using). > > I expect it works under Windows NT 4 - after all, that was a "replacement" > > for LAN Manager. I expect it to work under Windows ME too. > > I was worried about MS-DOS. Can someone please boot into plain DOS, > even the one from Windows 9x, and see if the function works? [snip] I booted (*) into DOS from Windows '98 SE. The function failed with errno == EINVAL. "dir \\somemachine\someshare" from COMMAND.COM also failed with a "bad value" message. This is OK, I think. I'm guessing you were worried that it might not fail, when there is no support for UNCs. If that's the case, then I guess we could try to get the LAN Manager version first (Int 21h/5F30h). If we can't get the version, then it should just abort. We could do this as part of share_init(), so that we only get the version once. (*) By "boot" I mean I selected "Command Prompt only" at the boot menu. I didn't try the MS-DOS mode option from the Shutdown menu. Well, I did, but Windows crashed. Besides, "MS-DOS mode" isn't as pure DOS as selecting "Command Prompt only" from the boot menu. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]