INT 21 - Novell NetWare - FILE SERVER - GET PHYSICAL RECORD LOCKS BY CONN&FILE
AH = E3h subfn DDh
DS:SI -> request buffer (see below)
ES:DI -> reply buffer (see below)
Return: AL = status
00h successful
C6h no console rights
FFh file not open
Notes:  this function is supported by Advanced NetWare 2.1+
the calling workstation must have console operator privileges
SeeAlso: AH=E3h/SF=DEh,AH=E3h/SF=DFh

Format of request buffer:
Offset  Size    Description
00h    WORD    0016h (length of following data)
02h    BYTE    DDh (subfunction "Get Physical Record Locks by Connection and
File")
03h    WORD    logical connection number (big-endian)
05h    WORD    last record seen (big-endian)
0000h on first call
07h    BYTE    volume number (00h-1Fh)
08h    WORD    directory handle (big-endian)
0Ah 14 BYTEs   ASCIZ filename

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" on next call)
0000h if no more records
04h    BYTE    number of physical record locks
05h    BYTE    number of records following
06h    Physical Record Lock Info [array]
Offset  Size    Description
00h    BYTE    task number
01h    BYTE    lock status (see below)
02h    DWORD   starting offset of record in file (big-endian)
06h    DWORD   ending offset of record in file (big-endian)

Bitmask of lock status:
bit 0: exclusive lock
bit 1: shareable lock
bit 2: logged
bit 6: lock held by TTS

See also: 21E3

21E3 - Novell NetWare - FILE SERVER - GET PHYSICAL RECORD LOCKS BY CONN&FILE