]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/INC/FILEMODE.INC

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / INC / FILEMODE.INC
1 ; SCCSID = @(#)filemode.asm 1.1 85/04/10
2 ; SCCSID = @(#)filemode.asm 1.1 85/04/10
3 BREAK <Standard I/O assignments>
4
5 stdin EQU 0
6 stdout EQU 1
7 stderr EQU 2
8 stdaux EQU 3
9 stdprn EQU 4
10
11 BREAK <File modes>
12
13 access_mask EQU 0FH
14 open_for_read EQU 00h
15 open_for_write EQU 01h
16 open_for_both EQU 02h
17
18 sharing_mask EQU 0F0H
19 sharing_compat EQU 000H
20 sharing_deny_both EQU 010H
21 sharing_deny_write EQU 020H
22 sharing_deny_read EQU 030H
23 sharing_deny_none EQU 040H
24 sharing_net_FCB EQU 070h
25 sharing_no_inherit EQU 080H
26
27 BREAK <Extended Open>
28
29 no_code_page_check EQU 0100H
30 int_24_error EQU 2000H
31 auto_commit_write EQU 4000H
32 ext_open_on EQU 01H
33 ext_file_not_exists EQU 04H
34 ext_open_I24_off EQU 02H
35 io_mode_id EQU 00000010B
36 reserved_bits_mask EQU 0FE00H
37 exists_mask EQU 0FH
38 not_exists_mask EQU 0F0H
39 action_opened EQU 01H
40 action_created_opened EQU 02H
41 action_replaced_opened EQU 03H
42
43 ext_exists_open EQU 01H
44 ext_exists_fail EQU 0H
45 ext_nexists_create EQU 10H
46
47
48
49 ext_open_parm struc
50 ext_set_list dd ?
51 ext_num_of_parm dw ?
52 ext_open_parm ends
53
54
55
56 \1a