Mail Archives: djgpp/2000/04/09/02:36:06
On Sat, 8 Apr 2000, Wojciech Galazka wrote:
> The
> newest version of LFN I'm working on completely bypasses int 21h AX=6Ch
> call and creates/opens files using Win32 CreateFile() call. It turns out
> that DOS file handles returned by the LFN driver under some circumstances
> are not recognized by int 21h, AX=4400h used by get_dev_info() call. which
> returns 0 instead.
Is bypassing the DOS calls a good idea? How do you get a handle from
CreateFile that can be used in various DOS calls, such as 214400?
The handle you return must be a valid DOS handle, otherwise lots of
things will subtly break.
> I'm working on this right now and wonder if the SFT layout under Windows NT
> is anywhere documented ....
What SFT do you have in mind? If that's the SFT for the DOS box, I'm
not even sure NTVDM creates it.
- Raw text -