Mail Archives: djgpp/1996/05/20/07:13:49
> > 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 -