- Update to r53061
[reactos.git] / drivers / filesystems / ext2 / inc / errmsg.h
1 /*************************************************************************
2 *
3 * File: errmsg.msg
4 *
5 * Product: Ext2 FSD
6 *
7 * Module: Ext2 FSD Event Log Messages
8 *
9 * Description:
10 * Contains error strings in a format understandable to the message compiler.
11 * Please compile (using mc) with the -c option which will set the
12 * "Customer" bit in all errors.
13 * Use values beginning at 0xA000 (e.g. 0xA001) for the Ext2 FSD
14 * errors.
15 * Do NOT use %1 for insertion strings. The I/O manager assumes that
16 * the first insertion string is the name of the driver/device.
17 *
18 *
19 *************************************************************************/
20 //
21 // Values are 32 bit values layed out as follows:
22 //
23 // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
24 // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
25 // +---+-+-+-----------------------+-------------------------------+
26 // |Sev|C|R| Facility | Code |
27 // +---+-+-+-----------------------+-------------------------------+
28 //
29 // where
30 //
31 // Sev - is the severity code
32 //
33 // 00 - Success
34 // 01 - Informational
35 // 10 - Warning
36 // 11 - Error
37 //
38 // C - is the Customer code flag
39 //
40 // R - is a reserved bit
41 //
42 // Facility - is the facility code
43 //
44 // Code - is the facility's status code
45 //
46 //
47 // Define the facility codes
48 //
49
50
51 //
52 // Define the severity codes
53 //
54 #define STATUS_SEVERITY_WARNING 0x2
55 #define STATUS_SEVERITY_SUCCESS 0x0
56 #define STATUS_SEVERITY_INFORMATIONAL 0x1
57 #define STATUS_SEVERITY_ERROR 0x3
58
59
60 //
61 // MessageId: EXT2_ERROR_INTERNAL_ERROR
62 //
63 // MessageText:
64 //
65 // The Ext2 FSD encountered an internal error. Please check log data information.
66 //
67 #define EXT2_ERROR_INTERNAL_ERROR ((ULONG)0xE004A001L)
68