Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

566 lines
19 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. mcaia64.mof
  5. Abstract:
  6. This file defines the permament subscriptions needed to reflect
  7. the WMI MCA events into the eventlog.
  8. Revision History:
  9. --*/
  10. //
  11. // Machine Check Abort
  12. //
  13. #if defined(_IA64_)
  14. //
  15. // Define the permament eventlog event subscriptions
  16. //
  17. // The WMI eventlog consumer provider is a facility that is built into WMI
  18. // that will generate an eventlog message whenever a specific WMI event is
  19. // received. This can be useful to circumvent the limited size of an eventlog
  20. // that can be generated from kernel mode.
  21. //
  22. // In order to set this up you need an instnace of an __EventFilter, an
  23. // instance of an NTEventLogEventConsumer and an instance of
  24. // __FilterToConsumerBinding.
  25. //
  26. // __EventFilter describes the WQL query that specifies a set of events that
  27. // trigger generation of an eventlog.
  28. //
  29. // NTEventLogEventConsumer describes the type of eventlog event that should
  30. // be generated and some of the parameters for the eventlog. In general the
  31. // properties follow the parameters of the ReportEvent api. The
  32. // InsertionStringTemplates property is an array of strings that specify
  33. // what strings should be used as replacable parameters in the eventlog
  34. // message. If the string is withing % then it specifies that the value for
  35. // the replacable string should come from that property in the event that
  36. // triggered the eventlog generation. The NameOfRawDataProperty property
  37. // specifies the property from the event that triggered the eventlog
  38. // generation whose value is used as the additional data in the
  39. // generated eventlog.
  40. //
  41. // __FilterToConsumerBinding specifies a binding between the __EventFilter
  42. // instance and the NTEventLogEventConsumer instance. Basically it assigns
  43. // which eventlog should be generated from which event triggers.
  44. //
  45. // Note that this macro should be used only within the root\subscriptions
  46. // namespace.
  47. //
  48. //
  49. // UNIQUE_NAME must be a universally unique within the root\subscription
  50. // namespace. It is a unique name the event to eventlog
  51. // instances.
  52. //
  53. // QUNIQUE_NAME is the same as UNIQUE_NAME except it is surrounded by
  54. // double quotes
  55. //
  56. // EVENT_TYPE is the eventlog id for the eventlog that is generated
  57. //
  58. // QUERY is the WQL that when succeeded will trigger eventlog generation
  59. //
  60. // SOURCE is the name of the eventlog source which is used to generate the
  61. // eventlog
  62. //
  63. // EXTRA_DATA is the name of the property in the trigger event whose value
  64. // is used as the additional data within the eventlog
  65. //
  66. // INSERTION_STRING_COUNT is the number of eventlog insertion strings
  67. //
  68. // INSERTION1 to INSERTION5 is the insertion string text for each insertion
  69. // string. If the value is within % then the value of the
  70. // property with that name is used as the insertion string
  71. //
  72. #define DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(UNIQUE_NAME, \
  73. QUNIQUE_NAME, \
  74. EVENT_TYPE, \
  75. QUERY, \
  76. SOURCE, \
  77. EXTRA_DATA, \
  78. INSERTION_STRING_COUNT, \
  79. INSERTION1, \
  80. INSERTION2, \
  81. INSERTION3, \
  82. INSERTION4, \
  83. INSERTION5) \
  84. instance of __EventFilter as $Filter##UNIQUE_NAME \
  85. { \
  86. EventNamespace = "\\\\.\\root\\wmi"; \
  87. Name = ##QUNIQUE_NAME; \
  88. Query = ##QUERY; \
  89. QueryLanguage = "WQL"; \
  90. }; \
  91. \
  92. instance of NTEventLogEventConsumer as $Consumer##UNIQUE_NAME \
  93. { \
  94. Category = 0; \
  95. Name = QUNIQUE_NAME; \
  96. \
  97. EventType = 1; \
  98. EventId = ##EVENT_TYPE; \
  99. SourceName = ##SOURCE; \
  100. NumberOfInsertionStrings = ##INSERTION_STRING_COUNT; \
  101. InsertionStringTemplates = {##INSERTION1, ##INSERTION2, ##INSERTION3, ##INSERTION4, ##INSERTION5}; \
  102. NameOfRawDataProperty = ##EXTRA_DATA; \
  103. }; \
  104. \
  105. instance of __FilterToConsumerBinding \
  106. { \
  107. Consumer = $Consumer##UNIQUE_NAME; \
  108. Filter = $Filter##UNIQUE_NAME; \
  109. };
  110. //
  111. // Define all event to eventlog subscriptions for MCA events/eventlogs
  112. //
  113. #pragma namespace("\\\\.\\root\\subscription")
  114. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  115. MCA0,
  116. "MCA0",
  117. 2147811388, // MCA_WARNING_CACHE
  118. "select * from MSMCAEvent_CPUError where type = 2147811388",
  119. "WMIxWDM",
  120. "RawRecord",
  121. 3, "%Cpu%", "%AdditionalErrors%", "%level%", "N/A", "N/A")
  122. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  123. MCA1,
  124. "MCA1",
  125. 3221553213, // MCA_ERROR_CACHE
  126. "select * from MSMCAEvent_CPUError where type = 3221553213",
  127. "WMIxWDM",
  128. "RawRecord",
  129. 3, "%Cpu%", "%AdditionalErrors%", "%level%", "N/A", "N/A")
  130. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  131. MCA2,
  132. "MCA2",
  133. 2147811390, // MCA_WARNING_TLB
  134. "select * from MSMCAEvent_CPUError where type = 2147811390",
  135. "WMIxWDM",
  136. "RawRecord",
  137. 3, "%Cpu%", "%AdditionalErrors%", "%level%", "N/A", "N/A")
  138. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  139. MCA3,
  140. "MCA3",
  141. 3221553215, // MCA_ERROR_TLB
  142. "select * from MSMCAEvent_CPUError where type = 3221553215",
  143. "WMIxWDM",
  144. "RawRecord",
  145. 3, "%Cpu%", "%AdditionalErrors%", "%level%", "N/A", "N/A")
  146. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  147. MCA4,
  148. "MCA4",
  149. 2147811392, // MCA_WARNING_CPU_BUS
  150. "select * from MSMCAEvent_CPUError where type = 2147811392",
  151. "WMIxWDM",
  152. "RawRecord",
  153. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  154. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  155. MCA5,
  156. "MCA5",
  157. 3221553217, // MCA_ERROR_CPU_BUS
  158. "select * from MSMCAEvent_CPUError where type = 3221553217",
  159. "WMIxWDM",
  160. "RawRecord",
  161. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  162. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  163. MCA6,
  164. "MCA6",
  165. 2147811394, // MCA_WARNING_REGISTER_FILE
  166. "select * from MSMCAEvent_CPUError where type = 2147811394",
  167. "WMIxWDM",
  168. "RawRecord",
  169. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  170. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  171. MCA7,
  172. "MCA7",
  173. 3221553219, // MCA_ERROR_REGISTER_FILE
  174. "select * from MSMCAEvent_CPUError where type = 3221553219",
  175. "WMIxWDM",
  176. "RawRecord",
  177. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  178. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  179. MCA8,
  180. "MCA8",
  181. 2147811396, // MCA_WARNING_MAS
  182. "select * from MSMCAEvent_CPUError where type = 2147811396",
  183. "WMIxWDM",
  184. "RawRecord",
  185. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  186. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  187. MCA9,
  188. "MCA9",
  189. 3221553221, // MCA_ERROR_MAS
  190. "select * from MSMCAEvent_CPUError where type = 3221553221",
  191. "WMIxWDM",
  192. "RawRecord",
  193. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  194. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  195. MCA10,
  196. "MCA10",
  197. 2147811398, // MCA_WARNING_MEM_UNKNOWN
  198. "select * from MSMCAEvent_MemoryError where type = 2147811398",
  199. "WMIxWDM",
  200. "RawRecord",
  201. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  202. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  203. MCA11,
  204. "MCA11",
  205. 3221553223, // MCA_ERROR_MEM_UNKNOWN
  206. "select * from MSMCAEvent_MemoryError where type = 3221553223",
  207. "WMIxWDM",
  208. "RawRecord",
  209. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  210. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  211. MCA12,
  212. "MCA12",
  213. 2147811400, // MCA_WARNING_MEM_1_2
  214. "select * from MSMCAEvent_MemoryError where type = 2147811400",
  215. "WMIxWDM",
  216. "RawRecord",
  217. 3, "%Cpu%", "%AdditionalErrors%", "%MEM_PHYSICAL_ADDR%", "N/A", "N/A")
  218. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  219. MCA13,
  220. "MCA13",
  221. 3221553225, // MCA_ERROR_MEM_1_2
  222. "select * from MSMCAEvent_MemoryError where type = 3221553225",
  223. "WMIxWDM",
  224. "RawRecord",
  225. 3, "%Cpu%", "%AdditionalErrors%", "%MEM_PHYSICAL_ADDR%", "N/A", "N/A")
  226. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  227. MCA14,
  228. "MCA14",
  229. 2147811402, // MCA_WARNING_MEM_1_2_5
  230. "select * from MSMCAEvent_MemoryError where type = 2147811402",
  231. "WMIxWDM",
  232. "RawRecord",
  233. 4, "%Cpu%", "%AdditionalErrors%", "%MEM_PHYSICAL_ADDR%", "%MEM_MODULE%", "N/A")
  234. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  235. MCA15,
  236. "MCA15",
  237. 3221553227, // MCA_ERROR_MEM_1_2_5
  238. "select * from MSMCAEvent_MemoryError where type = 3221553227",
  239. "WMIxWDM",
  240. "RawRecord",
  241. 4, "%Cpu%", "%AdditionalErrors%", "%MEM_PHYSICAL_ADDR%", "%MEM_MODULE%", "N/A")
  242. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  243. MCA16,
  244. "MCA16",
  245. 2147811404, // MCA_WARNING_MEM_1_2_5_4
  246. "select * from MSMCAEvent_MemoryError where type = 2147811404",
  247. "WMIxWDM",
  248. "RawRecord",
  249. 5, "%Cpu%", "%AdditionalErrors%", "%MEM_PHYSICAL_ADDR%", "%MEM_MODULE%", "%MEM_CARD%")
  250. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  251. MCA17,
  252. "MCA17",
  253. 3221553229, // MCA_ERROR_MEM_1_2_5_4
  254. "select * from MSMCAEvent_MemoryError where type = 3221553229",
  255. "WMIxWDM",
  256. "RawRecord",
  257. 5, "%Cpu%", "%AdditionalErrors%", "%MEM_PHYSICAL_ADDR%", "%MEM_MODULE%", "%MEM_CARD%")
  258. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  259. MCA18,
  260. "MCA18",
  261. 2147811406, // MCA_WARNING_SYSTEM_EVENT
  262. "select * from MSMCAEvent_SystemEventError where type = 2147811406",
  263. "WMIxWDM",
  264. "RawRecord",
  265. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  266. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  267. MCA19,
  268. "MCA19",
  269. 3221553231, // MCA_ERROR_SYSTEM_EVENT
  270. "select * from MSMCAEvent_SystemEventError where type = 3221553231",
  271. "WMIxWDM",
  272. "RawRecord",
  273. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  274. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  275. MCA20,
  276. "MCA20",
  277. 2147811408, // MCA_WARNING_PCI_BUS_PARITY
  278. "select * from MSMCAEvent_PCIBusError where type = 2147811408",
  279. "WMIxWDM",
  280. "RawRecord",
  281. 5, "%Cpu%", "%AdditionalErrors%", "%PCI_BUS_CMD%", "%PCI_BUS_ADDRESS%", "%PCI_BUS_ID_BusNumber%")
  282. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  283. MCA21,
  284. "MCA21",
  285. 3221553233, // MCA_ERROR_PCI_BUS_PARITY
  286. "select * from MSMCAEvent_PCIBusError where type = 3221553233",
  287. "WMIxWDM",
  288. "RawRecord",
  289. 5, "%Cpu%", "%AdditionalErrors%", "%PCI_BUS_CMD%", "%PCI_BUS_ADDRESS%", "%PCI_BUS_ID_BusNumber%")
  290. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  291. MCA22,
  292. "MCA22",
  293. 2147811410, // MCA_WARNING_PCI_BUS_PARITY_NO_INFO
  294. "select * from MSMCAEvent_PCIBusError where type = 2147811410",
  295. "WMIxWDM",
  296. "RawRecord",
  297. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  298. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  299. MCA23,
  300. "MCA23",
  301. 3221553235, // MCA_ERROR_PCI_BUS_PARITY_NO_INFO
  302. "select * from MSMCAEvent_PCIBusError where type = 3221553235",
  303. "WMIxWDM",
  304. "RawRecord",
  305. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  306. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  307. MCA24,
  308. "MCA24",
  309. 2147811412, // MCA_WARNING_PCI_BUS_SERR
  310. "select * from MSMCAEvent_PCIBusError where type = 2147811412",
  311. "WMIxWDM",
  312. "RawRecord",
  313. 5, "%Cpu%", "%AdditionalErrors%", "%PCI_BUS_CMD%", "%PCI_BUS_ADDRESS%", "%PCI_BUS_ID_BusNumber%")
  314. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  315. MCA25,
  316. "MCA25",
  317. 3221553237, // MCA_ERROR_PCI_BUS_SERR
  318. "select * from MSMCAEvent_PCIBusError where type = 3221553237",
  319. "WMIxWDM",
  320. "RawRecord",
  321. 5, "%Cpu%", "%AdditionalErrors%", "%PCI_BUS_CMD%", "%PCI_BUS_ADDRESS%", "%PCI_BUS_ID_BusNumber%")
  322. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  323. MCA26,
  324. "MCA26",
  325. 2147811414, // MCA_WARNING_PCI_BUS_SERR_NO_INFO
  326. "select * from MSMCAEvent_PCIBusError where type = 2147811414",
  327. "WMIxWDM",
  328. "RawRecord",
  329. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  330. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  331. MCA27,
  332. "MCA27",
  333. 3221553239, // MCA_ERROR_PCI_BUS_SERR_NO_INFO
  334. "select * from MSMCAEvent_PCIBusError where type = 3221553239",
  335. "WMIxWDM",
  336. "RawRecord",
  337. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  338. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  339. MCA28,
  340. "MCA28",
  341. 2147811416, // MCA_WARNING_PCI_BUS_MASTER_ABORT
  342. "select * from MSMCAEvent_PCIBusError where type = 2147811416",
  343. "WMIxWDM",
  344. "RawRecord",
  345. 5, "%Cpu%", "%AdditionalErrors%", "%PCI_BUS_CMD%", "%PCI_BUS_ADDRESS%", "%PCI_BUS_ID_BusNumber%")
  346. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  347. MCA29,
  348. "MCA29",
  349. 3221553241, // MCA_ERROR_PCI_BUS_MASTER_ABORT
  350. "select * from MSMCAEvent_PCIBusError where type = 3221553241",
  351. "WMIxWDM",
  352. "RawRecord",
  353. 5, "%Cpu%", "%AdditionalErrors%", "%PCI_BUS_CMD%", "%PCI_BUS_ADDRESS%", "%PCI_BUS_ID_BusNumber%")
  354. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  355. MCA30,
  356. "MCA30",
  357. 2147811418, // MCA_WARNING_PCI_BUS_MASTER_ABORT_NO_INFO
  358. "select * from MSMCAEvent_PCIBusError where type = 2147811418",
  359. "WMIxWDM",
  360. "RawRecord",
  361. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  362. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  363. MCA31,
  364. "MCA31",
  365. 3221553243, // MCA_ERROR_PCI_BUS_MASTER_ABORT_NO_INFO
  366. "select * from MSMCAEvent_PCIBusError where type = 3221553243",
  367. "WMIxWDM",
  368. "RawRecord",
  369. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  370. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  371. MCA32,
  372. "MCA32",
  373. 2147811420, // MCA_WARNING_PCI_BUS_TIMEOUT
  374. "select * from MSMCAEvent_PCIBusError where type = 2147811420",
  375. "WMIxWDM",
  376. "RawRecord",
  377. 5, "%Cpu%", "%AdditionalErrors%", "%PCI_BUS_CMD%", "%PCI_BUS_ADDRESS%", "%PCI_BUS_ID_BusNumber%")
  378. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  379. MCA33,
  380. "MCA33",
  381. 3221553245, // MCA_ERROR_PCI_BUS_TIMEOUT
  382. "select * from MSMCAEvent_PCIBusError where type = 3221553245",
  383. "WMIxWDM",
  384. "RawRecord",
  385. 5, "%Cpu%", "%AdditionalErrors%", "%PCI_BUS_CMD%", "%PCI_BUS_ADDRESS%", "%PCI_BUS_ID_BusNumber%")
  386. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  387. MCA34,
  388. "MCA34",
  389. 2147811422, // MCA_WARNING_PCI_BUS_TIMEOUT_NO_INFO
  390. "select * from MSMCAEvent_PCIBusError where type = 2147811422",
  391. "WMIxWDM",
  392. "RawRecord",
  393. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  394. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  395. MCA35,
  396. "MCA35",
  397. 3221553247, // MCA_ERROR_PCI_BUS_TIMEOUT_NO_INFO
  398. "select * from MSMCAEvent_PCIBusError where type = 3221553247",
  399. "WMIxWDM",
  400. "RawRecord",
  401. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  402. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  403. MCA36,
  404. "MCA36",
  405. 2147811424, // MCA_WARNING_PCI_BUS_UNKNOWN
  406. "select * from MSMCAEvent_PCIBusError where type = 2147811424",
  407. "WMIxWDM",
  408. "RawRecord",
  409. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  410. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  411. MCA37,
  412. "MCA37",
  413. 3221553249, // MCA_ERROR_PCI_BUS_UNKNOWN
  414. "select * from MSMCAEvent_PCIBusError where type = 3221553249",
  415. "WMIxWDM",
  416. "RawRecord",
  417. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  418. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  419. MCA38,
  420. "MCA38",
  421. 2147811426, // MCA_WARNING_PCI_DEVICE
  422. "select * from MSMCAEvent_PCIComponentError where type = 2147811426",
  423. "WMIxWDM",
  424. "RawRecord",
  425. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  426. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  427. MCA39,
  428. "MCA39",
  429. 3221553251, // MCA_ERROR_PCI_DEVICE
  430. "select * from MSMCAEvent_PCIComponentError where type = 3221553251",
  431. "WMIxWDM",
  432. "RawRecord",
  433. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  434. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  435. MCA40,
  436. "MCA40",
  437. 2147811428, // MCA_WARNING_SMBIOS
  438. "select * from MSMCAEvent_SMBIOSError where type = 2147811428",
  439. "WMIxWDM",
  440. "RawRecord",
  441. 4, "%Cpu%", "%AdditionalErrors%", "%SMBIOS_EVENT_TYPE%", "N/A", "N/A")
  442. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  443. MCA41,
  444. "MCA41",
  445. 3221553253, // MCA_ERROR_SMBIOS
  446. "select * from MSMCAEvent_SMBIOSError where type = 3221553253",
  447. "WMIxWDM",
  448. "RawRecord",
  449. 3, "%Cpu%", "%AdditionalErrors%", "%SMBIOS_EVENT_TYPE%", "N/A", "N/A")
  450. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  451. MCA42,
  452. "MCA42",
  453. 2147811430, // MCA_WARNING_PLATFORM_SPECIFIC
  454. "select * from MSMCAEvent_PlatformSpecificError where type = 2147811430",
  455. "WMIxWDM",
  456. "RawRecord",
  457. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  458. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  459. MCA43,
  460. "MCA43",
  461. 3221553255, // MCA_ERROR_PLATFORM_SPECIFIC
  462. "select * from MSMCAEvent_PlatformSpecificError where type = 3221553255",
  463. "WMIxWDM",
  464. "RawRecord",
  465. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  466. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  467. MCA44,
  468. "MCA44",
  469. 2147811432, // MCA_WARNING_UNKNOWN
  470. "select * from MSMCAEvent_InvalidError where type = 2147811432",
  471. "WMIxWDM",
  472. "RawRecord",
  473. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  474. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  475. MCA45,
  476. "MCA45",
  477. 3221553257, // MCA_ERROR_UNKNOWN
  478. "select * from MSMCAEvent_InvalidError where type = 3221553257",
  479. "WMIxWDM",
  480. "RawRecord",
  481. 2, "%Cpu%", "%AdditionalErrors%", "N/A", "N/A", "N/A")
  482. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  483. MCA46,
  484. "MCA46",
  485. 2147811434, // MCA_WARNING_UNKNOWN_NO_CPU
  486. "select * from MSMCAEvent_InvalidError where type = 2147811434",
  487. "WMIxWDM",
  488. "RawRecord",
  489. 0, "N/A", "N/A", "N/A", "N/A", "N/A")
  490. DEFINE_EVENT_TO_EVENTLOG_SUBSCRIPTION(
  491. MCA47,
  492. "MCA47",
  493. 3221553259, // MCA_ERROR_UNKNOWN _NO_CPU
  494. "select * from MSMCAEvent_InvalidError where type = 3221553259",
  495. "WMIxWDM",
  496. "RawRecord",
  497. 0, "N/A", "N/A", "N/A", "N/A", "N/A")
  498. #pragma namespace("\\\\.\\root\\wmi")
  499. #endif