Leaked source code of windows server 2003
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.

687 lines
17 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1996-2001 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; pdhmsg.h
  8. ; (generated from pdhmsg.mc)
  9. ;
  10. ;Abstract:
  11. ;
  12. ; Event message definitions used by routines by PDH.DLL
  13. ;
  14. ;Created:
  15. ;
  16. ; 6-Feb-96 Bob Watson (a-robw)
  17. ;
  18. ;Revision History:
  19. ;
  20. ;--*/
  21. ;#ifndef _PDH_MSG_H_
  22. ;#define _PDH_MSG_H_
  23. ;#if _MSC_VER > 1000
  24. ;#pragma once
  25. ;#endif
  26. ;
  27. MessageIdTypedef=DWORD
  28. ;//
  29. ;// PDH DLL messages
  30. ;//
  31. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  32. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  33. Warning=0x2:STATUS_SEVERITY_WARNING
  34. Error=0x3:STATUS_SEVERITY_ERROR
  35. )
  36. ;//
  37. ;// Success Messages
  38. ;//
  39. ;// the Win32 error value ERROR_SUCCESS is used for success returns
  40. ;//
  41. ;// MESSAGE NAME FORMAT
  42. ;//
  43. ;// PDH_CSTATUS_... messages are data item status message and
  44. ;// are returned in reference to the status of a data
  45. ;// item
  46. ;// PDH_... messages are returned by FUNCTIONS only and
  47. ;// not used as data item status values
  48. ;//
  49. ;// Success Messages
  50. ;// These messages are normally returned when the operation completed
  51. ;// successfully.
  52. ;//
  53. MessageId=0
  54. Severity=Success
  55. Facility=Application
  56. SymbolicName=PDH_CSTATUS_VALID_DATA
  57. Language=English
  58. The returned data is valid.
  59. .
  60. MessageId=1
  61. Severity=Success
  62. Facility=Application
  63. SymbolicName=PDH_CSTATUS_NEW_DATA
  64. Language=English
  65. The return data value is valid and different from the last sample.
  66. .
  67. ;//
  68. ;// Informational messages
  69. ;//
  70. ;// None
  71. ;//
  72. ;// Warning Messages
  73. ;// These messages are returned when the function has completed
  74. ;// successfully but the results may be different than expected.
  75. ;//
  76. MessageId=2000
  77. Severity=Warning
  78. Facility=Application
  79. SymbolicName=PDH_CSTATUS_NO_MACHINE
  80. Language=English
  81. Unable to connect to specified machine or machine is off line.
  82. .
  83. MessageId=2001
  84. Severity=Warning
  85. Facility=Application
  86. SymbolicName=PDH_CSTATUS_NO_INSTANCE
  87. Language=English
  88. The specified instance is not present.
  89. .
  90. MessageId=2002
  91. Severity=Warning
  92. Facility=Application
  93. SymbolicName=PDH_MORE_DATA
  94. Language=English
  95. There is more data to return than would fit in the supplied buffer. Allocate
  96. a larger buffer and call the function again.
  97. .
  98. MessageId=2003
  99. Severity=Warning
  100. Facility=Application
  101. SymbolicName=PDH_CSTATUS_ITEM_NOT_VALIDATED
  102. Language=English
  103. The data item has been added to the query, but has not been validated nor
  104. accessed. No other status information on this data item is available.
  105. .
  106. MessageId=2004
  107. Severity=Warning
  108. Facility=Application
  109. SymbolicName=PDH_RETRY
  110. Language=English
  111. The selected operation should be retried.
  112. .
  113. MessageId=2005
  114. Severity=Warning
  115. Facility=Application
  116. SymbolicName=PDH_NO_DATA
  117. Language=English
  118. No data to return.
  119. .
  120. MessageId=2006
  121. Severity=Warning
  122. Facility=Application
  123. SymbolicName=PDH_CALC_NEGATIVE_DENOMINATOR
  124. Language=English
  125. A counter with a negative denominator value was detected.
  126. .
  127. MessageId=2007
  128. Severity=Warning
  129. Facility=Application
  130. SymbolicName=PDH_CALC_NEGATIVE_TIMEBASE
  131. Language=English
  132. A counter with a negative timebase value was detected.
  133. .
  134. MessageId=2008
  135. Severity=Warning
  136. Facility=Application
  137. SymbolicName=PDH_CALC_NEGATIVE_VALUE
  138. Language=English
  139. A counter with a negative value was detected.
  140. .
  141. MessageId=2009
  142. Severity=Warning
  143. Facility=Application
  144. SymbolicName=PDH_DIALOG_CANCELLED
  145. Language=English
  146. The user cancelled the dialog box.
  147. .
  148. MessageId=2010
  149. Severity=Warning
  150. Facility=Application
  151. SymbolicName=PDH_END_OF_LOG_FILE
  152. Language=English
  153. The end of the log file was reached.
  154. .
  155. MessageId=2011
  156. Severity=Warning
  157. Facility=Application
  158. SymbolicName=PDH_ASYNC_QUERY_TIMEOUT
  159. Language=English
  160. Time out while waiting for asynchronous counter collection thread to end.
  161. .
  162. MessageId=2012
  163. Severity=Warning
  164. Facility=Application
  165. SymbolicName=PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE
  166. Language=English
  167. Cannot change default real-time data source. There are real-time query
  168. sessions collecting counter data.
  169. .
  170. ;//
  171. ;// Error Messages
  172. ;// These messages are returned when the function could not complete
  173. ;// as requested and some corrective action may be required by the
  174. ;// the caller or the user.
  175. ;//
  176. MessageId=3000
  177. Severity=Error
  178. Facility=Application
  179. SymbolicName=PDH_CSTATUS_NO_OBJECT
  180. Language=English
  181. The specified object is not found on the system.
  182. .
  183. MessageId=3001
  184. Severity=Error
  185. Facility=Application
  186. SymbolicName=PDH_CSTATUS_NO_COUNTER
  187. Language=English
  188. The specified counter could not be found.
  189. .
  190. MessageId=3002
  191. Severity=Error
  192. Facility=Application
  193. SymbolicName=PDH_CSTATUS_INVALID_DATA
  194. Language=English
  195. The returned data is not valid.
  196. .
  197. MessageId=3003
  198. Severity=Error
  199. Facility=Application
  200. SymbolicName=PDH_MEMORY_ALLOCATION_FAILURE
  201. Language=English
  202. A PDH function could not allocate enough temporary memory to complete the
  203. operation. Close some applications or extend the pagefile and retry the
  204. function.
  205. .
  206. MessageId=3004
  207. Severity=Error
  208. Facility=Application
  209. SymbolicName=PDH_INVALID_HANDLE
  210. Language=English
  211. The handle is not a valid PDH object.
  212. .
  213. MessageId=3005
  214. Severity=Error
  215. Facility=Application
  216. SymbolicName=PDH_INVALID_ARGUMENT
  217. Language=English
  218. A required argument is missing or incorrect.
  219. .
  220. MessageId=3006
  221. Severity=Error
  222. Facility=Application
  223. SymbolicName=PDH_FUNCTION_NOT_FOUND
  224. Language=English
  225. Unable to find the specified function.
  226. .
  227. MessageId=3007
  228. Severity=Error
  229. Facility=Application
  230. SymbolicName=PDH_CSTATUS_NO_COUNTERNAME
  231. Language=English
  232. No counter was specified.
  233. .
  234. MessageId=3008
  235. Severity=Error
  236. Facility=Application
  237. SymbolicName=PDH_CSTATUS_BAD_COUNTERNAME
  238. Language=English
  239. Unable to parse the counter path. Check the format and syntax of the
  240. specified path.
  241. .
  242. MessageId=3009
  243. Severity=Error
  244. Facility=Application
  245. SymbolicName=PDH_INVALID_BUFFER
  246. Language=English
  247. The buffer passed by the caller is invalid.
  248. .
  249. MessageId=3010
  250. Severity=Error
  251. Facility=Application
  252. SymbolicName=PDH_INSUFFICIENT_BUFFER
  253. Language=English
  254. The requested data is larger than the buffer supplied. Unable to return the
  255. requested data.
  256. .
  257. MessageId=3011
  258. Severity=Error
  259. Facility=Application
  260. SymbolicName=PDH_CANNOT_CONNECT_MACHINE
  261. Language=English
  262. Unable to connect to the requested machine.
  263. .
  264. MessageId=3012
  265. Severity=Error
  266. Facility=Application
  267. SymbolicName=PDH_INVALID_PATH
  268. Language=English
  269. The specified counter path could not be interpreted.
  270. .
  271. MessageId=3013
  272. Severity=Error
  273. Facility=Application
  274. SymbolicName=PDH_INVALID_INSTANCE
  275. Language=English
  276. The instance name could not be read from the specified counter path.
  277. .
  278. MessageId=3014
  279. Severity=Error
  280. Facility=Application
  281. SymbolicName=PDH_INVALID_DATA
  282. Language=English
  283. The data is not valid.
  284. .
  285. MessageId=3015
  286. Severity=Error
  287. Facility=Application
  288. SymbolicName=PDH_NO_DIALOG_DATA
  289. Language=English
  290. The dialog box data block was missing or invalid.
  291. .
  292. MessageId=3016
  293. Severity=Error
  294. Facility=Application
  295. SymbolicName=PDH_CANNOT_READ_NAME_STRINGS
  296. Language=English
  297. Unable to read the counter and/or explain text from the specified machine.
  298. .
  299. MessageId=3017
  300. Severity=Error
  301. Facility=Application
  302. SymbolicName=PDH_LOG_FILE_CREATE_ERROR
  303. Language=English
  304. Unable to create the specified log file.
  305. .
  306. MessageId=3018
  307. Severity=Error
  308. Facility=Application
  309. SymbolicName=PDH_LOG_FILE_OPEN_ERROR
  310. Language=English
  311. Unable to open the specified log file.
  312. .
  313. MessageId=3019
  314. Severity=Error
  315. Facility=Application
  316. SymbolicName=PDH_LOG_TYPE_NOT_FOUND
  317. Language=English
  318. The specified log file type has not been installed on this system.
  319. .
  320. MessageId=3020
  321. Severity=Error
  322. Facility=Application
  323. SymbolicName=PDH_NO_MORE_DATA
  324. Language=English
  325. No more data is available.
  326. .
  327. MessageId=3021
  328. Severity=Error
  329. Facility=Application
  330. SymbolicName=PDH_ENTRY_NOT_IN_LOG_FILE
  331. Language=English
  332. The specified record was not found in the log file.
  333. .
  334. MessageId=3022
  335. Severity=Error
  336. Facility=Application
  337. SymbolicName=PDH_DATA_SOURCE_IS_LOG_FILE
  338. Language=English
  339. The specified data source is a log file.
  340. .
  341. MessageId=3023
  342. Severity=Error
  343. Facility=Application
  344. SymbolicName=PDH_DATA_SOURCE_IS_REAL_TIME
  345. Language=English
  346. The specified data source is the current activity.
  347. .
  348. MessageId=3024
  349. Severity=Error
  350. Facility=Application
  351. SymbolicName=PDH_UNABLE_READ_LOG_HEADER
  352. Language=English
  353. The log file header could not be read.
  354. .
  355. MessageId=3025
  356. Severity=Error
  357. Facility=Application
  358. SymbolicName=PDH_FILE_NOT_FOUND
  359. Language=English
  360. Unable to find the specified file.
  361. .
  362. MessageId=3026
  363. Severity=Error
  364. Facility=Application
  365. SymbolicName=PDH_FILE_ALREADY_EXISTS
  366. Language=English
  367. There is already a file with the specified file name.
  368. .
  369. MessageId=3027
  370. Severity=Error
  371. Facility=Application
  372. SymbolicName=PDH_NOT_IMPLEMENTED
  373. Language=English
  374. The function referenced has not been implemented.
  375. .
  376. MessageId=3028
  377. Severity=Error
  378. Facility=Application
  379. SymbolicName=PDH_STRING_NOT_FOUND
  380. Language=English
  381. Unable to find the specified string in the list of performance name and
  382. explain text strings.
  383. .
  384. MessageId=3029
  385. Severity=Warning
  386. Facility=Application
  387. SymbolicName=PDH_UNABLE_MAP_NAME_FILES
  388. Language=English
  389. Unable to map to the performance counter name data files. The data
  390. will be read from the registry and stored locally.
  391. .
  392. MessageId=3030
  393. Severity=Error
  394. Facility=Application
  395. SymbolicName=PDH_UNKNOWN_LOG_FORMAT
  396. Language=English
  397. The format of the specified log file is not recognized by the PDH DLL.
  398. .
  399. MessageId=3031
  400. Severity=Error
  401. Facility=Application
  402. SymbolicName=PDH_UNKNOWN_LOGSVC_COMMAND
  403. Language=English
  404. The specified Log Service command value is not recognized.
  405. .
  406. MessageId=3032
  407. Severity=Error
  408. Facility=Application
  409. SymbolicName=PDH_LOGSVC_QUERY_NOT_FOUND
  410. Language=English
  411. The specified Query from the Log Service could not be found or could not
  412. be opened.
  413. .
  414. MessageId=3033
  415. Severity=Error
  416. Facility=Application
  417. SymbolicName=PDH_LOGSVC_NOT_OPENED
  418. Language=English
  419. The Performance Data Log Service key could not be opened. This may be due
  420. to insufficient privilege or because the service has not been installed.
  421. .
  422. MessageId=3034
  423. Severity=Error
  424. Facility=Application
  425. SymbolicName=PDH_WBEM_ERROR
  426. Language=English
  427. An error occurred while accessing the WBEM data store.
  428. .
  429. MessageId=3035
  430. Severity=Error
  431. Facility=Application
  432. SymbolicName=PDH_ACCESS_DENIED
  433. Language=English
  434. Unable to access the desired machine or service. Check the permissions and
  435. authentication of the log service or the interactive user session against
  436. those on the machine or service being monitored.
  437. .
  438. MessageId=3036
  439. Severity=Error
  440. Facility=Application
  441. SymbolicName=PDH_LOG_FILE_TOO_SMALL
  442. Language=English
  443. The maximum log file size specified is too small to log the selected counters.
  444. No data will be recorded in this log file. Specify a smaller set of counters
  445. to log or a larger file size and retry this call.
  446. .
  447. MessageId=3037
  448. Severity=Error
  449. Facility=Application
  450. SymbolicName=PDH_INVALID_DATASOURCE
  451. Language=English
  452. Cannot connect to ODBC DataSource Name.
  453. .
  454. MessageId=3038
  455. Severity=Error
  456. Facility=Application
  457. SymbolicName=PDH_INVALID_SQLDB
  458. Language=English
  459. SQL Database does not contain a valid set of tables for Perfmon, use PdhCreateSQLTables.
  460. .
  461. MessageId=3039
  462. Severity=Error
  463. Facility=Application
  464. SymbolicName=PDH_NO_COUNTERS
  465. Language=English
  466. No counters were found for this Perfmon SQL Log Set.
  467. .
  468. MessageId=3040
  469. Severity=Error
  470. Facility=Application
  471. SymbolicName=PDH_SQL_ALLOC_FAILED
  472. Language=English
  473. Call to SQLAllocStmt failed with %1.
  474. .
  475. MessageId=3041
  476. Severity=Error
  477. Facility=Application
  478. SymbolicName=PDH_SQL_ALLOCCON_FAILED
  479. Language=English
  480. Call to SQLAllocConnect failed with %1.
  481. .
  482. MessageId=3042
  483. Severity=Error
  484. Facility=Application
  485. SymbolicName=PDH_SQL_EXEC_DIRECT_FAILED
  486. Language=English
  487. Call to SQLExecDirect failed with %1.
  488. .
  489. MessageId=3043
  490. Severity=Error
  491. Facility=Application
  492. SymbolicName=PDH_SQL_FETCH_FAILED
  493. Language=English
  494. Call to SQLFetch failed with %1.
  495. .
  496. MessageId=3044
  497. Severity=Error
  498. Facility=Application
  499. SymbolicName=PDH_SQL_ROWCOUNT_FAILED
  500. Language=English
  501. Call to SQLRowCount failed with %1.
  502. .
  503. MessageId=3045
  504. Severity=Error
  505. Facility=Application
  506. SymbolicName=PDH_SQL_MORE_RESULTS_FAILED
  507. Language=English
  508. Call to SQLMoreResults failed with %1.
  509. .
  510. MessageId=3046
  511. Severity=Error
  512. Facility=Application
  513. SymbolicName=PDH_SQL_CONNECT_FAILED
  514. Language=English
  515. Call to SQLConnect failed with %1.
  516. .
  517. MessageId=3047
  518. Severity=Error
  519. Facility=Application
  520. SymbolicName=PDH_SQL_BIND_FAILED
  521. Language=English
  522. Call to SQLBindCol failed with %1.
  523. .
  524. MessageId=3048
  525. Severity=Error
  526. Facility=Application
  527. SymbolicName=PDH_CANNOT_CONNECT_WMI_SERVER
  528. Language=English
  529. Unable to connect to the WMI server on requested machine.
  530. .
  531. MessageId=3049
  532. Severity=Error
  533. Facility=Application
  534. SymbolicName=PDH_PLA_COLLECTION_ALREADY_RUNNING
  535. Language=English
  536. Collection "%1!s!" is already running.
  537. .
  538. MessageId=3050
  539. Severity=Error
  540. Facility=Application
  541. SymbolicName=PDH_PLA_ERROR_SCHEDULE_OVERLAP
  542. Language=English
  543. The specified start time is after the end time.
  544. .
  545. MessageId=3051
  546. Severity=Error
  547. Facility=Application
  548. SymbolicName=PDH_PLA_COLLECTION_NOT_FOUND
  549. Language=English
  550. Collection "%1!s!" does not exist.
  551. .
  552. MessageId=3052
  553. Severity=Error
  554. Facility=Application
  555. SymbolicName=PDH_PLA_ERROR_SCHEDULE_ELAPSED
  556. Language=English
  557. The specified end time has already elapsed.
  558. .
  559. MessageId=3053
  560. Severity=Error
  561. Facility=Application
  562. SymbolicName=PDH_PLA_ERROR_NOSTART
  563. Language=English
  564. Collection "%1!s!" did not start, check the application event log for any errors.
  565. .
  566. MessageId=3054
  567. Severity=Error
  568. Facility=Application
  569. SymbolicName=PDH_PLA_ERROR_ALREADY_EXISTS
  570. Language=English
  571. Collection "%1!s!" already exists.
  572. .
  573. MessageId=3055
  574. Severity=Error
  575. Facility=Application
  576. SymbolicName=PDH_PLA_ERROR_TYPE_MISMATCH
  577. Language=English
  578. There is a mismatch in the settings type.
  579. .
  580. MessageId=3056
  581. Severity=Error
  582. Facility=Application
  583. SymbolicName=PDH_PLA_ERROR_FILEPATH
  584. Language=English
  585. The information specified does not resolve to a valid path name.
  586. .
  587. MessageId=3057
  588. Severity=Error
  589. Facility=Application
  590. SymbolicName=PDH_PLA_SERVICE_ERROR
  591. Language=English
  592. The "Performance Logs & Alerts" service did not respond.
  593. .
  594. MessageId=3058
  595. Severity=Error
  596. Facility=Application
  597. SymbolicName=PDH_PLA_VALIDATION_ERROR
  598. Language=English
  599. The information passed is not valid.
  600. .
  601. MessageId=3059
  602. Severity=Warning
  603. Facility=Application
  604. SymbolicName=PDH_PLA_VALIDATION_WARNING
  605. Language=English
  606. The information passed is not valid.
  607. .
  608. MessageId=3060
  609. Severity=Error
  610. Facility=Application
  611. SymbolicName=PDH_PLA_ERROR_NAME_TOO_LONG
  612. Language=English
  613. The name supplied is too long.
  614. .
  615. MessageId=3061
  616. Severity=Error
  617. Facility=Application
  618. SymbolicName=PDH_INVALID_SQL_LOG_FORMAT
  619. Language=English
  620. SQL log format is incorrect. Correct format is "SQL:<DSN-name>!<LogSet-Name>".
  621. .
  622. MessageId=3062
  623. Severity=Error
  624. Facility=Application
  625. SymbolicName=PDH_COUNTER_ALREADY_IN_QUERY
  626. Language=English
  627. Performance counter in PdhAddCounter() call has already been added
  628. in the performance query. This counter is ignored.
  629. .
  630. MessageId=3063
  631. Severity=Error
  632. Facility=Application
  633. SymbolicName=PDH_BINARY_LOG_CORRUPT
  634. Language=English
  635. Unable to read counter information and data from input binary log files.
  636. .
  637. MessageId=3064
  638. Severity=Error
  639. Facility=Application
  640. SymbolicName=PDH_LOG_SAMPLE_TOO_SMALL
  641. Language=English
  642. At least one of the input binary log files contain fewer than two data samples.
  643. .
  644. MessageId=3065
  645. Severity=Error
  646. Facility=Application
  647. SymbolicName=PDH_OS_LATER_VERSION
  648. Language=English
  649. The version of the operating system on the computer named %1 is later than that on the local computer. This operation is not available from the local computer.
  650. .
  651. MessageId=3066
  652. Severity=Error
  653. Facility=Application
  654. SymbolicName=PDH_OS_EARLIER_VERSION
  655. Language=English
  656. %1 supports %2 or later. Check the operating system version on the computer named %3.
  657. .
  658. MessageId=3067
  659. Severity=Error
  660. Facility=Application
  661. SymbolicName=PDH_INCORRECT_APPEND_TIME
  662. Language=English
  663. The output file must contain earlier data than the file to be appended.
  664. .
  665. MessageId=3068
  666. Severity=Error
  667. Facility=Application
  668. SymbolicName=PDH_UNMATCHED_APPEND_COUNTER
  669. Language=English
  670. Both files must have identical counters in order to append.
  671. .
  672. MessageId=3069
  673. Severity=Error
  674. Facility=Application
  675. SymbolicName=PDH_SQL_ALTER_DETAIL_FAILED
  676. Language=English
  677. Cannot alter CounterDetail table layout in SQL database.
  678. .
  679. MessageId=3070
  680. Severity=Error
  681. Facility=Application
  682. SymbolicName=PDH_QUERY_PERF_DATA_TIMEOUT
  683. Language=English
  684. System is busy. Timeout when collecting counter data. Please retry later or increase "CollectTime" registry value.
  685. .
  686. ;#endif //_PDH_MSG_H_
  687. ;// end of generated file