Int 21 Fn E3 - Novell Netware - File Server - Get Connections Using A Fi [N]

AH = E3h subfn DCh
DS:SI -> request buffer (see #1738)
ES:DI -> reply buffer (see #1739)

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=E3h/SF=C8h,AH=E3h/SF=DAh,AH=E3h/SF=DBh,AH=E3h/SF=DFh,AH=E3h/SF=E1h

See Also: AX=F217h/SF=DCh

Format of NetWare "Get Connections Using a File" request buffer:
Offset Size Description (Table 1738)
00h WORD length of following data (max 104h)
02h BYTE DCh (subfunction "Get Connections Using a File")
03h WORD (big-endian) last record (0000h on first call)
05h BYTE directory handle
06h BYTE length of file path
07h N BYTEs ASCIZ file path

See Also: #1739,#1923 at AX=F217h/SF=DCh

Format of NetWare "Get Connections Using a File" reply buffer:
Offset Size Description (Table 1739)
00h WORD (call) size of following results record (max 1FEh)
02h WORD (big-endian) count of tasks which have opened or logged file
04h WORD (big-endian) count of tasks which have opened file
06h WORD (big-endian) count of opens for reading
08h WORD (big-endian) count of opens for writing
0Ah WORD (big-endian) deny read count
0Ch WORD (big-endian) deny write count
0Eh WORD next request record (place in "last record" field on next call)
0000h if no more records
10h BYTE locked flag
00h not locked exclusively
else locked exclusively
11h BYTE number of records following
12h var array of File Usage Information Records (see #1740)

See Also: #1738,#1923 at AX=F217h/SF=DCh

Format of NetWare File Usage Information Record:
Offset Size Description (Table 1740)
00h WORD (big-endian) logical connection number
02h BYTE task number
03h BYTE lock flags (see #1736)
04h BYTE access flags (see #1737)
05h BYTE lock type
00h no lock
FEh file lock
FFh locked by Begin Share File Set