Int 21 Fn F257 - Novell Netware - Open/create File Or Subdirectory [N]

AX = F257h subfn 01h
CX = length of request buffer in bytes
DX = length of reply buffer in bytes
DS:SI -> request buffer (see #2062)
ES:DI -> reply buffer (see #2063)

Return: AX = status (see #2546 at INT 2F/AX=7A20h/BX=0000h)

See Also: AH=F2h"Novell",AX=6C00h,AX=F257h/SF=02h,AX=F257h/SF=04h

Format of NetWare "Open/Create File or Subdirectory" request packet:
Offset Size Description (Table 2062)
00h BYTE 01h (subfunction "Open/Create File or Subdirectory")
01h BYTE name space (see #2075)
02h BYTE open/create mode
03h WORD search attributes
05h DWORD return information mask
09h DWORD create attributes
0Dh WORD desired access rights (see #2065)
0Fh NetWare handle/path structure

See Also: #2063

Format of NetWare "Open/Create File or Subdirectory" reply packet:
Offset Size Description (Table 2063)
00h DWORD file handle
04h BYTE open/create action
00h open
01h replace
03h create
05h BYTE reserved

See Also: #2062

Format of NetWare Handle/Path structure:
Offset Size Description (Table 2064)
00h BYTE volume number
01h DWORD directory base or short handle
05h BYTE handle flag
00h short directory handle
01h directory base
FFh no handle
06h BYTE path component count
07h N BYTEs path component

Bitfields for NetWare desired access rights:
Bit(s) Description (Table 2065)
0 read-only mode
1 write-only
2 deny read
3 deny write
4 compatibility mode
6 write-through mode

See Also: #2062