[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - Novell NetWare - FILE SERVER - GET PHYSICAL RECORD LOCKS BY FILE
        AH = E3h subfn DEh
        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=DDh,AH=E3h/SF=DFh

Format of request buffer:
Offset  Size    Description
 00h    WORD    length of following data (max 104h)
 02h    BYTE    DEh (subfunction "Get Physical Record Locks by File")
 03h    WORD    last record seen (big-endian)
                0000h on first call
 05h    BYTE    directory handle
 06h    BYTE    length of filename
 07h  N 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    WORD    number of tasks logging record (big-endian)
         02h    WORD    number of tasks with shareable lock (big-endian)
         04h    DWORD   starting offset of record in file (big-endian)
         08h    DWORD   ending offset of record in file (big-endian)
         0Ch    WORD    logical connection number (big-endian)
         0Eh    BYTE    task number
         0Fh    BYTE    lock type
                        00h none
                        FEh file lock
                        FFh Begin Share File Set lock

See Also: 21E3
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson