Int 21 Fn F223 - Novell Netware V2+ - Afp Get File Information [N]

AX = F223h subfn 05h
CX = length of request buffer in bytes
DX = length of reply buffer in bytes
DS:SI -> request buffer (see #1997)
ES:DI -> reply buffer (see #1999)

Return: AX = status (see #2546 at INT 2F/AX=7A20h/BX=0000h)

See Also: 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 1997)
00h WORD (big-endian) length of following data
02h BYTE 05h (subfunction "AFP Get File Information")
03h BYTE volume number
04h DWORD AFP entry ID
08h WORD request bitmap
0Ah BYTE path length
0Bh N BYTEs AFP-style pathname (relative to AFP entry ID)

See Also: #1999

Bitfields for NetWare AFP request bitmap:
Bit(s) Description (Table 1998)
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

See Also: #1997,#2024,#2025

Format of NetWare "AFP Get File Information" reply packet:
Offset Size Description (Table 1999)
00h DWORD AFP entry ID for specified file
04h DWORD AFP entry ID for specified file's parent directory
08h WORD directory/file attributes (see #2000)
0Ah DWORD length of data fork
0Eh DWORD 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 DWORD NetWare object ID of owner
64h 12 BYTEs short filename (MS-DOS 8.3 format)
70h WORD access privileges (see #2001)

See Also: #1997,#2026

Bitfields for NetWare AFP file/directory attributes:
Bit(s) Description (Table 2000)
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

See Also: #1999,#2010,#2025

Bitfields for NetWare AFP access privileges:
Bit(s) Description (Table 2001)
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

See Also: #1999,#2025,#2015