1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/server/windows/USBEventSvc/OpenSecUSBEventSvcLog/OpenSecUSBEventSvcLog.h Tue Dec 03 18:04:46 2013 +0100
1.3 @@ -0,0 +1,56 @@
1.4 + // The following are message definitions.
1.5 +//
1.6 +// Values are 32 bit values laid out as follows:
1.7 +//
1.8 +// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
1.9 +// 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
1.10 +// +---+-+-+-----------------------+-------------------------------+
1.11 +// |Sev|C|R| Facility | Code |
1.12 +// +---+-+-+-----------------------+-------------------------------+
1.13 +//
1.14 +// where
1.15 +//
1.16 +// Sev - is the severity code
1.17 +//
1.18 +// 00 - Success
1.19 +// 01 - Informational
1.20 +// 10 - Warning
1.21 +// 11 - Error
1.22 +//
1.23 +// C - is the Customer code flag
1.24 +//
1.25 +// R - is a reserved bit
1.26 +//
1.27 +// Facility - is the facility code
1.28 +//
1.29 +// Code - is the facility's status code
1.30 +//
1.31 +//
1.32 +// Define the facility codes
1.33 +//
1.34 +#define FACILITY_SYSTEM 0x0
1.35 +#define FACILITY_STUBS 0x3
1.36 +#define FACILITY_RUNTIME 0x2
1.37 +#define FACILITY_IO_ERROR_CODE 0x4
1.38 +
1.39 +
1.40 +//
1.41 +// Define the severity codes
1.42 +//
1.43 +#define STATUS_SEVERITY_WARNING 0x2
1.44 +#define STATUS_SEVERITY_SUCCESS 0x0
1.45 +#define STATUS_SEVERITY_INFORMATIONAL 0x1
1.46 +#define STATUS_SEVERITY_ERROR 0x3
1.47 +
1.48 +
1.49 +//
1.50 +// MessageId: SVC_ERROR
1.51 +//
1.52 +// MessageText:
1.53 +//
1.54 +// An error has occurred (%2).
1.55 +//
1.56 +#define SVC_ERROR ((DWORD)0xC0020001L)
1.57 +
1.58 + // A message file must end with a period on its own line
1.59 + // followed by a blank line.