Int 21 Fn E3 - Novell Netware - File Server - Get Connection's Open File [N]

AH = E3h subfn DBh
DS:SI -> request buffer (see #1733)
ES:DI -> reply buffer (see #1734)

Return: AL = status (00h,C6h) (see #1741)

Notes: this function is supported by Advanced NetWare 2.1+
the calling workstation must have console operator privileges

See Also: AH=E2h/SF=1Ah,AH=E3h/SF=C8h,AH=E3h/SF=DAh,AH=E3h/SF=DCh,AH=E3h/SF=DFh

See Also: AH=E3h/SF=E1h,AX=F217h/SF=DBh

Format of NetWare "Get Connection's Open Files (old)" request buffer:
Offset Size Description (Table 1733)
00h WORD 0005h (length of following data)
02h BYTE DBh (subfunction "Get Connection's Open Files")
03h WORD (big-endian) logical connection number
05h WORD (big-endian) last record seen (0000h on first call)

See Also: #1734,#1922 at AX=F217h/SF=DBh

Format of NetWare "Get Connection's Open Files (old)" reply buffer:
Offset Size Description (Table 1734)
00h WORD (call) size of following results record (max 1FEh)
02h WORD next request record (place in "last record" field on next call)
0000h if no more records
04h BYTE number of records following
05h var array of File Information Records (see #1735)

See Also: #1733,#1922 at AX=F217h/SF=DBh

Format of NetWare File Information Record:
Offset Size Description (Table 1735)
00h BYTE task number
01h BYTE lock flags (see #1736)
02h BYTE access flags (see #1737)
03h BYTE lock type
00h no lock
FEh file lock
FFh locked by Begin Share File Set
04h BYTE volume number (00h-1Fh)
05h WORD (big-endian) directory entry number
07h 14 BYTEs ASCIZ filename

See Also: #1734

Bitfields for lock flags:
Bit(s) Description (Table 1736)
0 file is locked
1 file opened Shareable
2 logged
3 file opened Normal
6 TTS holding lock
7 Transaction Flag set on file

See Also: #1735,#1737

Bitfields for access flags:
Bit(s) Description (Table 1737)
0 file open for reading by calling station
1 file open for writing by calling station
2 deny reads by other stations
3 deny writes by other stations
4 file detached
5 TTS Holding Detach
6 TTS Holding Open

See Also: #1735,#1736