home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / edbmsg.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  35KB  |  1,738 lines

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