]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/CMD/ATTRIB/MSGRET.H

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / CMD / ATTRIB / MSGRET.H
1 /* \ f */
2 /*----------------------------------------------------------------------+
3 | |
4 | This file contains the structures and defines that are needed to use |
5 | the message retriever from a C program. |
6 | |
7 | |
8 | Date: 6-19-87 |
9 | |
10 +----------------------------------------------------------------------*/
11
12
13 #define utility_msg_class 0xff /*;AN000; Utility message type */
14 #define exterr_msg_class 0x01 /*;AN000;*/
15
16
17 /* Sublist Flag Values */
18
19 /* Alignment Indicator */
20 #define sf_left 0x00 /*;AN000; left align */
21 #define sf_right 0x80 /*;AN000; right align */
22
23 /* Field Type */
24 #define sf_char 0x00 /*;AN000; character */
25 #define sf_unsbin2d 0x01 /*;AN000; unsigned binary to decimal */
26 #define sf_sbin 0x02 /*;AN000; signed binary to decimal */
27 #define sf_unsbin2h 0x03 /*;AN000; unsigned binary to hex */
28 #define sf_date 0x04 /*;AN000; date */
29 #define sf_time12 0x05 /*;AN000; time 12-hour */
30 #define sf_time24 0x06 /*;AN000; time 24-hour */
31
32
33 /* Data Variable Size */
34
35 #define sf_ch 0x00 /*;AN000; single character */
36 #define sf_asciiz 0x10 /*;AN000; asciiz string */
37 #define sf_byte 0x10 /*;AN000; byte */
38 #define sf_word 0x20 /*;AN000; word */
39 #define sf_dword 0x30 /*;AN000; double word */
40
41 #define sf_mdy2 0x20 /*;AN000; month,day,year (2 digits) */
42 #define sf_mdy4 0x30 /*;AN000; month,day,year (4 digits) */
43
44 #define sf_hhmm 0x00 /*;AN000; hh:mm */
45 #define sf_hhmmss 0x10 /*;AN000; hh:mm:ss */
46 #define sf_hhmmsshh 0x20 /*;AN000; hh:mm:ss:hh */
47
48
49 struct m_sublist /*;AN000; */
50 { /*;AN000; */
51 BYTE sub_size; /*;AN000; */
52 BYTE sub_res; /*;AN000; */
53 WORD sub_value; /*;AN000; */
54 WORD sub_value_seg; /*;AN000; */
55 BYTE sub_id; /*;AN000; */
56 BYTE sub_flags; /*;AN000; */
57 BYTE sub_max_width; /*;AN000; */
58 BYTE sub_min_width; /*;AN000; */
59 BYTE sub_pad_char; /*;AN000; */
60 }; /*;AN000; */