1; // MyEventProvider.mc 2 3; // This is the header section. 4 5 6SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS 7 Informational=0x1:STATUS_SEVERITY_INFORMATIONAL 8 Warning=0x2:STATUS_SEVERITY_WARNING 9 Error=0x3:STATUS_SEVERITY_ERROR 10 ) 11 12 13FacilityNames=(System=0x0:FACILITY_SYSTEM 14 Runtime=0x2:FACILITY_RUNTIME 15 Stubs=0x3:FACILITY_STUBS 16 Io=0x4:FACILITY_IO_ERROR_CODE 17 ) 18 19LanguageNames=(English=0x409:MSG00409) 20 21 22; // The following are the categories of events. 23 24MessageIdTypedef=WORD 25 26MessageId=0x1 27SymbolicName=NETWORK_CATEGORY 28Language=English 29Network Events 30. 31 32MessageId=0x2 33SymbolicName=DATABASE_CATEGORY 34Language=English 35Database Events 36. 37 38MessageId=0x3 39SymbolicName=UI_CATEGORY 40Language=English 41UI Events 42. 43 44 45; // The following are the message definitions. 46 47MessageIdTypedef=DWORD 48 49MessageId=0x100 50Severity=Error 51Facility=Runtime 52SymbolicName=MSG_INVALID_COMMAND 53Language=English 54The command is not valid. 55. 56 57 58MessageId=0x101 59Severity=Error 60Facility=System 61SymbolicName=MSG_BAD_FILE_CONTENTS 62Language=English 63File %1 contains content that is not valid. 64. 65 66MessageId=0x102 67Severity=Warning 68Facility=System 69SymbolicName=MSG_RETRIES 70Language=English 71There have been %1 retries with %2 success! Disconnect from 72the server and try again later. 73. 74 75MessageId=0x103 76Severity=Informational 77Facility=System 78SymbolicName=MSG_COMPUTE_CONVERSION 79Language=English 80%1 %%4096 = %2 %%4097. 81. 82 83 84; // The following are the parameter strings */ 85 86 87MessageId=0x1000 88Severity=Success 89Facility=System 90SymbolicName=QUARTS_UNITS 91Language=English 92quarts%0 93. 94 95MessageId=0x1001 96Severity=Success 97Facility=System 98SymbolicName=GALLONS_UNITS 99Language=English 100gallons%0 101. 102 103