ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/20/07:13:49

Date: Mon, 20 May 1996 14:59:45 +0400 (MSD)
From: "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net>
Message-Id: <199605201059.OAA21308@video.yars.free.net>
To: eliz AT is DOT elta DOT co DOT il
Cc: djgpp AT delorie DOT com, scott AT statsci DOT com
Subject: Re: Are "real" long filenames possible with DJGPP v2 (make)?

> > Yes, but I can remember a lfn function, something like "Get filesystem flags".
> > In particular, it returns flags indicating whether the filesystem is case
> > sensitive.
> 
> Then this flag is for non-Win95 filesystems mounted under Win95, right?

I don't know for sure. But this is what I've found in the interrupt list:
--------D-2171A0-----------------------------
INT 21 - Windows95 - LONG FILENAME - GET VOLUME INFORMATION
	AX = 71A0h
	DS:SI -> ASCIZ root name (e.g. "C:\")
	ES:DI -> buffer for file system name
	CX = size of ES:DI buffer
Return: CF clear if successful
	    BX = flags (see below)
	    CX = maximum length of file name [usually 255]
	    DX = maximum length of path [usually 260]
	    ES:DI buffer filled (ASCIZ, e.g. "FAT","NTFS","CDFS")
	CF set on error
	    AX = error code
		7100h if function not supported
Note:	for the file system name buffer, 32 bytes should be sufficient; that's
	 what is used in some sample code by Walter Oney from Microsoft.
SeeAlso: AX=714Eh

Bitfields for long filename volume information flags:
Bit(s)	Description	(Table 1049)
 0	searches are case sensitive
 1	preserves case in directory entries
 2	uses Unicode characters in file and directory names
 3-13	reserved (0)
 14	supports DOS long filename functions
 15	volume is compressed

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019