00001 /* src/bin/pgevent/pgmsgevent.h */ 00002 00003 /* */ 00004 /* Values are 32 bit values laid out as follows: */ 00005 /* */ 00006 /* 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 */ 00007 /* 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 */ 00008 /* +---+-+-+-----------------------+-------------------------------+ */ 00009 /* |Sev|C|R| Facility | Code | */ 00010 /* +---+-+-+-----------------------+-------------------------------+ */ 00011 /* */ 00012 /* where */ 00013 /* */ 00014 /* Sev - is the severity code */ 00015 /* */ 00016 /* 00 - Success */ 00017 /* 01 - Informational */ 00018 /* 10 - Warning */ 00019 /* 11 - Error */ 00020 /* */ 00021 /* C - is the Customer code flag */ 00022 /* */ 00023 /* R - is a reserved bit */ 00024 /* */ 00025 /* Facility - is the facility code */ 00026 /* */ 00027 /* Code - is the facility's status code */ 00028 /* */ 00029 /* */ 00030 /* Define the facility codes */ 00031 /* */ 00032 00033 00034 /* */ 00035 /* Define the severity codes */ 00036 /* */ 00037 00038 00039 /* */ 00040 /* MessageId: PGWIN32_EVENTLOG_MSG */ 00041 /* */ 00042 /* MessageText: */ 00043 /* */ 00044 /* %1 */ 00045 /* */ 00046 #define PGWIN32_EVENTLOG_MSG 0x00000000L