home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / image / drwatson / messages.h < prev    next >
Text File  |  1998-03-30  |  9KB  |  500 lines

  1. /*++ BUILD Version: 0001    // Increment this if a change has global effects
  2.  
  3. Copyright (c) 1993  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     messages.mc
  8.  
  9. Abstract:
  10.  
  11.     This file contains the message definitions for the Win32 DrWatson
  12.     program.
  13.  
  14. Author:
  15.  
  16.     Wesley Witt (wesw) 20-April-1993
  17.  
  18. Revision History:
  19.  
  20. Notes:
  21.  
  22. --*/
  23.  
  24. //
  25. //  Values are 32 bit values layed out as follows:
  26. //
  27. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  28. //   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
  29. //  +---+-+-+-----------------------+-------------------------------+
  30. //  |Sev|C|R|     Facility          |               Code            |
  31. //  +---+-+-+-----------------------+-------------------------------+
  32. //
  33. //  where
  34. //
  35. //      Sev - is the severity code
  36. //
  37. //          00 - Success
  38. //          01 - Informational
  39. //          10 - Warning
  40. //          11 - Error
  41. //
  42. //      C - is the Customer code flag
  43. //
  44. //      R - is a reserved bit
  45. //
  46. //      Facility - is the facility code
  47. //
  48. //      Code - is the facility's status code
  49. //
  50. //
  51. // Define the facility codes
  52. //
  53.  
  54.  
  55. //
  56. // Define the severity codes
  57. //
  58. #define STATUS_SEVERITY_WARNING          0x2
  59. #define STATUS_SEVERITY_SUCCESS          0x0
  60. #define STATUS_SEVERITY_INFORMATIONAL    0x1
  61. #define STATUS_SEVERITY_ERROR            0x3
  62.  
  63.  
  64. //
  65. // MessageId: MSG_CRASH
  66. //
  67. // MessageText:
  68. //
  69. //  The application, %1!s!, generated an application error
  70. //  The error occurred on %2!s!/%3!s!/%4!s! @ %5!s!:%6!s!:%7!s!.%8!s!
  71. //  The exception generated was %9!s! at address %10!s! (%11!s!)
  72. //
  73. #define MSG_CRASH                        0x40001001L
  74.  
  75. //
  76. // MessageId: MSG_INVALID_DEBUG_EVENT
  77. //
  78. // MessageText:
  79. //
  80. //  Invalid debug event %1!08x!
  81. //
  82. #define MSG_INVALID_DEBUG_EVENT          0x80001002L
  83.  
  84. //
  85. // MessageId: MSG_APP_EXCEPTION
  86. //
  87. // MessageText:
  88. //
  89. //  
  90. //  
  91. //  Application exception occurred:
  92. //
  93. #define MSG_APP_EXCEPTION                0x40001003L
  94.  
  95. //
  96. // MessageId: MSG_APP_EXEP_NAME
  97. //
  98. // MessageText:
  99. //
  100. //          App: %1!s! (pid=%2!s!)
  101. //
  102. #define MSG_APP_EXEP_NAME                0x40001004L
  103.  
  104. //
  105. // MessageId: MSG_APP_EXEP_WHEN
  106. //
  107. // MessageText:
  108. //
  109. //          When: %1!s! @ %2!s!
  110. //
  111. #define MSG_APP_EXEP_WHEN                0x40001005L
  112.  
  113. //
  114. // MessageId: MSG_EXCEPTION_NUMBER
  115. //
  116. // MessageText:
  117. //
  118. //          Exception number: %1!s! %0
  119. //
  120. #define MSG_EXCEPTION_NUMBER             0x40001006L
  121.  
  122. //
  123. // MessageId: MSG_SINGLE_STEP_EXCEPTION
  124. //
  125. // MessageText:
  126. //
  127. //  single step exception%0
  128. //
  129. #define MSG_SINGLE_STEP_EXCEPTION        0x40001007L
  130.  
  131. //
  132. // MessageId: MSG_CONTROLC_EXCEPTION
  133. //
  134. // MessageText:
  135. //
  136. //  control-c exception%0
  137. //
  138. #define MSG_CONTROLC_EXCEPTION           0x40001008L
  139.  
  140. //
  141. // MessageId: MSG_CONTROL_BRK_EXCEPTION
  142. //
  143. // MessageText:
  144. //
  145. //  control-break exception%0
  146. //
  147. #define MSG_CONTROL_BRK_EXCEPTION        0x40001009L
  148.  
  149. //
  150. // MessageId: MSG_ACCESS_VIOLATION_EXCEPTION
  151. //
  152. // MessageText:
  153. //
  154. //  access violation%0
  155. //
  156. #define MSG_ACCESS_VIOLATION_EXCEPTION   0x4000100AL
  157.  
  158. //
  159. // MessageId: MSG_IN_PAGE_IO_EXCEPTION
  160. //
  161. // MessageText:
  162. //
  163. //  in page io error%0
  164. //
  165. #define MSG_IN_PAGE_IO_EXCEPTION         0x4000100BL
  166.  
  167. //
  168. // MessageId: MSG_DATATYPE_EXCEPTION
  169. //
  170. // MessageText:
  171. //
  172. //  datatype misalignment%0
  173. //
  174. #define MSG_DATATYPE_EXCEPTION           0x4000100CL
  175.  
  176. //
  177. // MessageId: MSG_DEADLOCK_EXCEPTION
  178. //
  179. // MessageText:
  180. //
  181. //  possible deadlock%0
  182. //
  183. #define MSG_DEADLOCK_EXCEPTION           0x4000100DL
  184.  
  185. //
  186. // MessageId: MSG_VDM_EXCEPTION
  187. //
  188. // MessageText:
  189. //
  190. //  vdm event%0
  191. //
  192. #define MSG_VDM_EXCEPTION                0x4000100EL
  193.  
  194. //
  195. // MessageId: MSG_MODULE_LIST
  196. //
  197. // MessageText:
  198. //
  199. //  *----> Module List <----*
  200. //
  201. #define MSG_MODULE_LIST                  0x4000100FL
  202.  
  203. //
  204. // MessageId: MSG_STATE_DUMP
  205. //
  206. // MessageText:
  207. //
  208. //  State Dump for Thread Id 0x%1!s!
  209. //  
  210. //
  211. #define MSG_STATE_DUMP                   0x40001011L
  212.  
  213. //
  214. // MessageId: MSG_FUNCTION
  215. //
  216. // MessageText:
  217. //
  218. //  function: %1!s!
  219. //
  220. #define MSG_FUNCTION                     0x40001012L
  221.  
  222. //
  223. // MessageId: MSG_FAULT
  224. //
  225. // MessageText:
  226. //
  227. //  FAULT ->%0
  228. //
  229. #define MSG_FAULT                        0x40001013L
  230.  
  231. //
  232. // MessageId: MSG_STACKTRACE_FAIL
  233. //
  234. // MessageText:
  235. //
  236. //  Could not do a stack back trace
  237. //
  238. #define MSG_STACKTRACE_FAIL              0x40001014L
  239.  
  240. //
  241. // MessageId: MSG_STACKTRACE
  242. //
  243. // MessageText:
  244. //
  245. //  *----> Stack Back Trace <----*
  246. //  
  247. //  FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
  248. //
  249. #define MSG_STACKTRACE                   0x40001015L
  250.  
  251. //
  252. // MessageId: MSG_STACKTRACE_HEADER
  253. //
  254. // MessageText:
  255. //
  256. //  RetAddr  FramePtr Param#1  Param#2  Param#3  Param#4
  257. //
  258. #define MSG_STACKTRACE_HEADER            0x40001016L
  259.  
  260. //
  261. // MessageId: MSG_SYSINFO_HEADER
  262. //
  263. // MessageText:
  264. //
  265. //  *----> System Information <----*
  266. //
  267. #define MSG_SYSINFO_HEADER               0x40001018L
  268.  
  269. //
  270. // MessageId: MSG_SYSINFO_COMPUTER
  271. //
  272. // MessageText:
  273. //
  274. //          Computer Name: %1!s!
  275. //
  276. #define MSG_SYSINFO_COMPUTER             0x40001019L
  277.  
  278. //
  279. // MessageId: MSG_SYSINFO_USER
  280. //
  281. // MessageText:
  282. //
  283. //          User Name: %1!s!
  284. //
  285. #define MSG_SYSINFO_USER                 0x4000101AL
  286.  
  287. //
  288. // MessageId: MSG_SYSINFO_NUM_PROC
  289. //
  290. // MessageText:
  291. //
  292. //          Number of Processors: %1!s!
  293. //
  294. #define MSG_SYSINFO_NUM_PROC             0x4000101BL
  295.  
  296. //
  297. // MessageId: MSG_SYSINFO_PROC_TYPE
  298. //
  299. // MessageText:
  300. //
  301. //          Processor Type: %1!s!
  302. //
  303. #define MSG_SYSINFO_PROC_TYPE            0x4000101CL
  304.  
  305. //
  306. // MessageId: MSG_SYSINFO_UNKNOWN
  307. //
  308. // MessageText:
  309. //
  310. //  Unknown Processor Type
  311. //
  312. #define MSG_SYSINFO_UNKNOWN              0x40001024L
  313.  
  314. //
  315. // MessageId: MSG_SYSINFO_WINVER
  316. //
  317. // MessageText:
  318. //
  319. //          Windows Version: %1!s!
  320. //
  321. #define MSG_SYSINFO_WINVER               0x40001025L
  322.  
  323. //
  324. // MessageId: MSG_BANNER
  325. //
  326. // MessageText:
  327. //
  328. //  Microsoft (R) Windows NT (TM) Version 4.00 DrWtsn32
  329. //  Copyright (C) 1985-1996 Microsoft Corp. All rights reserved.
  330. //
  331. #define MSG_BANNER                       0x40001026L
  332.  
  333. //
  334. // MessageId: MSG_FATAL_ERROR
  335. //
  336. // MessageText:
  337. //
  338. //  %1!s!
  339. //  
  340. //  Windows NT Error Code = %2!s!
  341. //
  342. #define MSG_FATAL_ERROR                  0x40001027L
  343.  
  344. //
  345. // MessageId: MSG_TASK_LIST
  346. //
  347. // MessageText:
  348. //
  349. //  *----> Task List <----*
  350. //
  351. #define MSG_TASK_LIST                    0x40001028L
  352.  
  353. //
  354. // MessageId: MSG_SYMBOL_TABLE
  355. //
  356. // MessageText:
  357. //
  358. //  *----> Symbol Table <----*
  359. //
  360. #define MSG_SYMBOL_TABLE                 0x40001029L
  361.  
  362. //
  363. // MessageId: MSG_STACK_DUMP_HEADER
  364. //
  365. // MessageText:
  366. //
  367. //  *----> Raw Stack Dump <----*
  368. //
  369. #define MSG_STACK_DUMP_HEADER            0x40001030L
  370.  
  371. //
  372. // MessageId: MSG_CURRENT_BUILD
  373. //
  374. // MessageText:
  375. //
  376. //          Current Build: %1!s!
  377. //
  378. #define MSG_CURRENT_BUILD                0x40001031L
  379.  
  380. //
  381. // MessageId: MSG_CURRENT_TYPE
  382. //
  383. // MessageText:
  384. //
  385. //          Current Type: %1!s!
  386. //
  387. #define MSG_CURRENT_TYPE                 0x40001032L
  388.  
  389. //
  390. // MessageId: MSG_REG_ORGANIZATION
  391. //
  392. // MessageText:
  393. //
  394. //          Registered Organization: %1!s!
  395. //
  396. #define MSG_REG_ORGANIZATION             0x40001033L
  397.  
  398. //
  399. // MessageId: MSG_REG_OWNER
  400. //
  401. // MessageText:
  402. //
  403. //          Registered Owner: %1!s!
  404. //
  405. #define MSG_REG_OWNER                    0x40001034L
  406.  
  407. //
  408. // MessageId: MSG_USAGE
  409. //
  410. // MessageText:
  411. //
  412. //  
  413. //  Microsoft(R) Windows NT DrWtsn32 Version 4.00
  414. //  (C) 1989-1996 Microsoft Corp. All rights reserved
  415. //  
  416. //  Usage: drwtsn32 [-i] [-g] [-p pid] [-e event] [-?]
  417. //  
  418. //      -i          Install DrWtsn32 as the default application error debugger
  419. //      -g          Ignored but provided as compatibility with WINDBG and NTSD
  420. //      -p pid      Process id to debug
  421. //      -e event    Event to signal for process attach completion
  422. //      -?          This screen
  423. //  
  424. //
  425. #define MSG_USAGE                        0x40001035L
  426.  
  427. //
  428. // MessageId: MSG_INSTALL_NOTIFY
  429. //
  430. // MessageText:
  431. //
  432. //  
  433. //  Dr. Watson has been installed as the default application debugger
  434. //
  435. #define MSG_INSTALL_NOTIFY               0x40001036L
  436.  
  437. //
  438. // MessageId: MSG_STACK_OVERFLOW_EXCEPTION
  439. //
  440. // MessageText:
  441. //
  442. //  stack overflow%0
  443. //
  444. #define MSG_STACK_OVERFLOW_EXCEPTION     0x40001037L
  445.  
  446. //
  447. // MessageId: MSG_PRIVILEGED_INSTRUCTION_EXCEPTION
  448. //
  449. // MessageText:
  450. //
  451. //  privileged instruction%0
  452. //
  453. #define MSG_PRIVILEGED_INSTRUCTION_EXCEPTION 0x40001038L
  454.  
  455. //
  456. // MessageId: MSG_INTEGER_DIVIDE_BY_ZERO_EXCEPTION
  457. //
  458. // MessageText:
  459. //
  460. //  divide by zero%0
  461. //
  462. #define MSG_INTEGER_DIVIDE_BY_ZERO_EXCEPTION 0x40001039L
  463.  
  464. //
  465. // MessageId: MSG_BREAKPOINT_EXCEPTION
  466. //
  467. // MessageText:
  468. //
  469. //  hardcoded breakpoint%0
  470. //
  471. #define MSG_BREAKPOINT_EXCEPTION         0x40001040L
  472.  
  473. //
  474. // MessageId: MSG_ILLEGAL_INSTRUCTION_EXCEPTION
  475. //
  476. // MessageText:
  477. //
  478. //  illegal instruction%0
  479. //
  480. #define MSG_ILLEGAL_INSTRUCTION_EXCEPTION 0x40001041L
  481.  
  482. //
  483. // MessageId: MSG_CANT_ACCESS_IMAGE
  484. //
  485. // MessageText:
  486. //
  487. //  Cannot access the image file (%1!s!)
  488. //
  489. #define MSG_CANT_ACCESS_IMAGE            0x40001042L
  490.  
  491. //
  492. // MessageId: MSG_CSD_VERSION
  493. //
  494. // MessageText:
  495. //
  496. //          Service Pack: %1!s!
  497. //
  498. #define MSG_CSD_VERSION                  0x40001043L
  499.  
  500.