INT 21 - Novell NetWare v2+ - AFP GET FILE INFORMATION AX = F223h subfn 05h CX = length of request buffer in bytes DX = length of reply buffer in bytes DS:SI -> request buffer (see #02309) ES:DI -> reply buffer (see #02311) Return: AX = status (see #02860 at INT 2F/AX=7A20h/BX=0000h) SeeAlso: AH=F2h"Novell",AX=F223h/SF=04h,AX=F223h/SF=09h,AX=F223h/SF=13h Format of NetWare "AFP Get File Information" request packet: Offset Size Description (Table 02309) 00h WORD (big-endian) length of following data 02h BYTE 05h (subfunction "AFP Get File Information") 03h BYTE volume number 04h DWORDDoubleword; four bytes. Commonly used to hold a 32-bit segment:offset or selector:offset address. AFP entry ID 08h WORD request bitmap 0Ah BYTE path length 0Bh N BYTEs AFP-style pathname (relative to AFP entry ID) SeeAlso: #02311 Bitfields for NetWare AFP request bitmap: Bit(s) Description (Table 02310) 0 return AFP entry ID 1 return data fork length 2 return resource fork length 3 return number of contained files/subdirectories 4 return owner ID 5 return short name 6 return access rights 7 ??? (unused?) 8 return attributes 9 return parent directory ID 10 return creation date 11 return last-access date 12 return last-modified date and time 13 return last-backup date and time 14 return Finder information 15 return long name SeeAlso: #02309,#02336,#02337 Format of NetWare "AFP Get File Information" reply packet: Offset Size Description (Table 02311) 00h DWORDDoubleword; four bytes. Commonly used to hold a 32-bit segment:offset or selector:offset address. AFP entry ID for specified file 04h DWORDDoubleword; four bytes. Commonly used to hold a 32-bit segment:offset or selector:offset address. AFP entry ID for specified file's parent directory 08h WORD directory/file attributes (see #02312) 0Ah DWORDDoubleword; four bytes. Commonly used to hold a 32-bit segment:offset or selector:offset address. length of data fork 0Eh DWORDDoubleword; four bytes. Commonly used to hold a 32-bit segment:offset or selector:offset address. length of resource fork 12h WORD total files and subdirectories contained within entry always 0000h if entry is a file 14h WORD creation date in AFP format 16h WORD last-access date in AFP format 18h WORD last-modified date in AFP format 1Ah WORD last-modified time in AFP format 1Ch WORD last-backup date in AFP format 1Eh WORD last-backup time in AFP format 20h 32 BYTEs Finder information 40h 32 BYTEs long filename 60h DWORDDoubleword; four bytes. Commonly used to hold a 32-bit segment:offset or selector:offset address. NetWare object ID of owner 64h 12 BYTEs short filename (MS-DOS 8.3 format) 70h WORD access privileges (see #02313) SeeAlso: #02309,#02338 Bitfields for NetWare AFP file/directory attributes: Bit(s) Description (Table 02312) 0 search mode 1 search mode 2 search mode 3 (undefined) 4 transaction 5 index 6 read audit 7 write audit 8 read-only 9 hidden 10 system 11 execute-only 12 subdirectory 13 archive 14 (undefined) 15 shareable file SeeAlso: #02311,#02322,#02337 Bitfields for NetWare AFP access privileges: Bit(s) Description (Table 02313) 8 read (files) 9 write (files) 10 open (files) 11 create (files) 12 delete (files) 13 parental (directories): create/delete/rename subdirectories 14 search (directories) 15 modify file status flags SeeAlso: #02311,#02337,#02327