summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/EA.INC
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/INC/EA.INC')
-rw-r--r--v4.0/src/INC/EA.INC72
1 files changed, 72 insertions, 0 deletions
diff --git a/v4.0/src/INC/EA.INC b/v4.0/src/INC/EA.INC
new file mode 100644
index 0000000..c77cde2
--- /dev/null
+++ b/v4.0/src/INC/EA.INC
@@ -0,0 +1,72 @@
1
2;Get/Set Extended Attrbute Equates
3
4;The following equates are for EA types
5
6EAISUNDEF equ 00H ; undefined
7EAISLOGICAL equ 01H ; logical (0 or 1), 1 byte
8EAISBINARY equ 02H ; binary integer 1, 2, or 4 bytes
9EAISASCII equ 03H ; ASCII , 0 to 128 bytes
10EAISDATE equ 04H ; DOS file date format, 2 bytes
11EAISTIME equ 05H ; DOS file time format, 2 bytes
12
13;The following equates are for EA flags
14
15EASYSTEM equ 8000H ; system defined, bultin
16EAREADONLY equ 4000H ; read-only , cannot be changed
17EAHIDDEN equ 2000H ; hidden from ATTRIB
18EACREATEONLY equ 1000H ; settable only at create time
19
20;The following equates are for EA failure reason code (set by DOS)
21
22EARCSUCCESS equ 00H ; success
23EARCNOTFOUND equ 01H ; name not found
24EARCNOSPACE equ 02H ; no space to hold name or value
25EARCNOTNOW equ 03H ; name can't be set on this function
26EARCNOTEVER equ 04H ; name can't be set
27EARCUNDEF equ 05H ; name known to IFS but not supported
28EARCDEFBAD equ 06H ; EA definition bad (type,length, etc)
29EARCACCESS equ 07H ; EA access denied
30EARCBADVAL equ 08H ; bad value
31EARCDEVERROR equ 09H ; device error
32EARCUNKNOWN equ 0FFFFH ; unknown cause
33
34
35;The following equates are for EA file type
36
37EAEXISTING equ 00H ; existing file
38EARTL equ 02H ; right to left
39EAEXECUTABLE equ 03H ; executable program
40EAINSTALLABLE equ 04H ; installable executable program
41EAOVERLAY equ 05H ; program overlay
42EADEV_DRIVER equ 06H ; device driver
43EAIFS_DRIVER equ 07H ; ifs deriver
44
45
46
47
48By_Create equ 0000010B ; set by Extended Open (create)
49BY_XA equ 0000100B ; set by Get/Set XA by Handle
50
51;Extended Attribute Structure
52
53EA STRUC ; extended attribute list
54EA_TYPE DB ? ; type
55EA_FLAGS DW ? ; flags
56EA_RC DB ? ; reason code
57EA_NAMELEN DB ? ; name length
58EA_VALLEN DW ? ; value length
59EA_NAME DB ? ; name
60EA ENDS
61
62
63;Query Extended Attribute list
64
65QEA STRUC ; extended attribute list
66QEA_TYPE DB ? ; type
67QEA_FLAGS DW ? ; flags
68QEA_NAMELEN DB ? ; name length
69QEA_NAME DB ? ; name
70QEA ENDS
71
72 \ No newline at end of file