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

模拟服务器

开发平台:

C/C++

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