1 #pragma once
2 
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 #define MM_HARD 1
8 #define MM_SOFT 2
9 #define MM_FIRM 4
10 
11 #define MM_APPL 8
12 #define MM_UTIL 16
13 #define MM_OPSYS 32
14 
15 #define MM_RECOVER 64
16 #define MM_NRECOV 128
17 
18 #define MM_PRINT 256
19 #define MM_CONSOLE 512
20 
21 #define MM_NULLMC 0L
22 
23 #define MM_HALT 1
24 #define MM_ERROR 2
25 #define MM_WARNING 3
26 #define MM_INFO 4
27 #define MM_NOSEV 0
28 
29 #define MM_OK 0
30 #define MM_NOTOK (-1)
31 #define MM_NOMSG 1
32 #define MM_NOCON 4
33 
34 #define MM_NULLLBL ((char*)0)
35 #define MM_NULLTXT ((char*)0)
36 #define MM_NULLACT ((char*)0)
37 #define MM_NULLTAG ((char*)0)
38 #define MM_NULLSEV 0
39 
40 int fmtmsg(long, const char*, int, const char*, const char*, const char*);
41 
42 #ifdef __cplusplus
43 }
44 #endif
45