dll: add eventlog.mc and related files

This commit is contained in:
Bill Zissimopoulos
2016-05-06 13:15:29 -07:00
parent e53e915a72
commit 12db7cf9dc
8 changed files with 103 additions and 31 deletions

View File

@ -0,0 +1,63 @@
//
// Values are 32 bit values laid out as follows:
//
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
// 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
// +---+-+-+-----------------------+-------------------------------+
// |Sev|C|R| Facility | Code |
// +---+-+-+-----------------------+-------------------------------+
//
// where
//
// Sev - is the severity code
//
// 00 - Success
// 01 - Informational
// 10 - Warning
// 11 - Error
//
// C - is the Customer code flag
//
// R - is a reserved bit
//
// Facility - is the facility code
//
// Code - is the facility's status code
//
//
// Define the facility codes
//
//
// Define the severity codes
//
//
// MessageId: FSP_EVENTLOG_INFORMATION
//
// MessageText:
//
// %1
//
#define FSP_EVENTLOG_INFORMATION 0x60000001L
//
// MessageId: FSP_EVENTLOG_WARNING
//
// MessageText:
//
// %1
//
#define FSP_EVENTLOG_WARNING 0xA0000001L
//
// MessageId: FSP_EVENTLOG_ERROR
//
// MessageText:
//
// %1
//
#define FSP_EVENTLOG_ERROR 0xE0000001L

View File

@ -0,0 +1,20 @@
MessageId=1
Severity=Informational
SymbolicName=FSP_EVENTLOG_INFORMATION
Language=English
%1
.
MessageId=1
Severity=Warning
SymbolicName=FSP_EVENTLOG_WARNING
Language=English
%1
.
MessageId=1
Severity=Error
SymbolicName=FSP_EVENTLOG_ERROR
Language=English
%1
.

View File

@ -0,0 +1,2 @@
LANGUAGE 0x9,0x1
1 11 "eventlog_MSG00001.bin"

Binary file not shown.

View File

@ -0,0 +1,5 @@
@echo off
call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
mc -b -c eventlog.mc