home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / edkmsg.h < prev    next >
Text File  |  1998-04-25  |  5KB  |  185 lines

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