xref: /reactos/drivers/filesystems/udfs/errmsg.h (revision c2c66aff)
1 ////////////////////////////////////////////////////////////////////
2 // Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
3 // All rights reserved
4 // This file was released under the GPLv2 on June 2015.
5 ////////////////////////////////////////////////////////////////////
6 /*************************************************************************
7 *
8 * File:     errmsg.msg
9 *
10 * Product:      UDF FSD
11 *
12 * Module:       UDF FSD Event Log Messages
13 *
14 * Description:
15 *     Contains error strings in a format understandable to the message compiler.
16 *     Please compile (using mc) with the -c option which will set the
17 *     "Customer" bit in all errors.
18 *     Use values beginning at 0xA000 (e.g. 0xA001) for the UDF FSD
19 *     errors.
20 *     Do NOT use %1 for insertion strings. The I/O manager assumes that
21 *     the first insertion string is the name of the driver/device.
22 *
23 *************************************************************************/
24 //
25 //  Values are 32 bit values layed out as follows:
26 //
27 //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
28 //   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
29 //  +---+-+-+-----------------------+-------------------------------+
30 //  |Sev|C|R|     Facility          |               Code            |
31 //  +---+-+-+-----------------------+-------------------------------+
32 //
33 //  where
34 //
35 //      Sev - is the severity code
36 //
37 //          00 - Success
38 //          01 - Informational
39 //          10 - Warning
40 //          11 - Error
41 //
42 //      C - is the Customer code flag
43 //
44 //      R - is a reserved bit
45 //
46 //      Facility - is the facility code
47 //
48 //      Code - is the facility's status code
49 //
50 //
51 // Define the facility codes
52 //
53 
54 
55 //
56 // Define the severity codes
57 //
58 #define STATUS_SEVERITY_WARNING          0x2
59 #define STATUS_SEVERITY_SUCCESS          0x0
60 #define STATUS_SEVERITY_INFORMATIONAL    0x1
61 #define STATUS_SEVERITY_ERROR            0x3
62 
63 
64 //
65 // MessageId: UDF_ERROR_INTERNAL_ERROR
66 //
67 // MessageText:
68 //
69 //  The UDF FSD encountered an internal error. Please check log data information.
70 //
71 #define UDF_ERROR_INTERNAL_ERROR        ((ULONG)0xE004A001L)
72 
73