server/windows/USBEventSvc/OpenSecUSBEventSvcLog/OpenSecUSBEventSvcLog.h
author mb
Wed, 04 Dec 2013 15:00:32 +0100
changeset 10 67b71eb218aa
parent 7 903480cebdfb
permissions -rw-r--r--
added OpenSecUSBEventSvc binaries
     1  // The following are message definitions.
     2 //
     3 //  Values are 32 bit values laid out as follows:
     4 //
     5 //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
     6 //   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
     7 //  +---+-+-+-----------------------+-------------------------------+
     8 //  |Sev|C|R|     Facility          |               Code            |
     9 //  +---+-+-+-----------------------+-------------------------------+
    10 //
    11 //  where
    12 //
    13 //      Sev - is the severity code
    14 //
    15 //          00 - Success
    16 //          01 - Informational
    17 //          10 - Warning
    18 //          11 - Error
    19 //
    20 //      C - is the Customer code flag
    21 //
    22 //      R - is a reserved bit
    23 //
    24 //      Facility - is the facility code
    25 //
    26 //      Code - is the facility's status code
    27 //
    28 //
    29 // Define the facility codes
    30 //
    31 #define FACILITY_SYSTEM                  0x0
    32 #define FACILITY_STUBS                   0x3
    33 #define FACILITY_RUNTIME                 0x2
    34 #define FACILITY_IO_ERROR_CODE           0x4
    35 
    36 
    37 //
    38 // Define the severity codes
    39 //
    40 #define STATUS_SEVERITY_WARNING          0x2
    41 #define STATUS_SEVERITY_SUCCESS          0x0
    42 #define STATUS_SEVERITY_INFORMATIONAL    0x1
    43 #define STATUS_SEVERITY_ERROR            0x3
    44 
    45 
    46 //
    47 // MessageId: SVC_ERROR
    48 //
    49 // MessageText:
    50 //
    51 // %2.
    52 //
    53 #define SVC_ERROR                        ((DWORD)0xC0020001L)
    54 
    55  // A message file must end with a period on its own line
    56  // followed by a blank line.