Previous
Index
Next
INT 21 - Windows95 - LONG FILENAME - GET FILE INFO BY HANDLE AX = 71A6h BX = file handle DS:DX -> buffer for file information (see #01784) CF set Return: CF clear if successful file information record filled CF set on error AX = error code 7100h if function not supported SeeAlso: AX=71A7h/BL=00h,INT 2F/AX=11A6h"dosemu2" Notes: supported by FAT+ builds of Enhanced DR-DOS on local FAT FS drives; only SFNs are actually used but the DOS wants to be able to return 64-bit file sizes (as FAT+ allows 38-bit file sizes on disk). Format of Windows95 file information: Offset Size Description (Table 01784) 00h DWORD file attributes 04h QWORD creation time (0 = unsupported) 0Ch QWORD last access time (0 = unsupported) 14h QWORD last write time 1Ch DWORD volume serial number 20h DWORD high 32 bits of file size 24h DWORD low 32 bits of file size 28h DWORD number of links to file 2Ch DWORD unique file identifier (high 32 bits) 30h DWORD unique file identifier (low 32 bits) Notes: the file identifier and volume serial number together uniquely identify a file while it is open; the identifier may change when the system is restarted or the file is first opened