[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 21 Fn E3  - Novell Netware - File Server - Get Connection's Open File  [N]

   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

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

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    (big-endian) logical connection number
 05h   WORD    (big-endian) last record seen (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   var array of File Information Records (see below)

Format of File Information Record:
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    (big-endian) directory entry
 07h 14 BYTEs  ASCIZ filename

Bitfields for 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

Bitfields for 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

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson