esebkmsg.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:44k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /*
  2.  * ESEBKMSG.H
  3.  *
  4.  * Microsoft Exchange Information Store
  5.  * Copyright (C) 1986-1996, Microsoft Corporation
  6.  *
  7.  * Contains declarations of additional properties and interfaces
  8.  * offered by Microsoft Exchange Information Store
  9.  */
  10. #ifndef _ESEBKMSG_
  11. #define _ESEBKMSG_
  12. //
  13. //  Values are 32 bit values layed out as follows:
  14. //
  15. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  16. //   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
  17. //  +---+-+-+-----------------------+-------------------------------+
  18. //  |Sev|C|R|     Facility          |               Code            |
  19. //  +---+-+-+-----------------------+-------------------------------+
  20. //
  21. //  where
  22. //
  23. //      Sev - is the severity code
  24. //
  25. //          00 - Success
  26. //          01 - Informational
  27. //          10 - Warning
  28. //          11 - Error
  29. //
  30. //      C - is the Customer code flag
  31. //
  32. //      R - is a reserved bit
  33. //
  34. //      Facility - is the facility code
  35. //
  36. //      Code - is the facility's status code
  37. //
  38. //
  39. // Define the facility codes
  40. //
  41. #define FACILITY_SYSTEM                  0x0
  42. #define FACILITY_EDB                     0x800
  43. #define FACILITY_CALLBACK                0x7FE
  44. #define FACILITY_BACKUP                  0x7FF
  45. //
  46. // Define the severity codes
  47. //
  48. #define STATUS_SEVERITY_WARNING          0x2
  49. #define STATUS_SEVERITY_SUCCESS          0x0
  50. #define STATUS_SEVERITY_INFORMATIONAL    0x1
  51. #define STATUS_SEVERITY_ERROR            0x3
  52. //
  53. // MessageId: GENERAL_CATEGORY
  54. //
  55. // MessageText:
  56. //
  57. //  General
  58. //
  59. #define GENERAL_CATEGORY                 0x00000001L
  60. //
  61. // MessageId: ESEBACK2_CAT_RECOVER_ASYNC
  62. //
  63. // MessageText:
  64. //
  65. //  Recovery
  66. //
  67. #define ESEBACK2_CAT_RECOVER_ASYNC       0x00000002L
  68. //
  69. // MessageId: ESEBACK2_CAT_BACKUP
  70. //
  71. // MessageText:
  72. //
  73. //  Backup
  74. //
  75. #define ESEBACK2_CAT_BACKUP              0x00000003L
  76. //
  77. // MessageId: ESEBACK2_CAT_RESTORE
  78. //
  79. // MessageText:
  80. //
  81. //  Restore
  82. //
  83. #define ESEBACK2_CAT_RESTORE             0x00000004L
  84. //
  85. // MessageId: ESEBACK2_CAT_CALLBACK
  86. //
  87. // MessageText:
  88. //
  89. //  Callback
  90. //
  91. #define ESEBACK2_CAT_CALLBACK            0x00000005L
  92. //
  93. // MessageId: ESEBACK2_CAT_MAX
  94. //
  95. // MessageText:
  96. //
  97. //  <EOF>
  98. //
  99. #define ESEBACK2_CAT_MAX                 0x00000006L
  100. //
  101. // SUCCESS
  102. //
  103. //
  104. // MessageId: hrNone
  105. //
  106. // MessageText:
  107. //
  108. //  The operation was successful
  109. //
  110. #define hrNone                           ((HRESULT)0x00000000L)
  111. //
  112. // ERRORS
  113. //
  114. //
  115. // MessageId: hrNyi
  116. //
  117. // MessageText:
  118. //
  119. //  The function is not yet implemented.
  120. //
  121. #define hrNyi                            ((HRESULT)0xC0000001L)
  122. //
  123. // ERRORS FROM CALLBACK CALLS
  124. //
  125. //
  126. // MessageId: hrCBDatabaseInUse
  127. //
  128. // MessageText:
  129. //
  130. //  Database is in use.
  131. //
  132. #define hrCBDatabaseInUse                ((HRESULT)0xC7FE1F41L)
  133. //
  134. // MessageId: hrCBDatabaseNotFound
  135. //
  136. // MessageText:
  137. //
  138. //  Database not found.
  139. //
  140. #define hrCBDatabaseNotFound             ((HRESULT)0xC7FE1F42L)
  141. //
  142. // MessageId: hrCBDatabaseDisplayNameNotFound
  143. //
  144. // MessageText:
  145. //
  146. //  Display Name for database not found.
  147. //
  148. #define hrCBDatabaseDisplayNameNotFound  ((HRESULT)0xC7FE1F43L)
  149. //
  150. // MessageId: hrCBRestorePathNotProvided
  151. //
  152. // MessageText:
  153. //
  154. //  Restore path not provided.
  155. //
  156. #define hrCBRestorePathNotProvided       ((HRESULT)0xC7FE1F44L)
  157. //
  158. // MessageId: hrCBInstanceNotFound
  159. //
  160. // MessageText:
  161. //
  162. //  Instance not found
  163. //
  164. #define hrCBInstanceNotFound             ((HRESULT)0xC7FE1F45L)
  165. //
  166. // MessageId: hrCBDatabaseCantBeOverwritten
  167. //
  168. // MessageText:
  169. //
  170. //  Database can not be overwritten by a restore.
  171. //
  172. #define hrCBDatabaseCantBeOverwritten    ((HRESULT)0xC7FE1F46L)
  173. //
  174. // Backup errors
  175. //
  176. //
  177. // MessageId: hrInvalidParam
  178. //
  179. // MessageText:
  180. //
  181. //  The parameter is not valid.
  182. //
  183. #define hrInvalidParam                   ((HRESULT)0xC7FF07D1L)
  184. //
  185. // MessageId: hrError
  186. //
  187. // MessageText:
  188. //
  189. //  An internal error has occurred.
  190. //
  191. #define hrError                          ((HRESULT)0xC7FF07D2L)
  192. //
  193. // MessageId: hrInvalidHandle
  194. //
  195. // MessageText:
  196. //
  197. //  The handle is not valid.
  198. //
  199. #define hrInvalidHandle                  ((HRESULT)0xC7FF07D3L)
  200. //
  201. // MessageId: hrRestoreInProgress
  202. //
  203. // MessageText:
  204. //
  205. //  The Restore process is already in progress.
  206. //
  207. #define hrRestoreInProgress              ((HRESULT)0xC7FF07D4L)
  208. //
  209. // MessageId: hrAlreadyOpen
  210. //
  211. // MessageText:
  212. //
  213. //  The file specified is already open.
  214. //
  215. #define hrAlreadyOpen                    ((HRESULT)0xC7FF07D5L)
  216. //
  217. // MessageId: hrInvalidRecips
  218. //
  219. // MessageText:
  220. //
  221. //  The recipients are invalid.
  222. //
  223. #define hrInvalidRecips                  ((HRESULT)0xC7FF07D6L)
  224. //
  225. // MessageId: hrCouldNotConnect
  226. //
  227. // MessageText:
  228. //
  229. //  Unable to perform the operation. Either you can not connect to the specified server 
  230. //  or the service you are trying to connect to is not running.
  231. //
  232. #define hrCouldNotConnect                ((HRESULT)0xC7FF07D7L)
  233. //
  234. // MessageId: hrRestoreMapExists
  235. //
  236. // MessageText:
  237. //
  238. //  A restore map already exists for the specified component.  You can only specify
  239. //  a restore map when performing a full restore.
  240. //
  241. #define hrRestoreMapExists               ((HRESULT)0xC7FF07D8L)
  242. //
  243. // MessageId: hrIncrementalBackupDisabled
  244. //
  245. // MessageText:
  246. //
  247. //  Another application has modified the specified Microsoft Exchange database such that any
  248. //  subsequent backups will fail. You must perform a full backup to fix this problem.
  249. //
  250. #define hrIncrementalBackupDisabled      ((HRESULT)0xC7FF07D9L)
  251. //
  252. // MessageId: hrLogFileNotFound
  253. //
  254. // MessageText:
  255. //
  256. //  Unable to perform an incremental backup because a required Microsoft Exchange database log file could not be found.
  257. //
  258. #define hrLogFileNotFound                ((HRESULT)0xC7FF07DAL)
  259. //
  260. // MessageId: hrCircularLogging
  261. //
  262. // MessageText:
  263. //
  264. //  The Microsoft Exchange component specified is configured to use circular database logs.
  265. //  It cannot be backed up without a full backup.
  266. //
  267. #define hrCircularLogging                ((HRESULT)0xC7FF07DBL)
  268. //
  269. // MessageId: hrNoFullRestore
  270. //
  271. // MessageText:
  272. //
  273. //  The databases have not been restored to this machine. You cannot restore an incremental backup
  274. //  until a full backup has been restored.
  275. //
  276. #define hrNoFullRestore                  ((HRESULT)0xC7FF07DCL)
  277. //
  278. // MessageId: hrCommunicationError
  279. //
  280. // MessageText:
  281. //
  282. //  A communications error occurred while attempting to perform a local backup.
  283. //
  284. #define hrCommunicationError             ((HRESULT)0xC7FF07DDL)
  285. //
  286. // MessageId: hrFullBackupNotTaken
  287. //
  288. // MessageText:
  289. //
  290. //  You must perform a full backup before you can perform an incremental backup.
  291. //
  292. #define hrFullBackupNotTaken             ((HRESULT)0xC7FF07DEL)
  293. //
  294. // MessageId: hrSnapshotNotSupported
  295. //
  296. // MessageText:
  297. //
  298. //  Snapshot backup not supported by server.
  299. //
  300. #define hrSnapshotNotSupported           ((HRESULT)0xC7FF07DFL)
  301. //
  302. // MessageId: hrFailedToConvertWszFnameToSzFName
  303. //
  304. // MessageText:
  305. //
  306. //  Wide char name provided can't be converted to char name.
  307. //
  308. #define hrFailedToConvertWszFnameToSzFName ((HRESULT)0xC7FF0BB8L)
  309. //
  310. // MessageId: hrOpenRestoreEnvFailed
  311. //
  312. // MessageText:
  313. //
  314. //  The restore environment information isn't found.
  315. //
  316. #define hrOpenRestoreEnvFailed           ((HRESULT)0xC7FF0BB9L)
  317. //
  318. // MessageId: hrBadDatabaseName
  319. //
  320. // MessageText:
  321. //
  322. //  Database name provided is invalid.
  323. //
  324. #define hrBadDatabaseName                ((HRESULT)0xC7FF0BBAL)
  325. //
  326. // MessageId: hrBadTargetDatabaseName
  327. //
  328. // MessageText:
  329. //
  330. //  Destination database name provided is invalid.
  331. //
  332. #define hrBadTargetDatabaseName          ((HRESULT)0xC7FF0BBBL)
  333. //
  334. // MessageId: hrRestoreEnvWriteFailed
  335. //
  336. // MessageText:
  337. //
  338. //  Error writing restore environment information.
  339. //
  340. #define hrRestoreEnvWriteFailed          ((HRESULT)0xC7FF0BBCL)
  341. //
  342. // MessageId: hrBadRestoreLogFilePath
  343. //
  344. // MessageText:
  345. //
  346. //  The path provided for restore log files is invalid.
  347. //
  348. #define hrBadRestoreLogFilePath          ((HRESULT)0xC7FF0BBDL)
  349. //
  350. // MessageId: hrLoadCallbackFunctionFailed
  351. //
  352. // MessageText:
  353. //
  354. //  Error loading callback function.
  355. //
  356. #define hrLoadCallbackFunctionFailed     ((HRESULT)0xC7FF0BBEL)
  357. //
  358. // MessageId: hrLoadBackupCallbackDllFailed
  359. //
  360. // MessageText:
  361. //
  362. //  Error loading DLL for backup callbacks.
  363. //
  364. #define hrLoadBackupCallbackDllFailed    ((HRESULT)0xC7FF0BBFL)
  365. //
  366. // MessageId: hrLoadRestoreCallbackDllFailed
  367. //
  368. // MessageText:
  369. //
  370. //  Error loading DLL for restore callbacks.
  371. //
  372. #define hrLoadRestoreCallbackDllFailed   ((HRESULT)0xC7FF0BC0L)
  373. //
  374. // MessageId: hrWrnNoCallbackFunction
  375. //
  376. // MessageText:
  377. //
  378. //  Callback function not provided.
  379. //
  380. #define hrWrnNoCallbackFunction          ((HRESULT)0x87FF0BC1L)
  381. //
  382. // MessageId: hrBadFilePath
  383. //
  384. // MessageText:
  385. //
  386. //  File path provided is invalid.
  387. //
  388. #define hrBadFilePath                    ((HRESULT)0xC7FF0BC2L)
  389. //
  390. // MessageId: hrRestoreEnvCorrupted
  391. //
  392. // MessageText:
  393. //
  394. //  Restore environment information corrupted.
  395. //
  396. #define hrRestoreEnvCorrupted            ((HRESULT)0xC7FF0BC3L)
  397. //
  398. // MessageId: hrBadCSectionParameter
  399. //
  400. // MessageText:
  401. //
  402. //  Invalid parameter for number of file sections.
  403. //
  404. #define hrBadCSectionParameter           ((HRESULT)0xC7FF0BC4L)
  405. //
  406. // MessageId: hrBadFileNameToBackup
  407. //
  408. // MessageText:
  409. //
  410. //  Backup file name provided is invalid.
  411. //
  412. #define hrBadFileNameToBackup            ((HRESULT)0xC7FF0BC5L)
  413. //
  414. // MessageId: hrRestoreEnvUpdateFailed
  415. //
  416. // MessageText:
  417. //
  418. //  Error updating restore environment information.
  419. //
  420. #define hrRestoreEnvUpdateFailed         ((HRESULT)0x87FF0BC6L)
  421. //
  422. // MessageId: hrInvalidDestinationNameReturnedByServer
  423. //
  424. // MessageText:
  425. //
  426. //  Destination name returned by server is invalid.
  427. //
  428. #define hrInvalidDestinationNameReturnedByServer ((HRESULT)0xC7FF0BC7L)
  429. //
  430. // MessageId: hrLoadCallbackDllFailed
  431. //
  432. // MessageText:
  433. //
  434. //  Error loading DLL for callbacks.
  435. //
  436. #define hrLoadCallbackDllFailed          ((HRESULT)0xC7FF0BC8L)
  437. //
  438. // MessageId: hrAlreadyRegistered
  439. //
  440. // MessageText:
  441. //
  442. //  Already registered for backup and/or restore.
  443. //
  444. #define hrAlreadyRegistered              ((HRESULT)0xC7FF0BC9L)
  445. //
  446. // MessageId: hrLoadResourceFailed
  447. //
  448. // MessageText:
  449. //
  450. //  Error loading a resource.
  451. //
  452. #define hrLoadResourceFailed             ((HRESULT)0xC7FF0BCAL)
  453. //
  454. // MessageId: hrErrorNoCallbackFunction
  455. //
  456. // MessageText:
  457. //
  458. //  Callback function not provided.
  459. //
  460. #define hrErrorNoCallbackFunction        ((HRESULT)0xC7FF0BCBL)
  461. //
  462. // MessageId: hrLogBaseNameMismatch
  463. //
  464. // MessageText:
  465. //
  466. //  The log file base name does not match the one from previous logs.
  467. //
  468. #define hrLogBaseNameMismatch            ((HRESULT)0xC7FF0BCCL)
  469. //
  470. // MessageId: hrDestinationDatabaseInUse
  471. //
  472. // MessageText:
  473. //
  474. //  The database destination to restore to is in use.
  475. //
  476. #define hrDestinationDatabaseInUse       ((HRESULT)0xC7FF0BCDL)
  477. //
  478. // MessageId: hrRestoreEnvSharingViolation
  479. //
  480. // MessageText:
  481. //
  482. //  The restore environment is used by an other process.
  483. //
  484. #define hrRestoreEnvSharingViolation     ((HRESULT)0xC7FF0BCEL)
  485. //
  486. // MessageId: hrCallbackBackupInfoError
  487. //
  488. // MessageText:
  489. //
  490. //  The backup information returned by the server callback is invalid.
  491. //
  492. #define hrCallbackBackupInfoError        ((HRESULT)0xC7FF0BCFL)
  493. //
  494. // MessageId: hrInvalidCallSequence
  495. //
  496. // MessageText:
  497. //
  498. //  Functions called in an invalid sequence.
  499. //
  500. #define hrInvalidCallSequence            ((HRESULT)0xC7FF0FA4L)
  501. //
  502. // MessageId: hrRestoreAtFileLevel
  503. //
  504. // MessageText:
  505. //
  506. //  Restoring must be done by restoring the file.
  507. //
  508. #define hrRestoreAtFileLevel             ((HRESULT)0xC7FF0FA5L)
  509. //
  510. // MessageId: hrErrorFromESECall
  511. //
  512. // MessageText:
  513. //
  514. //  Error returned from an ESE function call (%d).
  515. //
  516. #define hrErrorFromESECall               ((HRESULT)0xC7FF1004L)
  517. //
  518. // MessageId: hrErrorFromCallbackCall
  519. //
  520. // MessageText:
  521. //
  522. //  Error returned from a callback function call (0x%X).
  523. //
  524. #define hrErrorFromCallbackCall          ((HRESULT)0xC7FF1005L)
  525. #define hrAlreadyListening ((HRESULT)RPC_S_ALREADY_LISTENING)
  526. //
  527. // ERRORS
  528. //
  529. //
  530. // SYSTEM errors
  531. //
  532. //
  533. // MessageId: hrFileClose
  534. //
  535. // MessageText:
  536. //
  537. //  Unable to close the DOS file
  538. //
  539. #define hrFileClose                      ((HRESULT)0xC8000066L)
  540. //
  541. // MessageId: hrOutOfThreads
  542. //
  543. // MessageText:
  544. //
  545. //  Unable to start a thread because there are none available.
  546. //
  547. #define hrOutOfThreads                   ((HRESULT)0xC8000067L)
  548. //
  549. // MessageId: hrTooManyIO
  550. //
  551. // MessageText:
  552. //
  553. //  The system is busy because there are too many I/Os.
  554. //
  555. #define hrTooManyIO                      ((HRESULT)0xC8000069L)
  556. //
  557. // BUFFER MANAGER errors
  558. //
  559. //
  560. // MessageId: hrBFNotSynchronous
  561. //
  562. // MessageText:
  563. //
  564. //  The buffer page has been evicted.
  565. //
  566. #define hrBFNotSynchronous               ((HRESULT)0x880000C8L)
  567. //
  568. // MessageId: hrBFPageNotFound
  569. //
  570. // MessageText:
  571. //
  572. //  Unable to find the page.
  573. //
  574. #define hrBFPageNotFound                 ((HRESULT)0x880000C9L)
  575. //
  576. // MessageId: hrBFInUse
  577. //
  578. // MessageText:
  579. //
  580. //  Unable to abandon the buffer.
  581. //
  582. #define hrBFInUse                        ((HRESULT)0xC80000CAL)
  583. //
  584. // DIRECTORY MANAGER errors
  585. //
  586. //
  587. // MessageId: hrPMRecDeleted
  588. //
  589. // MessageText:
  590. //
  591. //  The record has been deleted.
  592. //
  593. #define hrPMRecDeleted                   ((HRESULT)0xC800012EL)
  594. //
  595. // MessageId: hrRemainingVersions
  596. //
  597. // MessageText:
  598. //
  599. //  There is idle work remaining.
  600. //
  601. #define hrRemainingVersions              ((HRESULT)0x88000141L)
  602. //
  603. // RECORD MANAGER errors
  604. //
  605. //
  606. // MessageId: hrFLDKeyTooBig
  607. //
  608. // MessageText:
  609. //
  610. //  The key was truncated because it is more than 255 bytes.
  611. //
  612. #define hrFLDKeyTooBig                   ((HRESULT)0x88000190L)
  613. //
  614. // MessageId: hrFLDTooManySegments
  615. //
  616. // MessageText:
  617. //
  618. //  There are too many key segments.
  619. //
  620. #define hrFLDTooManySegments             ((HRESULT)0xC8000191L)
  621. //
  622. // MessageId: hrFLDNullKey
  623. //
  624. // MessageText:
  625. //
  626. //  The key is NULL.
  627. //
  628. #define hrFLDNullKey                     ((HRESULT)0x88000192L)
  629. //
  630. // LOGGING/RECOVERY errors
  631. //
  632. //
  633. // MessageId: hrLogFileCorrupt
  634. //
  635. // MessageText:
  636. //
  637. //  The log file is damaged.
  638. //
  639. #define hrLogFileCorrupt                 ((HRESULT)0xC80001F5L)
  640. //
  641. // MessageId: hrNoBackupDirectory
  642. //
  643. // MessageText:
  644. //
  645. //  No backup directory was given.
  646. //
  647. #define hrNoBackupDirectory              ((HRESULT)0xC80001F7L)
  648. //
  649. // MessageId: hrBackupDirectoryNotEmpty
  650. //
  651. // MessageText:
  652. //
  653. //  The backup directory is not empty.
  654. //
  655. #define hrBackupDirectoryNotEmpty        ((HRESULT)0xC80001F8L)
  656. //
  657. // MessageId: hrBackupInProgress
  658. //
  659. // MessageText:
  660. //
  661. //  Backup is already active.
  662. //
  663. #define hrBackupInProgress               ((HRESULT)0xC80001F9L)
  664. //
  665. // MessageId: hrMissingPreviousLogFile
  666. //
  667. // MessageText:
  668. //
  669. //  A log file for the checkpoint is missing.
  670. //
  671. #define hrMissingPreviousLogFile         ((HRESULT)0xC80001FDL)
  672. //
  673. // MessageId: hrLogWriteFail
  674. //
  675. // MessageText:
  676. //
  677. //  Unable to write to the log file.
  678. //
  679. #define hrLogWriteFail                   ((HRESULT)0xC80001FEL)
  680. //
  681. // MessageId: hrBadLogVersion
  682. //
  683. // MessageText:
  684. //
  685. //  The version of the log file is not compatible with the version of the Microsoft Exchange Server database (EDB).
  686. //
  687. #define hrBadLogVersion                  ((HRESULT)0xC8000202L)
  688. //
  689. // MessageId: hrInvalidLogSequence
  690. //
  691. // MessageText:
  692. //
  693. //  The time stamp in the next log does not match what was expected.
  694. //
  695. #define hrInvalidLogSequence             ((HRESULT)0xC8000203L)
  696. //
  697. // MessageId: hrLoggingDisabled
  698. //
  699. // MessageText:
  700. //
  701. //  The log is not active.
  702. //
  703. #define hrLoggingDisabled                ((HRESULT)0xC8000204L)
  704. //
  705. // MessageId: hrLogBufferTooSmall
  706. //
  707. // MessageText:
  708. //
  709. //  The log buffer is too small to be recovered.
  710. //
  711. #define hrLogBufferTooSmall              ((HRESULT)0xC8000205L)
  712. //
  713. // MessageId: hrLogSequenceEnd
  714. //
  715. // MessageText:
  716. //
  717. //  The maximum number of log files has been exceeded.
  718. //
  719. #define hrLogSequenceEnd                 ((HRESULT)0xC8000207L)
  720. //
  721. // MessageId: hrNoBackup
  722. //
  723. // MessageText:
  724. //
  725. //  There is no backup in progress.
  726. //
  727. #define hrNoBackup                       ((HRESULT)0xC8000208L)
  728. //
  729. // MessageId: hrInvalidBackupSequence
  730. //
  731. // MessageText:
  732. //
  733. //  The backup call is out of sequence.
  734. //
  735. #define hrInvalidBackupSequence          ((HRESULT)0xC8000209L)
  736. //
  737. // MessageId: hrBackupNotAllowedYet
  738. //
  739. // MessageText:
  740. //
  741. //  Unable to perform a backup now.
  742. //
  743. #define hrBackupNotAllowedYet            ((HRESULT)0xC800020BL)
  744. //
  745. // MessageId: hrDeleteBackupFileFail
  746. //
  747. // MessageText:
  748. //
  749. //  Unable to delete the backup file.
  750. //
  751. #define hrDeleteBackupFileFail           ((HRESULT)0xC800020CL)
  752. //
  753. // MessageId: hrMakeBackupDirectoryFail
  754. //
  755. // MessageText:
  756. //
  757. //  Unable to make a backup temporary directory.
  758. //
  759. #define hrMakeBackupDirectoryFail        ((HRESULT)0xC800020DL)
  760. //
  761. // MessageId: hrInvalidBackup
  762. //
  763. // MessageText:
  764. //
  765. //  An incremental backup cannot be performed when circular logging is enabled.
  766. //
  767. #define hrInvalidBackup                  ((HRESULT)0xC800020EL)
  768. //
  769. // MessageId: hrRecoveredWithErrors
  770. //
  771. // MessageText:
  772. //
  773. //  Errors were encountered during the repair process.
  774. //
  775. #define hrRecoveredWithErrors            ((HRESULT)0xC800020FL)
  776. //
  777. // MessageId: hrMissingLogFile
  778. //
  779. // MessageText:
  780. //
  781. //  The current log file is missing.
  782. //
  783. #define hrMissingLogFile                 ((HRESULT)0xC8000210L)
  784. //
  785. // MessageId: hrLogDiskFull
  786. //
  787. // MessageText:
  788. //
  789. //  The log disk is full.
  790. //
  791. #define hrLogDiskFull                    ((HRESULT)0xC8000211L)
  792. //
  793. // MessageId: hrBadLogSignature
  794. //
  795. // MessageText:
  796. //
  797. //  A log file is damaged.
  798. //
  799. #define hrBadLogSignature                ((HRESULT)0xC8000212L)
  800. //
  801. // MessageId: hrBadDbSignature
  802. //
  803. // MessageText:
  804. //
  805. //  A database file is damaged.
  806. //
  807. #define hrBadDbSignature                 ((HRESULT)0xC8000213L)
  808. //
  809. // MessageId: hrBadCheckpointSignature
  810. //
  811. // MessageText:
  812. //
  813. //  A checkpoint file is damaged.
  814. //
  815. #define hrBadCheckpointSignature         ((HRESULT)0xC8000214L)
  816. //
  817. // MessageId: hrCheckpointCorrupt
  818. //
  819. // MessageText:
  820. //
  821. //  A checkpoint file either could not be found or is damaged.
  822. //
  823. #define hrCheckpointCorrupt              ((HRESULT)0xC8000215L)
  824. //
  825. // MessageId: hrDatabaseInconsistent
  826. //
  827. // MessageText:
  828. //
  829. //  The database is damaged.
  830. //
  831. #define hrDatabaseInconsistent           ((HRESULT)0xC8000226L)
  832. //
  833. // MessageId: hrConsistentTimeMismatch
  834. //
  835. // MessageText:
  836. //
  837. //  There is a mismatch in the database's last consistent time.
  838. //
  839. #define hrConsistentTimeMismatch         ((HRESULT)0xC8000227L)
  840. //
  841. // MessageId: hrPatchFileMismatch
  842. //
  843. // MessageText:
  844. //
  845. //  The patch file is not generated from this backup.
  846. //
  847. #define hrPatchFileMismatch              ((HRESULT)0xC8000228L)
  848. //
  849. // MessageId: hrRestoreLogTooLow
  850. //
  851. // MessageText:
  852. //
  853. //  The starting log number is too low for the restore.
  854. //
  855. #define hrRestoreLogTooLow               ((HRESULT)0xC8000229L)
  856. //
  857. // MessageId: hrRestoreLogTooHigh
  858. //
  859. // MessageText:
  860. //
  861. //  The starting log number is too high for the restore.
  862. //
  863. #define hrRestoreLogTooHigh              ((HRESULT)0xC800022AL)
  864. //
  865. // MessageId: hrGivenLogFileHasBadSignature
  866. //
  867. // MessageText:
  868. //
  869. //  The log file downloaded from the tape is damaged.
  870. //
  871. #define hrGivenLogFileHasBadSignature    ((HRESULT)0xC800022BL)
  872. //
  873. // MessageId: hrGivenLogFileIsNotContiguous
  874. //
  875. // MessageText:
  876. //
  877. //  Unable to find a mandatory log file after the tape was downloaded.
  878. //
  879. #define hrGivenLogFileIsNotContiguous    ((HRESULT)0xC800022CL)
  880. //
  881. // MessageId: hrMissingRestoreLogFiles
  882. //
  883. // MessageText:
  884. //
  885. //  The data is not fully restored because some log files are missing.
  886. //
  887. #define hrMissingRestoreLogFiles         ((HRESULT)0xC800022DL)
  888. //
  889. // MessageId: hrExistingLogFileHasBadSignature
  890. //
  891. // MessageText:
  892. //
  893. //  The log file in the log file path is damaged.
  894. //
  895. #define hrExistingLogFileHasBadSignature ((HRESULT)0x8800022EL)
  896. //
  897. // MessageId: hrExistingLogFileIsNotContiguous
  898. //
  899. // MessageText:
  900. //
  901. //  Unable to find a mandatory log file in the log file path.
  902. //
  903. #define hrExistingLogFileIsNotContiguous ((HRESULT)0x8800022FL)
  904. //
  905. // MessageId: hrMissingFullBackup
  906. //
  907. // MessageText:
  908. //
  909. //  The database missed a previous full backup before the incremental backup.
  910. //
  911. #define hrMissingFullBackup              ((HRESULT)0xC8000230L)
  912. //
  913. // MessageId: hrBadBackupDatabaseSize
  914. //
  915. // MessageText:
  916. //
  917. //  The backup database size must be a multiple of 4K (4096 bytes).
  918. //
  919. #define hrBadBackupDatabaseSize          ((HRESULT)0xC8000231L)
  920. //
  921. // MessageId: hrMissingBackupFiles
  922. //
  923. // MessageText:
  924. //
  925. //  Some log or patch files are missing.
  926. //
  927. #define hrMissingBackupFiles             ((HRESULT)0xC8000232L)
  928. //
  929. // MessageId: hrTermInProgress
  930. //
  931. // MessageText:
  932. //
  933. //  The database is being shut down.
  934. //
  935. #define hrTermInProgress                 ((HRESULT)0xC80003E8L)
  936. //
  937. // MessageId: hrFeatureNotAvailable
  938. //
  939. // MessageText:
  940. //
  941. //  The feature is not available.
  942. //
  943. #define hrFeatureNotAvailable            ((HRESULT)0xC80003E9L)
  944. //
  945. // MessageId: hrInvalidName
  946. //
  947. // MessageText:
  948. //
  949. //  The name is not valid.
  950. //
  951. #define hrInvalidName                    ((HRESULT)0xC80003EAL)
  952. //
  953. // MessageId: hrInvalidParameter
  954. //
  955. // MessageText:
  956. //
  957. //  The parameter is not valid.
  958. //
  959. #define hrInvalidParameter               ((HRESULT)0xC80003EBL)
  960. //
  961. // MessageId: hrColumnNull
  962. //
  963. // MessageText:
  964. //
  965. //  The value of the column is null.
  966. //
  967. #define hrColumnNull                     ((HRESULT)0x880003ECL)
  968. //
  969. // MessageId: hrBufferTruncated
  970. //
  971. // MessageText:
  972. //
  973. //  The buffer is too small for data.
  974. //
  975. #define hrBufferTruncated                ((HRESULT)0x880003EEL)
  976. //
  977. // MessageId: hrDatabaseAttached
  978. //
  979. // MessageText:
  980. //
  981. //  The database is already attached.
  982. //
  983. #define hrDatabaseAttached               ((HRESULT)0x880003EFL)
  984. //
  985. // MessageId: hrInvalidDatabaseId
  986. //
  987. // MessageText:
  988. //
  989. //  The database ID is not valid.
  990. //
  991. #define hrInvalidDatabaseId              ((HRESULT)0xC80003F2L)
  992. //
  993. // MessageId: hrOutOfMemory
  994. //
  995. // MessageText:
  996. //
  997. //  The computer is out of memory.
  998. //
  999. #define hrOutOfMemory                    ((HRESULT)0xC80003F3L)
  1000. //
  1001. // MessageId: hrOutOfDatabaseSpace
  1002. //
  1003. // MessageText:
  1004. //
  1005. //  The database has reached the maximum size of 16 GB.
  1006. //
  1007. #define hrOutOfDatabaseSpace             ((HRESULT)0xC80003F4L)
  1008. //
  1009. // MessageId: hrOutOfCursors
  1010. //
  1011. // MessageText:
  1012. //
  1013. //  Out of table cursors.
  1014. //
  1015. #define hrOutOfCursors                   ((HRESULT)0xC80003F5L)
  1016. //
  1017. // MessageId: hrOutOfBuffers
  1018. //
  1019. // MessageText:
  1020. //
  1021. //  Out of database page buffers.
  1022. //
  1023. #define hrOutOfBuffers                   ((HRESULT)0xC80003F6L)
  1024. //
  1025. // MessageId: hrTooManyIndexes
  1026. //
  1027. // MessageText:
  1028. //
  1029. //  There are too many indexes.
  1030. //
  1031. #define hrTooManyIndexes                 ((HRESULT)0xC80003F7L)
  1032. //
  1033. // MessageId: hrTooManyKeys
  1034. //
  1035. // MessageText:
  1036. //
  1037. //  There are too many columns in an index.
  1038. //
  1039. #define hrTooManyKeys                    ((HRESULT)0xC80003F8L)
  1040. //
  1041. // MessageId: hrRecordDeleted
  1042. //
  1043. // MessageText:
  1044. //
  1045. //  The record has been deleted.
  1046. //
  1047. #define hrRecordDeleted                  ((HRESULT)0xC80003F9L)
  1048. //
  1049. // MessageId: hrReadVerifyFailure
  1050. //
  1051. // MessageText:
  1052. //
  1053. //  A read verification error occurred.
  1054. //
  1055. #define hrReadVerifyFailure              ((HRESULT)0xC80003FAL)
  1056. //
  1057. // MessageId: hrOutOfFileHandles
  1058. //
  1059. // MessageText:
  1060. //
  1061. //  Out of file handles.
  1062. //
  1063. #define hrOutOfFileHandles               ((HRESULT)0xC80003FCL)
  1064. //
  1065. // MessageId: hrDiskIO
  1066. //
  1067. // MessageText:
  1068. //
  1069. //  A disk I/O error occurred.
  1070. //
  1071. #define hrDiskIO                         ((HRESULT)0xC80003FEL)
  1072. //
  1073. // MessageId: hrInvalidPath
  1074. //
  1075. // MessageText:
  1076. //
  1077. //  The path to the file is not valid.
  1078. //
  1079. #define hrInvalidPath                    ((HRESULT)0xC80003FFL)
  1080. //
  1081. // MessageId: hrRecordTooBig
  1082. //
  1083. // MessageText:
  1084. //
  1085. //  The record has exceeded the maximum size.
  1086. //
  1087. #define hrRecordTooBig                   ((HRESULT)0xC8000402L)
  1088. //
  1089. // MessageId: hrTooManyOpenDatabases
  1090. //
  1091. // MessageText:
  1092. //
  1093. //  There are too many open databases.
  1094. //
  1095. #define hrTooManyOpenDatabases           ((HRESULT)0xC8000403L)
  1096. //
  1097. // MessageId: hrInvalidDatabase
  1098. //
  1099. // MessageText:
  1100. //
  1101. //  The file is not a database file.
  1102. //
  1103. #define hrInvalidDatabase                ((HRESULT)0xC8000404L)
  1104. //
  1105. // MessageId: hrNotInitialized
  1106. //
  1107. // MessageText:
  1108. //
  1109. //  The database was not yet called.
  1110. //
  1111. #define hrNotInitialized                 ((HRESULT)0xC8000405L)
  1112. //
  1113. // MessageId: hrAlreadyInitialized
  1114. //
  1115. // MessageText:
  1116. //
  1117. //  The database was already called.
  1118. //
  1119. #define hrAlreadyInitialized             ((HRESULT)0xC8000406L)
  1120. //
  1121. // MessageId: hrFileAccessDenied
  1122. //
  1123. // MessageText:
  1124. //
  1125. //  Unable to access the file.
  1126. //
  1127. #define hrFileAccessDenied               ((HRESULT)0xC8000408L)
  1128. //
  1129. // MessageId: hrBufferTooSmall
  1130. //
  1131. // MessageText:
  1132. //
  1133. //  The buffer is too small.
  1134. //
  1135. #define hrBufferTooSmall                 ((HRESULT)0xC800040EL)
  1136. //
  1137. // MessageId: hrSeekNotEqual
  1138. //
  1139. // MessageText:
  1140. //
  1141. //  Either SeekLE or SeekGE did not find an exact match.
  1142. //
  1143. #define hrSeekNotEqual                   ((HRESULT)0x8800040FL)
  1144. //
  1145. // MessageId: hrTooManyColumns
  1146. //
  1147. // MessageText:
  1148. //
  1149. //  There are too many columns defined.
  1150. //
  1151. #define hrTooManyColumns                 ((HRESULT)0xC8000410L)
  1152. //
  1153. // MessageId: hrContainerNotEmpty
  1154. //
  1155. // MessageText:
  1156. //
  1157. //  The container is not empty.
  1158. //
  1159. #define hrContainerNotEmpty              ((HRESULT)0xC8000413L)
  1160. //
  1161. // MessageId: hrInvalidFilename
  1162. //
  1163. // MessageText:
  1164. //
  1165. //  The filename is not valid.
  1166. //
  1167. #define hrInvalidFilename                ((HRESULT)0xC8000414L)
  1168. //
  1169. // MessageId: hrInvalidBookmark
  1170. //
  1171. // MessageText:
  1172. //
  1173. //  The bookmark is not valid.
  1174. //
  1175. #define hrInvalidBookmark                ((HRESULT)0xC8000415L)
  1176. //
  1177. // MessageId: hrColumnInUse
  1178. //
  1179. // MessageText:
  1180. //
  1181. //  The column is used in an index.
  1182. //
  1183. #define hrColumnInUse                    ((HRESULT)0xC8000416L)
  1184. //
  1185. // MessageId: hrInvalidBufferSize
  1186. //
  1187. // MessageText:
  1188. //
  1189. //  The data buffer does not match the column size.
  1190. //
  1191. #define hrInvalidBufferSize              ((HRESULT)0xC8000417L)
  1192. //
  1193. // MessageId: hrColumnNotUpdatable
  1194. //
  1195. // MessageText:
  1196. //
  1197. //  Unable to set the column value.
  1198. //
  1199. #define hrColumnNotUpdatable             ((HRESULT)0xC8000418L)
  1200. //
  1201. // MessageId: hrIndexInUse
  1202. //
  1203. // MessageText:
  1204. //
  1205. //  The index is in use.
  1206. //
  1207. #define hrIndexInUse                     ((HRESULT)0xC800041BL)
  1208. //
  1209. // MessageId: hrNullKeyDisallowed
  1210. //
  1211. // MessageText:
  1212. //
  1213. //  Null keys are not allowed on an index.
  1214. //
  1215. #define hrNullKeyDisallowed              ((HRESULT)0xC800041DL)
  1216. //
  1217. // MessageId: hrNotInTransaction
  1218. //
  1219. // MessageText:
  1220. //
  1221. //  The operation must be within a transaction.
  1222. //
  1223. #define hrNotInTransaction               ((HRESULT)0xC800041EL)
  1224. //
  1225. // MessageId: hrNoIdleActivity
  1226. //
  1227. // MessageText:
  1228. //
  1229. //  No idle activity occured.
  1230. //
  1231. #define hrNoIdleActivity                 ((HRESULT)0x88000422L)
  1232. //
  1233. // MessageId: hrTooManyActiveUsers
  1234. //
  1235. // MessageText:
  1236. //
  1237. //  There are too many active database users.
  1238. //
  1239. #define hrTooManyActiveUsers             ((HRESULT)0xC8000423L)
  1240. //
  1241. // MessageId: hrInvalidCountry
  1242. //
  1243. // MessageText:
  1244. //
  1245. //  The country code is either not known or is not valid.
  1246. //
  1247. #define hrInvalidCountry                 ((HRESULT)0xC8000425L)
  1248. //
  1249. // MessageId: hrInvalidLanguageId
  1250. //
  1251. // MessageText:
  1252. //
  1253. //  The language ID is either not known or is not valid.
  1254. //
  1255. #define hrInvalidLanguageId              ((HRESULT)0xC8000426L)
  1256. //
  1257. // MessageId: hrInvalidCodePage
  1258. //
  1259. // MessageText:
  1260. //
  1261. //  The code page is either not known or is not valid.
  1262. //
  1263. #define hrInvalidCodePage                ((HRESULT)0xC8000427L)
  1264. //
  1265. // MessageId: hrNoWriteLock
  1266. //
  1267. // MessageText:
  1268. //
  1269. //  There is no write lock at transaction level 0.
  1270. //
  1271. #define hrNoWriteLock                    ((HRESULT)0x8800042BL)
  1272. //
  1273. // MessageId: hrColumnSetNull
  1274. //
  1275. // MessageText:
  1276. //
  1277. //  The column value is set to null.
  1278. //
  1279. #define hrColumnSetNull                  ((HRESULT)0x8800042CL)
  1280. //
  1281. // MessageId: hrVersionStoreOutOfMemory
  1282. //
  1283. // MessageText:
  1284. //
  1285. //   lMaxVerPages exceeded (XJET only)
  1286. //
  1287. #define hrVersionStoreOutOfMemory        ((HRESULT)0xC800042DL)
  1288. //
  1289. // MessageId: hrCurrencyStackOutOfMemory
  1290. //
  1291. // MessageText:
  1292. //
  1293. //  Out of cursors.
  1294. //
  1295. #define hrCurrencyStackOutOfMemory       ((HRESULT)0xC800042EL)
  1296. //
  1297. // MessageId: hrOutOfSessions
  1298. //
  1299. // MessageText:
  1300. //
  1301. //  Out of sessions.
  1302. //
  1303. #define hrOutOfSessions                  ((HRESULT)0xC800044DL)
  1304. //
  1305. // MessageId: hrWriteConflict
  1306. //
  1307. // MessageText:
  1308. //
  1309. //  The write lock failed due to an outstanding write lock.
  1310. //
  1311. #define hrWriteConflict                  ((HRESULT)0xC800044EL)
  1312. //
  1313. // MessageId: hrTransTooDeep
  1314. //
  1315. // MessageText:
  1316. //
  1317. //  The transactions are nested too deeply.
  1318. //
  1319. #define hrTransTooDeep                   ((HRESULT)0xC800044FL)
  1320. //
  1321. // MessageId: hrInvalidSesid
  1322. //
  1323. // MessageText:
  1324. //
  1325. //  The session handle is not valid.
  1326. //
  1327. #define hrInvalidSesid                   ((HRESULT)0xC8000450L)
  1328. //
  1329. // MessageId: hrSessionWriteConflict
  1330. //
  1331. // MessageText:
  1332. //
  1333. //  Another session has a private version of the page.
  1334. //
  1335. #define hrSessionWriteConflict           ((HRESULT)0xC8000453L)
  1336. //
  1337. // MessageId: hrInTransaction
  1338. //
  1339. // MessageText:
  1340. //
  1341. //  The operation is not allowed within a transaction.
  1342. //
  1343. #define hrInTransaction                  ((HRESULT)0xC8000454L)
  1344. //
  1345. // MessageId: hrDatabaseDuplicate
  1346. //
  1347. // MessageText:
  1348. //
  1349. //  The database already exists.
  1350. //
  1351. #define hrDatabaseDuplicate              ((HRESULT)0xC80004B1L)
  1352. //
  1353. // MessageId: hrDatabaseInUse
  1354. //
  1355. // MessageText:
  1356. //
  1357. //  The database is in use.
  1358. //
  1359. #define hrDatabaseInUse                  ((HRESULT)0xC80004B2L)
  1360. //
  1361. // MessageId: hrDatabaseNotFound
  1362. //
  1363. // MessageText:
  1364. //
  1365. //  The database is not mounted or does not exist.
  1366. //
  1367. #define hrDatabaseNotFound               ((HRESULT)0xC80004B3L)
  1368. //
  1369. // MessageId: hrDatabaseInvalidName
  1370. //
  1371. // MessageText:
  1372. //
  1373. //  The database name is not valid.
  1374. //
  1375. #define hrDatabaseInvalidName            ((HRESULT)0xC80004B4L)
  1376. //
  1377. // MessageId: hrDatabaseInvalidPages
  1378. //
  1379. // MessageText:
  1380. //
  1381. //  The number of pages is not valid.
  1382. //
  1383. #define hrDatabaseInvalidPages           ((HRESULT)0xC80004B5L)
  1384. //
  1385. // MessageId: hrDatabaseCorrupted
  1386. //
  1387. // MessageText:
  1388. //
  1389. //  The database file is either damaged or cannot be found.
  1390. //
  1391. #define hrDatabaseCorrupted              ((HRESULT)0xC80004B6L)
  1392. //
  1393. // MessageId: hrDatabaseLocked
  1394. //
  1395. // MessageText:
  1396. //
  1397. //  The database is locked.
  1398. //
  1399. #define hrDatabaseLocked                 ((HRESULT)0xC80004B7L)
  1400. //
  1401. // MessageId: hrTableEmpty
  1402. //
  1403. // MessageText:
  1404. //
  1405. //  An empty table was opened.
  1406. //
  1407. #define hrTableEmpty                     ((HRESULT)0x88000515L)
  1408. //
  1409. // MessageId: hrTableLocked
  1410. //
  1411. // MessageText:
  1412. //
  1413. //  The table is locked.
  1414. //
  1415. #define hrTableLocked                    ((HRESULT)0xC8000516L)
  1416. //
  1417. // MessageId: hrTableDuplicate
  1418. //
  1419. // MessageText:
  1420. //
  1421. //  The table already exists.
  1422. //
  1423. #define hrTableDuplicate                 ((HRESULT)0xC8000517L)
  1424. //
  1425. // MessageId: hrTableInUse
  1426. //
  1427. // MessageText:
  1428. //
  1429. //  Unable to lock the table because it is already in use.
  1430. //
  1431. #define hrTableInUse                     ((HRESULT)0xC8000518L)
  1432. //
  1433. // MessageId: hrObjectNotFound
  1434. //
  1435. // MessageText:
  1436. //
  1437. //  The table or object does not exist.
  1438. //
  1439. #define hrObjectNotFound                 ((HRESULT)0xC8000519L)
  1440. //
  1441. // MessageId: hrCannotRename
  1442. //
  1443. // MessageText:
  1444. //
  1445. //  Unable to rename the temporary file.
  1446. //
  1447. #define hrCannotRename                   ((HRESULT)0xC800051AL)
  1448. //
  1449. // MessageId: hrDensityInvalid
  1450. //
  1451. // MessageText:
  1452. //
  1453. //  The file/index density is not valid.
  1454. //
  1455. #define hrDensityInvalid                 ((HRESULT)0xC800051BL)
  1456. //
  1457. // MessageId: hrTableNotEmpty
  1458. //
  1459. // MessageText:
  1460. //
  1461. //  Unable to define the clustered index.
  1462. //
  1463. #define hrTableNotEmpty                  ((HRESULT)0xC800051CL)
  1464. //
  1465. // MessageId: hrInvalidTableId
  1466. //
  1467. // MessageText:
  1468. //
  1469. //  The table ID is not valid.
  1470. //
  1471. #define hrInvalidTableId                 ((HRESULT)0xC800051EL)
  1472. //
  1473. // MessageId: hrTooManyOpenTables
  1474. //
  1475. // MessageText:
  1476. //
  1477. //  Unable to open any more tables.
  1478. //
  1479. #define hrTooManyOpenTables              ((HRESULT)0xC800051FL)
  1480. //
  1481. // MessageId: hrIllegalOperation
  1482. //
  1483. // MessageText:
  1484. //
  1485. //  The operation is not supported on tables.
  1486. //
  1487. #define hrIllegalOperation               ((HRESULT)0xC8000520L)
  1488. //
  1489. // MessageId: hrObjectDuplicate
  1490. //
  1491. // MessageText:
  1492. //
  1493. //  The table or object name is already being used.
  1494. //
  1495. #define hrObjectDuplicate                ((HRESULT)0xC8000522L)
  1496. //
  1497. // MessageId: hrInvalidObject
  1498. //
  1499. // MessageText:
  1500. //
  1501. //  The object is not valid for operation.
  1502. //
  1503. #define hrInvalidObject                  ((HRESULT)0xC8000524L)
  1504. //
  1505. // MessageId: hrIndexCantBuild
  1506. //
  1507. // MessageText:
  1508. //
  1509. //  Unable to build a clustered index.
  1510. //
  1511. #define hrIndexCantBuild                 ((HRESULT)0xC8000579L)
  1512. //
  1513. // MessageId: hrIndexHasPrimary
  1514. //
  1515. // MessageText:
  1516. //
  1517. //  The primary index is already defined.
  1518. //
  1519. #define hrIndexHasPrimary                ((HRESULT)0xC800057AL)
  1520. //
  1521. // MessageId: hrIndexDuplicate
  1522. //
  1523. // MessageText:
  1524. //
  1525. //  The index is already defined.
  1526. //
  1527. #define hrIndexDuplicate                 ((HRESULT)0xC800057BL)
  1528. //
  1529. // MessageId: hrIndexNotFound
  1530. //
  1531. // MessageText:
  1532. //
  1533. //  The index does not exist.
  1534. //
  1535. #define hrIndexNotFound                  ((HRESULT)0xC800057CL)
  1536. //
  1537. // MessageId: hrIndexMustStay
  1538. //
  1539. // MessageText:
  1540. //
  1541. //  Unable to delete a clustered index.
  1542. //
  1543. #define hrIndexMustStay                  ((HRESULT)0xC800057DL)
  1544. //
  1545. // MessageId: hrIndexInvalidDef
  1546. //
  1547. // MessageText:
  1548. //
  1549. //  The index definition is illegal.
  1550. //
  1551. #define hrIndexInvalidDef                ((HRESULT)0xC800057EL)
  1552. //
  1553. // MessageId: hrIndexHasClustered
  1554. //
  1555. // MessageText:
  1556. //
  1557. //  The clustered index is already defined.
  1558. //
  1559. #define hrIndexHasClustered              ((HRESULT)0xC8000580L)
  1560. //
  1561. // MessageId: hrCreateIndexFailed
  1562. //
  1563. // MessageText:
  1564. //
  1565. //  Unable to create the index because an error occurred while creating a table.
  1566. //
  1567. #define hrCreateIndexFailed              ((HRESULT)0x88000581L)
  1568. //
  1569. // MessageId: hrTooManyOpenIndexes
  1570. //
  1571. // MessageText:
  1572. //
  1573. //  Out of index description blocks.
  1574. //
  1575. #define hrTooManyOpenIndexes             ((HRESULT)0xC8000582L)
  1576. //
  1577. // MessageId: hrColumnLong
  1578. //
  1579. // MessageText:
  1580. //
  1581. //  The column value is too long.
  1582. //
  1583. #define hrColumnLong                     ((HRESULT)0xC80005DDL)
  1584. //
  1585. // MessageId: hrColumnDoesNotFit
  1586. //
  1587. // MessageText:
  1588. //
  1589. //  The field will not fit in the record.
  1590. //
  1591. #define hrColumnDoesNotFit               ((HRESULT)0xC80005DFL)
  1592. //
  1593. // MessageId: hrNullInvalid
  1594. //
  1595. // MessageText:
  1596. //
  1597. //  The value cannot be null.
  1598. //
  1599. #define hrNullInvalid                    ((HRESULT)0xC80005E0L)
  1600. //
  1601. // MessageId: hrColumnIndexed
  1602. //
  1603. // MessageText:
  1604. //
  1605. //  Unable to delete because the column is indexed.
  1606. //
  1607. #define hrColumnIndexed                  ((HRESULT)0xC80005E1L)
  1608. //
  1609. // MessageId: hrColumnTooBig
  1610. //
  1611. // MessageText:
  1612. //
  1613. //  The length of the field exceeds the maximum length of 255 bytes.
  1614. //
  1615. #define hrColumnTooBig                   ((HRESULT)0xC80005E2L)
  1616. //
  1617. // MessageId: hrColumnNotFound
  1618. //
  1619. // MessageText:
  1620. //
  1621. //  Unable to find the column.
  1622. //
  1623. #define hrColumnNotFound                 ((HRESULT)0xC80005E3L)
  1624. //
  1625. // MessageId: hrColumnDuplicate
  1626. //
  1627. // MessageText:
  1628. //
  1629. //  The field is already defined.
  1630. //
  1631. #define hrColumnDuplicate                ((HRESULT)0xC80005E4L)
  1632. //
  1633. // MessageId: hrColumn2ndSysMaint
  1634. //
  1635. // MessageText:
  1636. //
  1637. //  Only one auto-increment or version column is allowed per table.
  1638. //
  1639. #define hrColumn2ndSysMaint              ((HRESULT)0xC80005E6L)
  1640. //
  1641. // MessageId: hrInvalidColumnType
  1642. //
  1643. // MessageText:
  1644. //
  1645. //  The column data type is not valid.
  1646. //
  1647. #define hrInvalidColumnType              ((HRESULT)0xC80005E7L)
  1648. //
  1649. // MessageId: hrColumnMaxTruncated
  1650. //
  1651. // MessageText:
  1652. //
  1653. //  The column was truncated because it exceeded the maximum length of 255 bytes.
  1654. //
  1655. #define hrColumnMaxTruncated             ((HRESULT)0x880005E8L)
  1656. //
  1657. // MessageId: hrColumnCannotIndex
  1658. //
  1659. // MessageText:
  1660. //
  1661. //  Unable to index a long value column.
  1662. //
  1663. #define hrColumnCannotIndex              ((HRESULT)0xC80005E9L)
  1664. //
  1665. // MessageId: hrTaggedNotNULL
  1666. //
  1667. // MessageText:
  1668. //
  1669. //  Tagged columns cannot be null.
  1670. //
  1671. #define hrTaggedNotNULL                  ((HRESULT)0xC80005EAL)
  1672. //
  1673. // MessageId: hrNoCurrentIndex
  1674. //
  1675. // MessageText:
  1676. //
  1677. //  The entry is not valid without a current index.
  1678. //
  1679. #define hrNoCurrentIndex                 ((HRESULT)0xC80005EBL)
  1680. //
  1681. // MessageId: hrKeyIsMade
  1682. //
  1683. // MessageText:
  1684. //
  1685. //  The key is completely made.
  1686. //
  1687. #define hrKeyIsMade                      ((HRESULT)0xC80005ECL)
  1688. //
  1689. // MessageId: hrBadColumnId
  1690. //
  1691. // MessageText:
  1692. //
  1693. //  The column ID is not correct.
  1694. //
  1695. #define hrBadColumnId                    ((HRESULT)0xC80005EDL)
  1696. //
  1697. // MessageId: hrBadItagSequence
  1698. //
  1699. // MessageText:
  1700. //
  1701. //  There is a bad instance identifier for a multivalued column.
  1702. //
  1703. #define hrBadItagSequence                ((HRESULT)0xC80005EEL)
  1704. //
  1705. // MessageId: hrCannotBeTagged
  1706. //
  1707. // MessageText:
  1708. //
  1709. //  AutoIncrement and Version cannot be multivalued.
  1710. //
  1711. #define hrCannotBeTagged                 ((HRESULT)0xC80005F1L)
  1712. //
  1713. // MessageId: hrRecordNotFound
  1714. //
  1715. // MessageText:
  1716. //
  1717. //  Unable to find the key.
  1718. //
  1719. #define hrRecordNotFound                 ((HRESULT)0xC8000641L)
  1720. //
  1721. // MessageId: hrNoCurrentRecord
  1722. //
  1723. // MessageText:
  1724. //
  1725. //  The currency is not on a record.
  1726. //
  1727. #define hrNoCurrentRecord                ((HRESULT)0xC8000643L)
  1728. //
  1729. // MessageId: hrRecordClusteredChanged
  1730. //
  1731. // MessageText:
  1732. //
  1733. //  A clustered key cannot be changed.
  1734. //
  1735. #define hrRecordClusteredChanged         ((HRESULT)0xC8000644L)
  1736. //
  1737. // MessageId: hrKeyDuplicate
  1738. //
  1739. // MessageText:
  1740. //
  1741. //  The key already exists.
  1742. //
  1743. #define hrKeyDuplicate                   ((HRESULT)0xC8000645L)
  1744. //
  1745. // MessageId: hrAlreadyPrepared
  1746. //
  1747. // MessageText:
  1748. //
  1749. //  The current entry has already been copied or cleared.
  1750. //
  1751. #define hrAlreadyPrepared                ((HRESULT)0xC8000647L)
  1752. //
  1753. // MessageId: hrKeyNotMade
  1754. //
  1755. // MessageText:
  1756. //
  1757. //  No key was made.
  1758. //
  1759. #define hrKeyNotMade                     ((HRESULT)0xC8000648L)
  1760. //
  1761. // MessageId: hrUpdateNotPrepared
  1762. //
  1763. // MessageText:
  1764. //
  1765. //  Update was not prepared.
  1766. //
  1767. #define hrUpdateNotPrepared              ((HRESULT)0xC8000649L)
  1768. //
  1769. // MessageId: hrwrnDataHasChanged
  1770. //
  1771. // MessageText:
  1772. //
  1773. //  Data has changed.
  1774. //
  1775. #define hrwrnDataHasChanged              ((HRESULT)0x8800064AL)
  1776. //
  1777. // MessageId: hrerrDataHasChanged
  1778. //
  1779. // MessageText:
  1780. //
  1781. //  The operation was abandoned because data has changed.
  1782. //
  1783. #define hrerrDataHasChanged              ((HRESULT)0xC800064BL)
  1784. //
  1785. // MessageId: hrKeyChanged
  1786. //
  1787. // MessageText:
  1788. //
  1789. //  Moved to a new key.
  1790. //
  1791. #define hrKeyChanged                     ((HRESULT)0x88000652L)
  1792. //
  1793. // MessageId: hrTooManySorts
  1794. //
  1795. // MessageText:
  1796. //
  1797. //  There are too many sort processes.
  1798. //
  1799. #define hrTooManySorts                   ((HRESULT)0xC80006A5L)
  1800. //
  1801. // MessageId: hrInvalidOnSort
  1802. //
  1803. // MessageText:
  1804. //
  1805. //  An operation that is not valid occurred in the sort.
  1806. //
  1807. #define hrInvalidOnSort                  ((HRESULT)0xC80006A6L)
  1808. //
  1809. // MessageId: hrTempFileOpenError
  1810. //
  1811. // MessageText:
  1812. //
  1813. //  Unable to open the temporary file.
  1814. //
  1815. #define hrTempFileOpenError              ((HRESULT)0xC800070BL)
  1816. //
  1817. // MessageId: hrTooManyAttachedDatabases
  1818. //
  1819. // MessageText:
  1820. //
  1821. //  There are too many databases open.
  1822. //
  1823. #define hrTooManyAttachedDatabases       ((HRESULT)0xC800070DL)
  1824. //
  1825. // MessageId: hrDiskFull
  1826. //
  1827. // MessageText:
  1828. //
  1829. //  The disk is full.
  1830. //
  1831. #define hrDiskFull                       ((HRESULT)0xC8000710L)
  1832. //
  1833. // MessageId: hrPermissionDenied
  1834. //
  1835. // MessageText:
  1836. //
  1837. //  Permission is denied.
  1838. //
  1839. #define hrPermissionDenied               ((HRESULT)0xC8000711L)
  1840. //
  1841. // MessageId: hrFileNotFound
  1842. //
  1843. // MessageText:
  1844. //
  1845. //  Unable to find the file.
  1846. //
  1847. #define hrFileNotFound                   ((HRESULT)0xC8000713L)
  1848. //
  1849. // MessageId: hrFileOpenReadOnly
  1850. //
  1851. // MessageText:
  1852. //
  1853. //  The database file is read only.
  1854. //
  1855. #define hrFileOpenReadOnly               ((HRESULT)0x88000715L)
  1856. //
  1857. // MessageId: hrAfterInitialization
  1858. //
  1859. // MessageText:
  1860. //
  1861. //  Unable to restore after initialization.
  1862. //
  1863. #define hrAfterInitialization            ((HRESULT)0xC800073AL)
  1864. //
  1865. // MessageId: hrLogCorrupted
  1866. //
  1867. // MessageText:
  1868. //
  1869. //  The database log files are damaged.
  1870. //
  1871. #define hrLogCorrupted                   ((HRESULT)0xC800073CL)
  1872. //
  1873. // MessageId: hrInvalidOperation
  1874. //
  1875. // MessageText:
  1876. //
  1877. //  The operation is not valid.
  1878. //
  1879. #define hrInvalidOperation               ((HRESULT)0xC8000772L)
  1880. //
  1881. // MessageId: hrAccessDenied
  1882. //
  1883. // MessageText:
  1884. //
  1885. //  Access is denied.
  1886. //
  1887. #define hrAccessDenied                   ((HRESULT)0xC8000773L)
  1888. //
  1889. // MessageId: hrBadRestoreTargetInstance
  1890. //
  1891. // MessageText:
  1892. //
  1893. //  Target Instance specified for restore is not found or log files don't match the backup set logs.
  1894. //
  1895. #define hrBadRestoreTargetInstance       ((HRESULT)0xC8000774L)
  1896. //
  1897. // MessageId: hrRunningInstanceIsUsingPath
  1898. //
  1899. // MessageText:
  1900. //
  1901. //  Directory contains log files that are in use by a running database. Chose a temporary location.
  1902. //
  1903. #define hrRunningInstanceIsUsingPath     ((HRESULT)0xC8000775L)
  1904. //
  1905. // EVENTLOG
  1906. //
  1907. //
  1908. // MessageId: RESTORE_COMPLETE_START_ID
  1909. //
  1910. // MessageText:
  1911. //
  1912. //  %1 (%2) Restore started from directory %3.
  1913. //  %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  1914. //
  1915. #define RESTORE_COMPLETE_START_ID        ((HRESULT)0xC8000385L)
  1916. //
  1917. // MessageId: RESTORE_COMPLETE_STOP_ID
  1918. //
  1919. // MessageText:
  1920. //
  1921. //  %1 (%2) Restore from directory %3 ended successfully.
  1922. //  %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  1923. //
  1924. #define RESTORE_COMPLETE_STOP_ID         ((HRESULT)0xC8000386L)
  1925. //
  1926. // MessageId: RESTORE_COMPLETE_ERROR_ID
  1927. //
  1928. // MessageText:
  1929. //
  1930. //  %1 (%2) Restore from directory %3 ended with error (%4).
  1931. //  %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  1932. //
  1933. #define RESTORE_COMPLETE_ERROR_ID        ((HRESULT)0xC8000387L)
  1934. //
  1935. // MessageId: BACKUP_NOT_TRUNCATE_DB_UNMOUNTED_ID
  1936. //
  1937. // MessageText:
  1938. //
  1939. //  %1 (%2) Unable to purge transaction logs because at least one database (%3) is off-line.
  1940. //  %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  1941. //
  1942. #define BACKUP_NOT_TRUNCATE_DB_UNMOUNTED_ID ((HRESULT)0xC80003B7L)
  1943. //
  1944. // MessageId: CALLBACK_ERROR_ID
  1945. //
  1946. // MessageText:
  1947. //
  1948. //  %1 (%2) Callback function call %3 ended with error %4 %5.
  1949. //  %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  1950. //
  1951. #define CALLBACK_ERROR_ID                ((HRESULT)0xC8000388L)
  1952. //
  1953. // MessageId: BACKUP_RESTORE_REGISTER_ID
  1954. //
  1955. // MessageText:
  1956. //
  1957. //  %1 (%2) Server registered: %3 / %4 (callback DLL %5, flags %6).
  1958. //  %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  1959. //
  1960. #define BACKUP_RESTORE_REGISTER_ID       ((HRESULT)0xC8000389L)
  1961. //
  1962. // MessageId: BACKUP_RESTORE_UNREGISTER_ID
  1963. //
  1964. // MessageText:
  1965. //
  1966. //  %1 (%2) Server unregistered: %3 / %4.
  1967. //  %n%nFor more information, click http://www.microsoft.com/contentredirect.asp.
  1968. //
  1969. #define BACKUP_RESTORE_UNREGISTER_ID     ((HRESULT)0xC800038AL)
  1970. #endif // _ESEBKMSG_