INT 21 - Novell NetWare - FILE SERVER - GET CONNECTION'S OPEN FILES
AH = E3h subfn DBh
DS:SI -> request buffer (see below)
ES:DI -> reply buffer (see below)
Return: AL = status
00h successful
C6h no console rights
Notes:  this function is supported by Advanced NetWare 2.1+
the calling workstation must have console operator privileges
SeeAlso: AH=E3h/SF=C8h,AH=E3h/SF=DAh,AH=E3h/SF=DCh,AH=E3h/SF=DFh

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

Format of reply buffer:
Offset  Size    Description
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    File Information Records [array]
Offset  Size    Description
00h    BYTE    task number
01h    BYTE    lock flags (see below)
02h    BYTE    access flags (see below)
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    directory entry (big-endian)
07h 14 BYTEs   ASCIZ filename

Bitmask of lock flags:
bit 0: file is locked
bit 1: file opened Shareable
bit 2: logged
bit 3: file opened Normal
bit 6: TTS holding lock
bit 7: Transaction Flag set on file

Bitmask of access flags:
bit 0: file open for reading by calling station
bit 1: file open for writing by calling station
bit 2: deny reads by other stations
bit 3: deny writes by other stations
bit 4: file detached
bit 5: TTS Holding Detach
bit 6: TTS Holding Open

See also: 21E2

21E3 - Novell NetWare - FILE SERVER - GET CONNECTION'S OPEN FILES