home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / edkmsg.h < prev    next >
C/C++ Source or Header  |  2000-02-01  |  5KB  |  187 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2. // --edkmsg.mc-----------------------------------------------------------------
  3. //
  4. //  This file contains the messages common to the entire EDK.
  5. //
  6. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  7. // ----------------------------------------------------------------------------
  8. //
  9. //
  10. // Message Naming Convention
  11. // -------------------------
  12. //
  13. // Each message has a symbolic name that becomes a #define'ed constant for 
  14. // use in a .C file.  A message's symbolic name should follow this naming 
  15. // convention:
  16. // 
  17. // <COMPONENT>_<MESSAGE_DESCRIPTION>
  18. //
  19. // If a message is used by more than one library and/or application, then 
  20. // <COMPONENT> should be "EDKEVENT".
  21. //
  22. // The <MESSAGE_DESCRIPTION> portion of the name describes what the message 
  23. // is about.  For example, a message called EDKEVENT_INVALID_HEX_DIGIT could 
  24. // indicate that an illegal hexidecimal digit was found.
  25. //
  26. // Only the first message in this file should have a Message ID number--
  27. // the message compiler will then assign consecutive numbers to the rest.
  28. //
  29. //
  30. // Generic Information message allowing user to fill in text or error code.
  31. //
  32. //  Values are 32 bit values layed out as follows:
  33. //
  34. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  35. //   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
  36. //  +---+-+-+-----------------------+-------------------------------+
  37. //  |Sev|C|R|     Facility          |               Code            |
  38. //  +---+-+-+-----------------------+-------------------------------+
  39. //
  40. //  where
  41. //
  42. //      Sev - is the severity code
  43. //
  44. //          00 - Success
  45. //          01 - Informational
  46. //          10 - Warning
  47. //          11 - Error
  48. //
  49. //      C - is the Customer code flag
  50. //
  51. //      R - is a reserved bit
  52. //
  53. //      Facility - is the facility code
  54. //
  55. //      Code - is the facility's status code
  56. //
  57. //
  58. // Define the facility codes
  59. //
  60.  
  61.  
  62. //
  63. // Define the severity codes
  64. //
  65.  
  66.  
  67. //
  68. // MessageId: EDKEVENT_INFORMATION
  69. //
  70. // MessageText:
  71. //
  72. //  %1
  73. //
  74. #define EDKEVENT_INFORMATION             ((DWORD)0x60000000L)
  75.  
  76. // Generic Warning message allowing user to fill in text or error code.
  77. //
  78. // MessageId: EDKEVENT_WARNING
  79. //
  80. // MessageText:
  81. //
  82. //  %1
  83. //
  84. #define EDKEVENT_WARNING                 ((DWORD)0xA0000001L)
  85.  
  86. // Generic Error message allowing user to fill in text or error code.
  87. //
  88. // MessageId: EDKEVENT_ERROR
  89. //
  90. // MessageText:
  91. //
  92. //  %1
  93. //
  94. #define EDKEVENT_ERROR                   ((DWORD)0xE0000002L)
  95.  
  96. //
  97. // MessageId: WINWRAP_SERVICE_STARTING
  98. //
  99. // MessageText:
  100. //
  101. //  Service starting.
  102. //
  103. #define WINWRAP_SERVICE_STARTING         ((DWORD)0x60000003L)
  104.  
  105. //
  106. // MessageId: WINWRAP_SERVICE_STARTED
  107. //
  108. // MessageText:
  109. //
  110. //  Service started.
  111. //
  112. #define WINWRAP_SERVICE_STARTED          ((DWORD)0x60000004L)
  113.  
  114. //
  115. // MessageId: WINWRAP_SERVICE_STOPPING
  116. //
  117. // MessageText:
  118. //
  119. //  Service stopping.
  120. //
  121. #define WINWRAP_SERVICE_STOPPING         ((DWORD)0x60000005L)
  122.  
  123. //
  124. // MessageId: WINWRAP_SERVICE_STOPPED
  125. //
  126. // MessageText:
  127. //
  128. //  Service stopped.
  129. //
  130. #define WINWRAP_SERVICE_STOPPED          ((DWORD)0x60000006L)
  131.  
  132. //
  133. // MessageId: EDKEVENT_CANNOT_INIT_MAPI
  134. //
  135. // MessageText:
  136. //
  137. //  Unable to initialize MAPI.
  138. //
  139. #define EDKEVENT_CANNOT_INIT_MAPI        ((DWORD)0xE0000007L)
  140.  
  141. //
  142. // MessageId: MESGXLAT_CNV_CONVERT_FAIL
  143. //
  144. // MessageText:
  145. //
  146. //  %1 conversion DLL convert function failed:  point = %2, class = %3, error code = %4.
  147. //
  148. #define MESGXLAT_CNV_CONVERT_FAIL        ((DWORD)0xE0000008L)
  149.  
  150. //
  151. // MessageId: MESGXLAT_CNV_NO_CANDIDATE
  152. //
  153. // MessageText:
  154. //
  155. //  No conversion DLL candidate found for point = %1 and class = %2.
  156. //
  157. #define MESGXLAT_CNV_NO_CANDIDATE        ((DWORD)0xE0000009L)
  158.  
  159. //
  160. // MessageId: MESGXLAT_CNV_NO_ACCEPT
  161. //
  162. // MessageText:
  163. //
  164. //  Candidate conversion DLL %1 rejected conversion for point = %2, class = %3.  Error code = %4.
  165. //
  166. #define MESGXLAT_CNV_NO_ACCEPT           ((DWORD)0xE000000AL)
  167.  
  168. //
  169. // MessageId: MESGXLAT_CNV_QUERY_FAIL
  170. //
  171. // MessageText:
  172. //
  173. //  Conversion DLL %1 query function failed:  point = %2, class = %3.  Error code = %4.
  174. //
  175. #define MESGXLAT_CNV_QUERY_FAIL          ((DWORD)0xE000000BL)
  176.  
  177. //
  178. // MessageId: MESGXLAT_CNV_BAD_SYNTAX
  179. //
  180. // MessageText:
  181. //
  182. //  Invalid registry key values for MAPI Conversion DLL %1:  entry point = %2 class = %3, options = %4, point = %5.
  183. //
  184. #define MESGXLAT_CNV_BAD_SYNTAX          ((DWORD)0xE000000CL)
  185.  
  186. #pragma option pop /*P_O_Pop*/
  187.