jwantdsbmsg.pas 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013
  1. {******************************************************************************}
  2. { }
  3. { DS Backup/Restore Error Codes API interface Unit for Object Pascal }
  4. { }
  5. { Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
  6. { Corporation. All Rights Reserved. }
  7. { }
  8. { The original file is: ntdsbmsg.h, released June 2000. The original Pascal }
  9. { code is: NtDsBMsg.pas, released December 2000. The initial developer of the }
  10. { Pascal code is Marcel van Brakel (brakelm att chello dott nl). }
  11. { }
  12. { Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
  13. { Marcel van Brakel. All Rights Reserved. }
  14. { }
  15. { Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
  16. { }
  17. { You may retrieve the latest version of this file at the Project JEDI }
  18. { APILIB home page, located at http://jedi-apilib.sourceforge.net }
  19. { }
  20. { The contents of this file are used with permission, subject to the Mozilla }
  21. { Public License Version 1.1 (the "License"); you may not use this file except }
  22. { in compliance with the License. You may obtain a copy of the License at }
  23. { http://www.mozilla.org/MPL/MPL-1.1.html }
  24. { }
  25. { Software distributed under the License is distributed on an "AS IS" basis, }
  26. { WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
  27. { the specific language governing rights and limitations under the License. }
  28. { }
  29. { Alternatively, the contents of this file may be used under the terms of the }
  30. { GNU Lesser General Public License (the "LGPL License"), in which case the }
  31. { provisions of the LGPL License are applicable instead of those above. }
  32. { If you wish to allow use of your version of this file only under the terms }
  33. { of the LGPL License and not to allow others to use your version of this file }
  34. { under the MPL, indicate your decision by deleting the provisions above and }
  35. { replace them with the notice and other provisions required by the LGPL }
  36. { License. If you do not delete the provisions above, a recipient may use }
  37. { your version of this file under either the MPL or the LGPL License. }
  38. { }
  39. { For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
  40. { }
  41. {******************************************************************************}
  42. // $Id: JwaNtDsBMsg.pas,v 1.7 2005/09/03 16:10:31 marquardt Exp $
  43. unit JwaNtDsBMsg;
  44. {$WEAKPACKAGEUNIT}
  45. {$I jediapilib.inc}
  46. interface
  47. uses
  48. JwaWindows;
  49. {$HPPEMIT ''}
  50. {$HPPEMIT '#include "NtDsBMsg.h"'}
  51. {$HPPEMIT ''}
  52. //
  53. // Windows NT Directory Service Backup/Restore API error codes
  54. // Copyright (C) 1996-1999, Microsoft Corporation
  55. //
  56. //
  57. // SUCCESS
  58. //
  59. //
  60. // Values are 32 bit values layed out as follows:
  61. //
  62. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  63. // 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
  64. // +---+-+-+-----------------------+-------------------------------+
  65. // |Sev|C|R| Facility | Code |
  66. // +---+-+-+-----------------------+-------------------------------+
  67. //
  68. // where
  69. //
  70. // Sev - is the severity code
  71. //
  72. // 00 - Success
  73. // 01 - Informational
  74. // 10 - Warning
  75. // 11 - Error
  76. //
  77. // C - is the Customer code flag
  78. //
  79. // R - is a reserved bit
  80. //
  81. // Facility - is the facility code
  82. //
  83. // Code - is the facility's status code
  84. //
  85. //
  86. // Define the facility codes
  87. //
  88. const
  89. FACILITY_SYSTEM = $0;
  90. {$EXTERNALSYM FACILITY_SYSTEM}
  91. FACILITY_NTDSB = $800;
  92. {$EXTERNALSYM FACILITY_NTDSB}
  93. FACILITY_BACKUP = $7FF;
  94. {$EXTERNALSYM FACILITY_BACKUP}
  95. //
  96. // Define the severity codes
  97. //
  98. STATUS_SEVERITY_WARNING = $2;
  99. {$EXTERNALSYM STATUS_SEVERITY_WARNING}
  100. STATUS_SEVERITY_SUCCESS = $0;
  101. {$EXTERNALSYM STATUS_SEVERITY_SUCCESS}
  102. STATUS_SEVERITY_INFORMATIONAL = $1;
  103. {$EXTERNALSYM STATUS_SEVERITY_INFORMATIONAL}
  104. STATUS_SEVERITY_ERROR = $3;
  105. {$EXTERNALSYM STATUS_SEVERITY_ERROR}
  106. //
  107. // MessageId: hrNone
  108. //
  109. // MessageText:
  110. //
  111. // The operation was successful
  112. //
  113. hrNone = HRESULT($00000000);
  114. {$EXTERNALSYM hrNone}
  115. //
  116. // ERRORS
  117. //
  118. //
  119. // MessageId: hrNyi
  120. //
  121. // MessageText:
  122. //
  123. // The function is not yet implemented
  124. //
  125. hrNyi = HRESULT($C0000001);
  126. {$EXTERNALSYM hrNyi}
  127. //
  128. // Backup errors
  129. //
  130. //
  131. // MessageId: hrInvalidParam
  132. //
  133. // MessageText:
  134. //
  135. // The parameter is not valid.
  136. //
  137. hrInvalidParam = HRESULT($C7FF0001);
  138. {$EXTERNALSYM hrInvalidParam}
  139. //
  140. // MessageId: hrError
  141. //
  142. // MessageText:
  143. //
  144. // An internal error has occurred.
  145. //
  146. hrError = HRESULT($C7FF0002);
  147. {$EXTERNALSYM hrError}
  148. //
  149. // MessageId: hrInvalidHandle
  150. //
  151. // MessageText:
  152. //
  153. // The handle is not valid.
  154. //
  155. hrInvalidHandle = HRESULT($C7FF0003);
  156. {$EXTERNALSYM hrInvalidHandle}
  157. //
  158. // MessageId: hrRestoreInProgress
  159. //
  160. // MessageText:
  161. //
  162. // The Restore process is already in progress.
  163. //
  164. hrRestoreInProgress = HRESULT($C7FF0004);
  165. {$EXTERNALSYM hrRestoreInProgress}
  166. //
  167. // MessageId: hrAlreadyOpen
  168. //
  169. // MessageText:
  170. //
  171. // The file specified is already open.
  172. //
  173. hrAlreadyOpen = HRESULT($C7FF0005);
  174. {$EXTERNALSYM hrAlreadyOpen}
  175. //
  176. // MessageId: hrInvalidRecips
  177. //
  178. // MessageText:
  179. //
  180. // The recipients are invalid.
  181. //
  182. hrInvalidRecips = HRESULT($C7FF0006);
  183. {$EXTERNALSYM hrInvalidRecips}
  184. //
  185. // MessageId: hrCouldNotConnect
  186. //
  187. // MessageText:
  188. //
  189. // Unable to perform the backup. Either you are not connected to the specified backup server
  190. // or the service you are trying to backup is not running.
  191. //
  192. hrCouldNotConnect = HRESULT($C7FF0007);
  193. {$EXTERNALSYM hrCouldNotConnect}
  194. //
  195. // MessageId: hrRestoreMapExists
  196. //
  197. // MessageText:
  198. //
  199. // A restore map already exists for the specified component. You can only specify
  200. // a restore map when performing a full restore.
  201. //
  202. hrRestoreMapExists = HRESULT($C7FF0008);
  203. {$EXTERNALSYM hrRestoreMapExists}
  204. //
  205. // MessageId: hrIncrementalBackupDisabled
  206. //
  207. // MessageText:
  208. //
  209. // Another application has modified the specified Windows NT Directory Service database such that any
  210. // subsequent backups will fail. You must perform a full backup to fix this problem.
  211. //
  212. hrIncrementalBackupDisabled = HRESULT($C7FF0009);
  213. {$EXTERNALSYM hrIncrementalBackupDisabled}
  214. //
  215. // MessageId: hrLogFileNotFound
  216. //
  217. // MessageText:
  218. //
  219. // Unable to perform an incremental backup because a required Windows NT Directory Service database log file could not be found.
  220. //
  221. hrLogFileNotFound = HRESULT($C7FF000A);
  222. {$EXTERNALSYM hrLogFileNotFound}
  223. //
  224. // MessageId: hrCircularLogging
  225. //
  226. // MessageText:
  227. //
  228. // The Windows NT Directory Service component specified is configured to use circular database logs.
  229. // It cannot be backed up without a full backup.
  230. //
  231. hrCircularLogging = HRESULT($C7FF000B);
  232. {$EXTERNALSYM hrCircularLogging}
  233. //
  234. // MessageId: hrNoFullRestore
  235. //
  236. // MessageText:
  237. //
  238. // The databases have not been restored to this machine. You cannot restore an incremental backup
  239. // until a full backup has been restored.
  240. //
  241. hrNoFullRestore = HRESULT($C7FF000C);
  242. {$EXTERNALSYM hrNoFullRestore}
  243. //
  244. // MessageId: hrCommunicationError
  245. //
  246. // MessageText:
  247. //
  248. // A communications error occurred while attempting to perform a local backup.
  249. //
  250. hrCommunicationError = HRESULT($C7FF000D);
  251. {$EXTERNALSYM hrCommunicationError}
  252. //
  253. // MessageId: hrFullBackupNotTaken
  254. //
  255. // MessageText:
  256. //
  257. // You must perform a full backup before you can perform an incremental backup.
  258. //
  259. hrFullBackupNotTaken = HRESULT($C7FF000E);
  260. {$EXTERNALSYM hrFullBackupNotTaken}
  261. //
  262. // MessageId: hrMissingExpiryToken
  263. //
  264. // MessageText:
  265. //
  266. // Expiry token is missing. Cannot restore without knowing the expiry information.
  267. //
  268. hrMissingExpiryToken = HRESULT($C7FF000F);
  269. {$EXTERNALSYM hrMissingExpiryToken}
  270. //
  271. // MessageId: hrUnknownExpiryTokenFormat
  272. //
  273. // MessageText:
  274. //
  275. // Expiry token is in unrecognizable format.
  276. //
  277. hrUnknownExpiryTokenFormat = HRESULT($C7FF0010);
  278. {$EXTERNALSYM hrUnknownExpiryTokenFormat}
  279. //
  280. // MessageId: hrContentsExpired
  281. //
  282. // MessageText:
  283. //
  284. // DS Contents in the backup copy are out of date. Try restoring with a more recent copy.
  285. //
  286. hrContentsExpired = HRESULT($C7FF0011);
  287. {$EXTERNALSYM hrContentsExpired}
  288. hrAlreadyListening = HRESULT(RPC_S_ALREADY_LISTENING);
  289. {$EXTERNALSYM hrAlreadyListening}
  290. //
  291. // ERRORS
  292. //
  293. //
  294. // SYSTEM errors
  295. //
  296. //
  297. // MessageId: hrFileClose
  298. //
  299. // MessageText:
  300. //
  301. // Unable to close the DOS file
  302. //
  303. hrFileClose = HRESULT($C8000066);
  304. {$EXTERNALSYM hrFileClose}
  305. //
  306. // MessageId: hrOutOfThreads
  307. //
  308. // MessageText:
  309. //
  310. // Unable to start a thread because there are none available.
  311. //
  312. hrOutOfThreads = HRESULT($C8000067);
  313. {$EXTERNALSYM hrOutOfThreads}
  314. //
  315. // MessageId: hrTooManyIO
  316. //
  317. // MessageText:
  318. //
  319. // The system is busy because there are too many I/Os.
  320. //
  321. hrTooManyIO = HRESULT($C8000069);
  322. {$EXTERNALSYM hrTooManyIO}
  323. //
  324. // BUFFER MANAGER errors
  325. //
  326. //
  327. // MessageId: hrBFNotSynchronous
  328. //
  329. // MessageText:
  330. //
  331. // The buffer page has been evicted.
  332. //
  333. hrBFNotSynchronous = HRESULT($880000C8);
  334. {$EXTERNALSYM hrBFNotSynchronous}
  335. //
  336. // MessageId: hrBFPageNotFound
  337. //
  338. // MessageText:
  339. //
  340. // Unable to find the page.
  341. //
  342. hrBFPageNotFound = HRESULT($880000C9);
  343. {$EXTERNALSYM hrBFPageNotFound}
  344. //
  345. // MessageId: hrBFInUse
  346. //
  347. // MessageText:
  348. //
  349. // Unable to abandon the buffer.
  350. //
  351. hrBFInUse = HRESULT($C80000CA);
  352. {$EXTERNALSYM hrBFInUse}
  353. //
  354. // DIRECTORY MANAGER errors
  355. //
  356. //
  357. // MessageId: hrPMRecDeleted
  358. //
  359. // MessageText:
  360. //
  361. // The record has been deleted.
  362. //
  363. hrPMRecDeleted = HRESULT($C800012E);
  364. {$EXTERNALSYM hrPMRecDeleted}
  365. //
  366. // MessageId: hrRemainingVersions
  367. //
  368. // MessageText:
  369. //
  370. // There is idle work remaining.
  371. //
  372. hrRemainingVersions = HRESULT($88000141);
  373. {$EXTERNALSYM hrRemainingVersions}
  374. //
  375. // RECORD MANAGER errors
  376. //
  377. //
  378. // MessageId: hrFLDKeyTooBig
  379. //
  380. // MessageText:
  381. //
  382. // The key was truncated because it exceeded the maximum length.
  383. //
  384. hrFLDKeyTooBig = HRESULT($88000190);
  385. {$EXTERNALSYM hrFLDKeyTooBig}
  386. //
  387. // MessageId: hrFLDTooManySegments
  388. //
  389. // MessageText:
  390. //
  391. // There are too many key segments.
  392. //
  393. hrFLDTooManySegments = HRESULT($C8000191);
  394. {$EXTERNALSYM hrFLDTooManySegments}
  395. //
  396. // MessageId: hrFLDNullKey
  397. //
  398. // MessageText:
  399. //
  400. // The key is NULL.
  401. //
  402. hrFLDNullKey = HRESULT($88000192);
  403. {$EXTERNALSYM hrFLDNullKey}
  404. //
  405. // LOGGING/RECOVERY errors
  406. //
  407. //
  408. // MessageId: hrLogFileCorrupt
  409. //
  410. // MessageText:
  411. //
  412. // The log file is damaged.
  413. //
  414. hrLogFileCorrupt = HRESULT($C80001F5);
  415. {$EXTERNALSYM hrLogFileCorrupt}
  416. //
  417. // MessageId: hrNoBackupDirectory
  418. //
  419. // MessageText:
  420. //
  421. // No backup directory was given.
  422. //
  423. hrNoBackupDirectory = HRESULT($C80001F7);
  424. {$EXTERNALSYM hrNoBackupDirectory}
  425. //
  426. // MessageId: hrBackupDirectoryNotEmpty
  427. //
  428. // MessageText:
  429. //
  430. // The backup directory is not empty.
  431. //
  432. hrBackupDirectoryNotEmpty = HRESULT($C80001F8);
  433. {$EXTERNALSYM hrBackupDirectoryNotEmpty}
  434. //
  435. // MessageId: hrBackupInProgress
  436. //
  437. // MessageText:
  438. //
  439. // Backup is already active.
  440. //
  441. hrBackupInProgress = HRESULT($C80001F9);
  442. {$EXTERNALSYM hrBackupInProgress}
  443. //
  444. // MessageId: hrMissingPreviousLogFile
  445. //
  446. // MessageText:
  447. //
  448. // A log file for the checkpoint is missing.
  449. //
  450. hrMissingPreviousLogFile = HRESULT($C80001FD);
  451. {$EXTERNALSYM hrMissingPreviousLogFile}
  452. //
  453. // MessageId: hrLogWriteFail
  454. //
  455. // MessageText:
  456. //
  457. // Unable to write to the log file.
  458. //
  459. hrLogWriteFail = HRESULT($C80001FE);
  460. {$EXTERNALSYM hrLogWriteFail}
  461. //
  462. // MessageId: hrBadLogVersion
  463. //
  464. // MessageText:
  465. //
  466. // The version of the log file is not compatible with the version of the Windows NT Directory Service database (NTDS).
  467. //
  468. hrBadLogVersion = HRESULT($C8000202);
  469. {$EXTERNALSYM hrBadLogVersion}
  470. //
  471. // MessageId: hrInvalidLogSequence
  472. //
  473. // MessageText:
  474. //
  475. // The time stamp in the next log does not match what was expected.
  476. //
  477. hrInvalidLogSequence = HRESULT($C8000203);
  478. {$EXTERNALSYM hrInvalidLogSequence}
  479. //
  480. // MessageId: hrLoggingDisabled
  481. //
  482. // MessageText:
  483. //
  484. // The log is not active.
  485. //
  486. hrLoggingDisabled = HRESULT($C8000204);
  487. {$EXTERNALSYM hrLoggingDisabled}
  488. //
  489. // MessageId: hrLogBufferTooSmall
  490. //
  491. // MessageText:
  492. //
  493. // The log buffer is too small to be recovered.
  494. //
  495. hrLogBufferTooSmall = HRESULT($C8000205);
  496. {$EXTERNALSYM hrLogBufferTooSmall}
  497. //
  498. // MessageId: hrLogSequenceEnd
  499. //
  500. // MessageText:
  501. //
  502. // The maximum number of log files has been exceeded.
  503. //
  504. hrLogSequenceEnd = HRESULT($C8000207);
  505. {$EXTERNALSYM hrLogSequenceEnd}
  506. //
  507. // MessageId: hrNoBackup
  508. //
  509. // MessageText:
  510. //
  511. // There is no backup in progress.
  512. //
  513. hrNoBackup = HRESULT($C8000208);
  514. {$EXTERNALSYM hrNoBackup}
  515. //
  516. // MessageId: hrInvalidBackupSequence
  517. //
  518. // MessageText:
  519. //
  520. // The backup call is out of sequence.
  521. //
  522. hrInvalidBackupSequence = HRESULT($C8000209);
  523. {$EXTERNALSYM hrInvalidBackupSequence}
  524. //
  525. // MessageId: hrBackupNotAllowedYet
  526. //
  527. // MessageText:
  528. //
  529. // Unable to perform a backup now.
  530. //
  531. hrBackupNotAllowedYet = HRESULT($C800020B);
  532. {$EXTERNALSYM hrBackupNotAllowedYet}
  533. //
  534. // MessageId: hrDeleteBackupFileFail
  535. //
  536. // MessageText:
  537. //
  538. // Unable to delete the backup file.
  539. //
  540. hrDeleteBackupFileFail = HRESULT($C800020C);
  541. {$EXTERNALSYM hrDeleteBackupFileFail}
  542. //
  543. // MessageId: hrMakeBackupDirectoryFail
  544. //
  545. // MessageText:
  546. //
  547. // Unable to make a backup temporary directory.
  548. //
  549. hrMakeBackupDirectoryFail = HRESULT($C800020D);
  550. {$EXTERNALSYM hrMakeBackupDirectoryFail}
  551. //
  552. // MessageId: hrInvalidBackup
  553. //
  554. // MessageText:
  555. //
  556. // An incremental backup cannot be performed when circular logging is enabled.
  557. //
  558. hrInvalidBackup = HRESULT($C800020E);
  559. {$EXTERNALSYM hrInvalidBackup}
  560. //
  561. // MessageId: hrRecoveredWithErrors
  562. //
  563. // MessageText:
  564. //
  565. // Errors were encountered during the repair process.
  566. //
  567. hrRecoveredWithErrors = HRESULT($C800020F);
  568. {$EXTERNALSYM hrRecoveredWithErrors}
  569. //
  570. // MessageId: hrMissingLogFile
  571. //
  572. // MessageText:
  573. //
  574. // The current log file is missing.
  575. //
  576. hrMissingLogFile = HRESULT($C8000210);
  577. {$EXTERNALSYM hrMissingLogFile}
  578. //
  579. // MessageId: hrLogDiskFull
  580. //
  581. // MessageText:
  582. //
  583. // The log disk is full.
  584. //
  585. hrLogDiskFull = HRESULT($C8000211);
  586. {$EXTERNALSYM hrLogDiskFull}
  587. //
  588. // MessageId: hrBadLogSignature
  589. //
  590. // MessageText:
  591. //
  592. // A log file is damaged.
  593. //
  594. hrBadLogSignature = HRESULT($C8000212);
  595. {$EXTERNALSYM hrBadLogSignature}
  596. //
  597. // MessageId: hrBadDbSignature
  598. //
  599. // MessageText:
  600. //
  601. // A database file is damaged.
  602. //
  603. hrBadDbSignature = HRESULT($C8000213);
  604. {$EXTERNALSYM hrBadDbSignature}
  605. //
  606. // MessageId: hrBadCheckpointSignature
  607. //
  608. // MessageText:
  609. //
  610. // A checkpoint file is damaged.
  611. //
  612. hrBadCheckpointSignature = HRESULT($C8000214);
  613. {$EXTERNALSYM hrBadCheckpointSignature}
  614. //
  615. // MessageId: hrCheckpointCorrupt
  616. //
  617. // MessageText:
  618. //
  619. // A checkpoint file either could not be found or is damaged.
  620. //
  621. hrCheckpointCorrupt = HRESULT($C8000215);
  622. {$EXTERNALSYM hrCheckpointCorrupt}
  623. //
  624. // MessageId: hrDatabaseInconsistent
  625. //
  626. // MessageText:
  627. //
  628. // The database is damaged.
  629. //
  630. hrDatabaseInconsistent = HRESULT($C8000226);
  631. {$EXTERNALSYM hrDatabaseInconsistent}
  632. //
  633. // MessageId: hrConsistentTimeMismatch
  634. //
  635. // MessageText:
  636. //
  637. // There is a mismatch in the database's last consistent time.
  638. //
  639. hrConsistentTimeMismatch = HRESULT($C8000227);
  640. {$EXTERNALSYM hrConsistentTimeMismatch}
  641. //
  642. // MessageId: hrPatchFileMismatch
  643. //
  644. // MessageText:
  645. //
  646. // The patch file is not generated from this backup.
  647. //
  648. hrPatchFileMismatch = HRESULT($C8000228);
  649. {$EXTERNALSYM hrPatchFileMismatch}
  650. //
  651. // MessageId: hrRestoreLogTooLow
  652. //
  653. // MessageText:
  654. //
  655. // The starting log number is too low for the restore.
  656. //
  657. hrRestoreLogTooLow = HRESULT($C8000229);
  658. {$EXTERNALSYM hrRestoreLogTooLow}
  659. //
  660. // MessageId: hrRestoreLogTooHigh
  661. //
  662. // MessageText:
  663. //
  664. // The starting log number is too high for the restore.
  665. //
  666. hrRestoreLogTooHigh = HRESULT($C800022A);
  667. {$EXTERNALSYM hrRestoreLogTooHigh}
  668. //
  669. // MessageId: hrGivenLogFileHasBadSignature
  670. //
  671. // MessageText:
  672. //
  673. // The log file downloaded from the tape is damaged.
  674. //
  675. hrGivenLogFileHasBadSignature = HRESULT($C800022B);
  676. {$EXTERNALSYM hrGivenLogFileHasBadSignature}
  677. //
  678. // MessageId: hrGivenLogFileIsNotContiguous
  679. //
  680. // MessageText:
  681. //
  682. // Unable to find a mandatory log file after the tape was downloaded.
  683. //
  684. hrGivenLogFileIsNotContiguous = HRESULT($C800022C);
  685. {$EXTERNALSYM hrGivenLogFileIsNotContiguous}
  686. //
  687. // MessageId: hrMissingRestoreLogFiles
  688. //
  689. // MessageText:
  690. //
  691. // The data is not fully restored because some log files are missing.
  692. //
  693. hrMissingRestoreLogFiles = HRESULT($C800022D);
  694. {$EXTERNALSYM hrMissingRestoreLogFiles}
  695. //
  696. // MessageId: hrExistingLogFileHasBadSignature
  697. //
  698. // MessageText:
  699. //
  700. // The log file in the log file path is damaged.
  701. //
  702. hrExistingLogFileHasBadSignature = HRESULT($8800022E);
  703. {$EXTERNALSYM hrExistingLogFileHasBadSignature}
  704. //
  705. // MessageId: hrExistingLogFileIsNotContiguous
  706. //
  707. // MessageText:
  708. //
  709. // Unable to find a mandatory log file in the log file path.
  710. //
  711. hrExistingLogFileIsNotContiguous = HRESULT($8800022F);
  712. {$EXTERNALSYM hrExistingLogFileIsNotContiguous}
  713. //
  714. // MessageId: hrMissingFullBackup
  715. //
  716. // MessageText:
  717. //
  718. // The database missed a previous full backup before the incremental backup.
  719. //
  720. hrMissingFullBackup = HRESULT($C8000230);
  721. {$EXTERNALSYM hrMissingFullBackup}
  722. //
  723. // MessageId: hrBadBackupDatabaseSize
  724. //
  725. // MessageText:
  726. //
  727. // The backup database size must be a multiple of 4K (4096 bytes).
  728. //
  729. hrBadBackupDatabaseSize = HRESULT($C8000231);
  730. {$EXTERNALSYM hrBadBackupDatabaseSize}
  731. //
  732. // MessageId: hrTermInProgress
  733. //
  734. // MessageText:
  735. //
  736. // The database is being shut down.
  737. //
  738. hrTermInProgress = HRESULT($C80003E8);
  739. {$EXTERNALSYM hrTermInProgress}
  740. //
  741. // MessageId: hrFeatureNotAvailable
  742. //
  743. // MessageText:
  744. //
  745. // The feature is not available.
  746. //
  747. hrFeatureNotAvailable = HRESULT($C80003E9);
  748. {$EXTERNALSYM hrFeatureNotAvailable}
  749. //
  750. // MessageId: hrInvalidName
  751. //
  752. // MessageText:
  753. //
  754. // The name is not valid.
  755. //
  756. hrInvalidName = HRESULT($C80003EA);
  757. {$EXTERNALSYM hrInvalidName}
  758. //
  759. // MessageId: hrInvalidParameter
  760. //
  761. // MessageText:
  762. //
  763. // The parameter is not valid.
  764. //
  765. hrInvalidParameter = HRESULT($C80003EB);
  766. {$EXTERNALSYM hrInvalidParameter}
  767. //
  768. // MessageId: hrColumnNull
  769. //
  770. // MessageText:
  771. //
  772. // The value of the column is null.
  773. //
  774. hrColumnNull = HRESULT($880003EC);
  775. {$EXTERNALSYM hrColumnNull}
  776. //
  777. // MessageId: hrBufferTruncated
  778. //
  779. // MessageText:
  780. //
  781. // The buffer is too small for data.
  782. //
  783. hrBufferTruncated = HRESULT($880003EE);
  784. {$EXTERNALSYM hrBufferTruncated}
  785. //
  786. // MessageId: hrDatabaseAttached
  787. //
  788. // MessageText:
  789. //
  790. // The database is already attached.
  791. //
  792. hrDatabaseAttached = HRESULT($880003EF);
  793. {$EXTERNALSYM hrDatabaseAttached}
  794. //
  795. // MessageId: hrInvalidDatabaseId
  796. //
  797. // MessageText:
  798. //
  799. // The database ID is not valid.
  800. //
  801. hrInvalidDatabaseId = HRESULT($C80003F2);
  802. {$EXTERNALSYM hrInvalidDatabaseId}
  803. //
  804. // MessageId: hrOutOfMemory
  805. //
  806. // MessageText:
  807. //
  808. // The computer is out of memory.
  809. //
  810. hrOutOfMemory = HRESULT($C80003F3);
  811. {$EXTERNALSYM hrOutOfMemory}
  812. //
  813. // MessageId: hrOutOfDatabaseSpace
  814. //
  815. // MessageText:
  816. //
  817. // The database has reached the maximum size of 16 GB.
  818. //
  819. hrOutOfDatabaseSpace = HRESULT($C80003F4);
  820. {$EXTERNALSYM hrOutOfDatabaseSpace}
  821. //
  822. // MessageId: hrOutOfCursors
  823. //
  824. // MessageText:
  825. //
  826. // Out of table cursors.
  827. //
  828. hrOutOfCursors = HRESULT($C80003F5);
  829. {$EXTERNALSYM hrOutOfCursors}
  830. //
  831. // MessageId: hrOutOfBuffers
  832. //
  833. // MessageText:
  834. //
  835. // Out of database page buffers.
  836. //
  837. hrOutOfBuffers = HRESULT($C80003F6);
  838. {$EXTERNALSYM hrOutOfBuffers}
  839. //
  840. // MessageId: hrTooManyIndexes
  841. //
  842. // MessageText:
  843. //
  844. // There are too many indexes.
  845. //
  846. hrTooManyIndexes = HRESULT($C80003F7);
  847. {$EXTERNALSYM hrTooManyIndexes}
  848. //
  849. // MessageId: hrTooManyKeys
  850. //
  851. // MessageText:
  852. //
  853. // There are too many columns in an index.
  854. //
  855. hrTooManyKeys = HRESULT($C80003F8);
  856. {$EXTERNALSYM hrTooManyKeys}
  857. //
  858. // MessageId: hrRecordDeleted
  859. //
  860. // MessageText:
  861. //
  862. // The record has been deleted.
  863. //
  864. hrRecordDeleted = HRESULT($C80003F9);
  865. {$EXTERNALSYM hrRecordDeleted}
  866. //
  867. // MessageId: hrReadVerifyFailure
  868. //
  869. // MessageText:
  870. //
  871. // A read verification error occurred.
  872. //
  873. hrReadVerifyFailure = HRESULT($C80003FA);
  874. {$EXTERNALSYM hrReadVerifyFailure}
  875. //
  876. // MessageId: hrOutOfFileHandles
  877. //
  878. // MessageText:
  879. //
  880. // Out of file handles.
  881. //
  882. hrOutOfFileHandles = HRESULT($C80003FC);
  883. {$EXTERNALSYM hrOutOfFileHandles}
  884. //
  885. // MessageId: hrDiskIO
  886. //
  887. // MessageText:
  888. //
  889. // A disk I/O error occurred.
  890. //
  891. hrDiskIO = HRESULT($C80003FE);
  892. {$EXTERNALSYM hrDiskIO}
  893. //
  894. // MessageId: hrInvalidPath
  895. //
  896. // MessageText:
  897. //
  898. // The path to the file is not valid.
  899. //
  900. hrInvalidPath = HRESULT($C80003FF);
  901. {$EXTERNALSYM hrInvalidPath}
  902. //
  903. // MessageId: hrRecordTooBig
  904. //
  905. // MessageText:
  906. //
  907. // The record has exceeded the maximum size.
  908. //
  909. hrRecordTooBig = HRESULT($C8000402);
  910. {$EXTERNALSYM hrRecordTooBig}
  911. //
  912. // MessageId: hrTooManyOpenDatabases
  913. //
  914. // MessageText:
  915. //
  916. // There are too many open databases.
  917. //
  918. hrTooManyOpenDatabases = HRESULT($C8000403);
  919. {$EXTERNALSYM hrTooManyOpenDatabases}
  920. //
  921. // MessageId: hrInvalidDatabase
  922. //
  923. // MessageText:
  924. //
  925. // The file is not a database file.
  926. //
  927. hrInvalidDatabase = HRESULT($C8000404);
  928. {$EXTERNALSYM hrInvalidDatabase}
  929. //
  930. // MessageId: hrNotInitialized
  931. //
  932. // MessageText:
  933. //
  934. // The database was not yet called.
  935. //
  936. hrNotInitialized = HRESULT($C8000405);
  937. {$EXTERNALSYM hrNotInitialized}
  938. //
  939. // MessageId: hrAlreadyInitialized
  940. //
  941. // MessageText:
  942. //
  943. // The database was already called.
  944. //
  945. hrAlreadyInitialized = HRESULT($C8000406);
  946. {$EXTERNALSYM hrAlreadyInitialized}
  947. //
  948. // MessageId: hrFileAccessDenied
  949. //
  950. // MessageText:
  951. //
  952. // Unable to access the file.
  953. //
  954. hrFileAccessDenied = HRESULT($C8000408);
  955. {$EXTERNALSYM hrFileAccessDenied}
  956. //
  957. // MessageId: hrBufferTooSmall
  958. //
  959. // MessageText:
  960. //
  961. // The buffer is too small.
  962. //
  963. hrBufferTooSmall = HRESULT($C800040E);
  964. {$EXTERNALSYM hrBufferTooSmall}
  965. //
  966. // MessageId: hrSeekNotEqual
  967. //
  968. // MessageText:
  969. //
  970. // Either SeekLE or SeekGE did not find an exact match.
  971. //
  972. hrSeekNotEqual = HRESULT($8800040F);
  973. {$EXTERNALSYM hrSeekNotEqual}
  974. //
  975. // MessageId: hrTooManyColumns
  976. //
  977. // MessageText:
  978. //
  979. // There are too many columns defined.
  980. //
  981. hrTooManyColumns = HRESULT($C8000410);
  982. {$EXTERNALSYM hrTooManyColumns}
  983. //
  984. // MessageId: hrContainerNotEmpty
  985. //
  986. // MessageText:
  987. //
  988. // The container is not empty.
  989. //
  990. hrContainerNotEmpty = HRESULT($C8000413);
  991. {$EXTERNALSYM hrContainerNotEmpty}
  992. //
  993. // MessageId: hrInvalidFilename
  994. //
  995. // MessageText:
  996. //
  997. // The filename is not valid.
  998. //
  999. hrInvalidFilename = HRESULT($C8000414);
  1000. {$EXTERNALSYM hrInvalidFilename}
  1001. //
  1002. // MessageId: hrInvalidBookmark
  1003. //
  1004. // MessageText:
  1005. //
  1006. // The bookmark is not valid.
  1007. //
  1008. hrInvalidBookmark = HRESULT($C8000415);
  1009. {$EXTERNALSYM hrInvalidBookmark}
  1010. //
  1011. // MessageId: hrColumnInUse
  1012. //
  1013. // MessageText:
  1014. //
  1015. // The column is used in an index.
  1016. //
  1017. hrColumnInUse = HRESULT($C8000416);
  1018. {$EXTERNALSYM hrColumnInUse}
  1019. //
  1020. // MessageId: hrInvalidBufferSize
  1021. //
  1022. // MessageText:
  1023. //
  1024. // The data buffer does not match the column size.
  1025. //
  1026. hrInvalidBufferSize = HRESULT($C8000417);
  1027. {$EXTERNALSYM hrInvalidBufferSize}
  1028. //
  1029. // MessageId: hrColumnNotUpdatable
  1030. //
  1031. // MessageText:
  1032. //
  1033. // Unable to set the column value.
  1034. //
  1035. hrColumnNotUpdatable = HRESULT($C8000418);
  1036. {$EXTERNALSYM hrColumnNotUpdatable}
  1037. //
  1038. // MessageId: hrIndexInUse
  1039. //
  1040. // MessageText:
  1041. //
  1042. // The index is in use.
  1043. //
  1044. hrIndexInUse = HRESULT($C800041B);
  1045. {$EXTERNALSYM hrIndexInUse}
  1046. //
  1047. // MessageId: hrNullKeyDisallowed
  1048. //
  1049. // MessageText:
  1050. //
  1051. // Null keys are not allowed on an index.
  1052. //
  1053. hrNullKeyDisallowed = HRESULT($C800041D);
  1054. {$EXTERNALSYM hrNullKeyDisallowed}
  1055. //
  1056. // MessageId: hrNotInTransaction
  1057. //
  1058. // MessageText:
  1059. //
  1060. // The operation must be within a transaction.
  1061. //
  1062. hrNotInTransaction = HRESULT($C800041E);
  1063. {$EXTERNALSYM hrNotInTransaction}
  1064. //
  1065. // MessageId: hrNoIdleActivity
  1066. //
  1067. // MessageText:
  1068. //
  1069. // No idle activity occurred.
  1070. //
  1071. hrNoIdleActivity = HRESULT($88000422);
  1072. {$EXTERNALSYM hrNoIdleActivity}
  1073. //
  1074. // MessageId: hrTooManyActiveUsers
  1075. //
  1076. // MessageText:
  1077. //
  1078. // There are too many active database users.
  1079. //
  1080. hrTooManyActiveUsers = HRESULT($C8000423);
  1081. {$EXTERNALSYM hrTooManyActiveUsers}
  1082. //
  1083. // MessageId: hrInvalidCountry
  1084. //
  1085. // MessageText:
  1086. //
  1087. // The country code is either not known or is not valid.
  1088. //
  1089. hrInvalidCountry = HRESULT($C8000425);
  1090. {$EXTERNALSYM hrInvalidCountry}
  1091. //
  1092. // MessageId: hrInvalidLanguageId
  1093. //
  1094. // MessageText:
  1095. //
  1096. // The language ID is either not known or is not valid.
  1097. //
  1098. hrInvalidLanguageId = HRESULT($C8000426);
  1099. {$EXTERNALSYM hrInvalidLanguageId}
  1100. //
  1101. // MessageId: hrInvalidCodePage
  1102. //
  1103. // MessageText:
  1104. //
  1105. // The code page is either not known or is not valid.
  1106. //
  1107. hrInvalidCodePage = HRESULT($C8000427);
  1108. {$EXTERNALSYM hrInvalidCodePage}
  1109. //
  1110. // MessageId: hrNoWriteLock
  1111. //
  1112. // MessageText:
  1113. //
  1114. // There is no write lock at transaction level 0.
  1115. //
  1116. hrNoWriteLock = HRESULT($8800042B);
  1117. {$EXTERNALSYM hrNoWriteLock}
  1118. //
  1119. // MessageId: hrColumnSetNull
  1120. //
  1121. // MessageText:
  1122. //
  1123. // The column value is set to null.
  1124. //
  1125. hrColumnSetNull = HRESULT($8800042C);
  1126. {$EXTERNALSYM hrColumnSetNull}
  1127. //
  1128. // MessageId: hrVersionStoreOutOfMemory
  1129. //
  1130. // MessageText:
  1131. //
  1132. // lMaxVerPages exceeded (XJET only)
  1133. //
  1134. hrVersionStoreOutOfMemory = HRESULT($C800042D);
  1135. {$EXTERNALSYM hrVersionStoreOutOfMemory}
  1136. //
  1137. // MessageId: hrCurrencyStackOutOfMemory
  1138. //
  1139. // MessageText:
  1140. //
  1141. // Out of cursors.
  1142. //
  1143. hrCurrencyStackOutOfMemory = HRESULT($C800042E);
  1144. {$EXTERNALSYM hrCurrencyStackOutOfMemory}
  1145. //
  1146. // MessageId: hrOutOfSessions
  1147. //
  1148. // MessageText:
  1149. //
  1150. // Out of sessions.
  1151. //
  1152. hrOutOfSessions = HRESULT($C800044D);
  1153. {$EXTERNALSYM hrOutOfSessions}
  1154. //
  1155. // MessageId: hrWriteConflict
  1156. //
  1157. // MessageText:
  1158. //
  1159. // The write lock failed due to an outstanding write lock.
  1160. //
  1161. hrWriteConflict = HRESULT($C800044E);
  1162. {$EXTERNALSYM hrWriteConflict}
  1163. //
  1164. // MessageId: hrTransTooDeep
  1165. //
  1166. // MessageText:
  1167. //
  1168. // The transactions are nested too deeply.
  1169. //
  1170. hrTransTooDeep = HRESULT($C800044F);
  1171. {$EXTERNALSYM hrTransTooDeep}
  1172. //
  1173. // MessageId: hrInvalidSesid
  1174. //
  1175. // MessageText:
  1176. //
  1177. // The session handle is not valid.
  1178. //
  1179. hrInvalidSesid = HRESULT($C8000450);
  1180. {$EXTERNALSYM hrInvalidSesid}
  1181. //
  1182. // MessageId: hrSessionWriteConflict
  1183. //
  1184. // MessageText:
  1185. //
  1186. // Another session has a private version of the page.
  1187. //
  1188. hrSessionWriteConflict = HRESULT($C8000453);
  1189. {$EXTERNALSYM hrSessionWriteConflict}
  1190. //
  1191. // MessageId: hrInTransaction
  1192. //
  1193. // MessageText:
  1194. //
  1195. // The operation is not allowed within a transaction.
  1196. //
  1197. hrInTransaction = HRESULT($C8000454);
  1198. {$EXTERNALSYM hrInTransaction}
  1199. //
  1200. // MessageId: hrDatabaseDuplicate
  1201. //
  1202. // MessageText:
  1203. //
  1204. // The database already exists.
  1205. //
  1206. hrDatabaseDuplicate = HRESULT($C80004B1);
  1207. {$EXTERNALSYM hrDatabaseDuplicate}
  1208. //
  1209. // MessageId: hrDatabaseInUse
  1210. //
  1211. // MessageText:
  1212. //
  1213. // The database is in use.
  1214. //
  1215. hrDatabaseInUse = HRESULT($C80004B2);
  1216. {$EXTERNALSYM hrDatabaseInUse}
  1217. //
  1218. // MessageId: hrDatabaseNotFound
  1219. //
  1220. // MessageText:
  1221. //
  1222. // The database does not exist.
  1223. //
  1224. hrDatabaseNotFound = HRESULT($C80004B3);
  1225. {$EXTERNALSYM hrDatabaseNotFound}
  1226. //
  1227. // MessageId: hrDatabaseInvalidName
  1228. //
  1229. // MessageText:
  1230. //
  1231. // The database name is not valid.
  1232. //
  1233. hrDatabaseInvalidName = HRESULT($C80004B4);
  1234. {$EXTERNALSYM hrDatabaseInvalidName}
  1235. //
  1236. // MessageId: hrDatabaseInvalidPages
  1237. //
  1238. // MessageText:
  1239. //
  1240. // The number of pages is not valid.
  1241. //
  1242. hrDatabaseInvalidPages = HRESULT($C80004B5);
  1243. {$EXTERNALSYM hrDatabaseInvalidPages}
  1244. //
  1245. // MessageId: hrDatabaseCorrupted
  1246. //
  1247. // MessageText:
  1248. //
  1249. // The database file is either damaged or cannot be found.
  1250. //
  1251. hrDatabaseCorrupted = HRESULT($C80004B6);
  1252. {$EXTERNALSYM hrDatabaseCorrupted}
  1253. //
  1254. // MessageId: hrDatabaseLocked
  1255. //
  1256. // MessageText:
  1257. //
  1258. // The database is locked.
  1259. //
  1260. hrDatabaseLocked = HRESULT($C80004B7);
  1261. {$EXTERNALSYM hrDatabaseLocked}
  1262. //
  1263. // MessageId: hrTableEmpty
  1264. //
  1265. // MessageText:
  1266. //
  1267. // An empty table was opened.
  1268. //
  1269. hrTableEmpty = HRESULT($88000515);
  1270. {$EXTERNALSYM hrTableEmpty}
  1271. //
  1272. // MessageId: hrTableLocked
  1273. //
  1274. // MessageText:
  1275. //
  1276. // The table is locked.
  1277. //
  1278. hrTableLocked = HRESULT($C8000516);
  1279. {$EXTERNALSYM hrTableLocked}
  1280. //
  1281. // MessageId: hrTableDuplicate
  1282. //
  1283. // MessageText:
  1284. //
  1285. // The table already exists.
  1286. //
  1287. hrTableDuplicate = HRESULT($C8000517);
  1288. {$EXTERNALSYM hrTableDuplicate}
  1289. //
  1290. // MessageId: hrTableInUse
  1291. //
  1292. // MessageText:
  1293. //
  1294. // Unable to lock the table because it is already in use.
  1295. //
  1296. hrTableInUse = HRESULT($C8000518);
  1297. {$EXTERNALSYM hrTableInUse}
  1298. //
  1299. // MessageId: hrObjectNotFound
  1300. //
  1301. // MessageText:
  1302. //
  1303. // The table or object does not exist.
  1304. //
  1305. hrObjectNotFound = HRESULT($C8000519);
  1306. {$EXTERNALSYM hrObjectNotFound}
  1307. //
  1308. // MessageId: hrCannotRename
  1309. //
  1310. // MessageText:
  1311. //
  1312. // Unable to rename the temporary file.
  1313. //
  1314. hrCannotRename = HRESULT($C800051A);
  1315. {$EXTERNALSYM hrCannotRename}
  1316. //
  1317. // MessageId: hrDensityInvalid
  1318. //
  1319. // MessageText:
  1320. //
  1321. // The file/index density is not valid.
  1322. //
  1323. hrDensityInvalid = HRESULT($C800051B);
  1324. {$EXTERNALSYM hrDensityInvalid}
  1325. //
  1326. // MessageId: hrTableNotEmpty
  1327. //
  1328. // MessageText:
  1329. //
  1330. // Unable to define the clustered index.
  1331. //
  1332. hrTableNotEmpty = HRESULT($C800051C);
  1333. {$EXTERNALSYM hrTableNotEmpty}
  1334. //
  1335. // MessageId: hrInvalidTableId
  1336. //
  1337. // MessageText:
  1338. //
  1339. // The table ID is not valid.
  1340. //
  1341. hrInvalidTableId = HRESULT($C800051E);
  1342. {$EXTERNALSYM hrInvalidTableId}
  1343. //
  1344. // MessageId: hrTooManyOpenTables
  1345. //
  1346. // MessageText:
  1347. //
  1348. // Unable to open any more tables.
  1349. //
  1350. hrTooManyOpenTables = HRESULT($C800051F);
  1351. {$EXTERNALSYM hrTooManyOpenTables}
  1352. //
  1353. // MessageId: hrIllegalOperation
  1354. //
  1355. // MessageText:
  1356. //
  1357. // The operation is not supported on tables.
  1358. //
  1359. hrIllegalOperation = HRESULT($C8000520);
  1360. {$EXTERNALSYM hrIllegalOperation}
  1361. //
  1362. // MessageId: hrObjectDuplicate
  1363. //
  1364. // MessageText:
  1365. //
  1366. // The table or object name is already being used.
  1367. //
  1368. hrObjectDuplicate = HRESULT($C8000522);
  1369. {$EXTERNALSYM hrObjectDuplicate}
  1370. //
  1371. // MessageId: hrInvalidObject
  1372. //
  1373. // MessageText:
  1374. //
  1375. // The object is not valid for operation.
  1376. //
  1377. hrInvalidObject = HRESULT($C8000524);
  1378. {$EXTERNALSYM hrInvalidObject}
  1379. //
  1380. // MessageId: hrIndexCantBuild
  1381. //
  1382. // MessageText:
  1383. //
  1384. // Unable to build a clustered index.
  1385. //
  1386. hrIndexCantBuild = HRESULT($C8000579);
  1387. {$EXTERNALSYM hrIndexCantBuild}
  1388. //
  1389. // MessageId: hrIndexHasPrimary
  1390. //
  1391. // MessageText:
  1392. //
  1393. // The primary index is already defined.
  1394. //
  1395. hrIndexHasPrimary = HRESULT($C800057A);
  1396. {$EXTERNALSYM hrIndexHasPrimary}
  1397. //
  1398. // MessageId: hrIndexDuplicate
  1399. //
  1400. // MessageText:
  1401. //
  1402. // The index is already defined.
  1403. //
  1404. hrIndexDuplicate = HRESULT($C800057B);
  1405. {$EXTERNALSYM hrIndexDuplicate}
  1406. //
  1407. // MessageId: hrIndexNotFound
  1408. //
  1409. // MessageText:
  1410. //
  1411. // The index does not exist.
  1412. //
  1413. hrIndexNotFound = HRESULT($C800057C);
  1414. {$EXTERNALSYM hrIndexNotFound}
  1415. //
  1416. // MessageId: hrIndexMustStay
  1417. //
  1418. // MessageText:
  1419. //
  1420. // Unable to delete a clustered index.
  1421. //
  1422. hrIndexMustStay = HRESULT($C800057D);
  1423. {$EXTERNALSYM hrIndexMustStay}
  1424. //
  1425. // MessageId: hrIndexInvalidDef
  1426. //
  1427. // MessageText:
  1428. //
  1429. // The index definition is illegal.
  1430. //
  1431. hrIndexInvalidDef = HRESULT($C800057E);
  1432. {$EXTERNALSYM hrIndexInvalidDef}
  1433. //
  1434. // MessageId: hrIndexHasClustered
  1435. //
  1436. // MessageText:
  1437. //
  1438. // The clustered index is already defined.
  1439. //
  1440. hrIndexHasClustered = HRESULT($C8000580);
  1441. {$EXTERNALSYM hrIndexHasClustered}
  1442. //
  1443. // MessageId: hrCreateIndexFailed
  1444. //
  1445. // MessageText:
  1446. //
  1447. // Unable to create the index because an error occurred while creating a table.
  1448. //
  1449. hrCreateIndexFailed = HRESULT($88000581);
  1450. {$EXTERNALSYM hrCreateIndexFailed}
  1451. //
  1452. // MessageId: hrTooManyOpenIndexes
  1453. //
  1454. // MessageText:
  1455. //
  1456. // Out of index description blocks.
  1457. //
  1458. hrTooManyOpenIndexes = HRESULT($C8000582);
  1459. {$EXTERNALSYM hrTooManyOpenIndexes}
  1460. //
  1461. // MessageId: hrColumnLong
  1462. //
  1463. // MessageText:
  1464. //
  1465. // The column value is too long.
  1466. //
  1467. hrColumnLong = HRESULT($C80005DD);
  1468. {$EXTERNALSYM hrColumnLong}
  1469. //
  1470. // MessageId: hrColumnDoesNotFit
  1471. //
  1472. // MessageText:
  1473. //
  1474. // The field will not fit in the record.
  1475. //
  1476. hrColumnDoesNotFit = HRESULT($C80005DF);
  1477. {$EXTERNALSYM hrColumnDoesNotFit}
  1478. //
  1479. // MessageId: hrNullInvalid
  1480. //
  1481. // MessageText:
  1482. //
  1483. // The value cannot be null.
  1484. //
  1485. hrNullInvalid = HRESULT($C80005E0);
  1486. {$EXTERNALSYM hrNullInvalid}
  1487. //
  1488. // MessageId: hrColumnIndexed
  1489. //
  1490. // MessageText:
  1491. //
  1492. // Unable to delete because the column is indexed.
  1493. //
  1494. hrColumnIndexed = HRESULT($C80005E1);
  1495. {$EXTERNALSYM hrColumnIndexed}
  1496. //
  1497. // MessageId: hrColumnTooBig
  1498. //
  1499. // MessageText:
  1500. //
  1501. // The length of the field exceeds the maximum length.
  1502. //
  1503. hrColumnTooBig = HRESULT($C80005E2);
  1504. {$EXTERNALSYM hrColumnTooBig}
  1505. //
  1506. // MessageId: hrColumnNotFound
  1507. //
  1508. // MessageText:
  1509. //
  1510. // Unable to find the column.
  1511. //
  1512. hrColumnNotFound = HRESULT($C80005E3);
  1513. {$EXTERNALSYM hrColumnNotFound}
  1514. //
  1515. // MessageId: hrColumnDuplicate
  1516. //
  1517. // MessageText:
  1518. //
  1519. // The field is already defined.
  1520. //
  1521. hrColumnDuplicate = HRESULT($C80005E4);
  1522. {$EXTERNALSYM hrColumnDuplicate}
  1523. //
  1524. // MessageId: hrColumn2ndSysMaint
  1525. //
  1526. // MessageText:
  1527. //
  1528. // Only one auto-increment or version column is allowed per table.
  1529. //
  1530. hrColumn2ndSysMaint = HRESULT($C80005E6);
  1531. {$EXTERNALSYM hrColumn2ndSysMaint}
  1532. //
  1533. // MessageId: hrInvalidColumnType
  1534. //
  1535. // MessageText:
  1536. //
  1537. // The column data type is not valid.
  1538. //
  1539. hrInvalidColumnType = HRESULT($C80005E7);
  1540. {$EXTERNALSYM hrInvalidColumnType}
  1541. //
  1542. // MessageId: hrColumnMaxTruncated
  1543. //
  1544. // MessageText:
  1545. //
  1546. // The column was truncated because it exceeded the maximum length.
  1547. //
  1548. hrColumnMaxTruncated = HRESULT($880005E8);
  1549. {$EXTERNALSYM hrColumnMaxTruncated}
  1550. //
  1551. // MessageId: hrColumnCannotIndex
  1552. //
  1553. // MessageText:
  1554. //
  1555. // Unable to index a long value column.
  1556. //
  1557. hrColumnCannotIndex = HRESULT($C80005E9);
  1558. {$EXTERNALSYM hrColumnCannotIndex}
  1559. //
  1560. // MessageId: hrTaggedNotNULL
  1561. //
  1562. // MessageText:
  1563. //
  1564. // Tagged columns cannot be null.
  1565. //
  1566. hrTaggedNotNULL = HRESULT($C80005EA);
  1567. {$EXTERNALSYM hrTaggedNotNULL}
  1568. //
  1569. // MessageId: hrNoCurrentIndex
  1570. //
  1571. // MessageText:
  1572. //
  1573. // The entry is not valid without a current index.
  1574. //
  1575. hrNoCurrentIndex = HRESULT($C80005EB);
  1576. {$EXTERNALSYM hrNoCurrentIndex}
  1577. //
  1578. // MessageId: hrKeyIsMade
  1579. //
  1580. // MessageText:
  1581. //
  1582. // The key is completely made.
  1583. //
  1584. hrKeyIsMade = HRESULT($C80005EC);
  1585. {$EXTERNALSYM hrKeyIsMade}
  1586. //
  1587. // MessageId: hrBadColumnId
  1588. //
  1589. // MessageText:
  1590. //
  1591. // The column ID is not correct.
  1592. //
  1593. hrBadColumnId = HRESULT($C80005ED);
  1594. {$EXTERNALSYM hrBadColumnId}
  1595. //
  1596. // MessageId: hrBadItagSequence
  1597. //
  1598. // MessageText:
  1599. //
  1600. // There is a bad instance identifier for a multivalued column.
  1601. //
  1602. hrBadItagSequence = HRESULT($C80005EE);
  1603. {$EXTERNALSYM hrBadItagSequence}
  1604. //
  1605. // MessageId: hrCannotBeTagged
  1606. //
  1607. // MessageText:
  1608. //
  1609. // AutoIncrement and Version cannot be multivalued.
  1610. //
  1611. hrCannotBeTagged = HRESULT($C80005F1);
  1612. {$EXTERNALSYM hrCannotBeTagged}
  1613. //
  1614. // MessageId: hrRecordNotFound
  1615. //
  1616. // MessageText:
  1617. //
  1618. // Unable to find the key.
  1619. //
  1620. hrRecordNotFound = HRESULT($C8000641);
  1621. {$EXTERNALSYM hrRecordNotFound}
  1622. //
  1623. // MessageId: hrNoCurrentRecord
  1624. //
  1625. // MessageText:
  1626. //
  1627. // The currency is not on a record.
  1628. //
  1629. hrNoCurrentRecord = HRESULT($C8000643);
  1630. {$EXTERNALSYM hrNoCurrentRecord}
  1631. //
  1632. // MessageId: hrRecordClusteredChanged
  1633. //
  1634. // MessageText:
  1635. //
  1636. // A clustered key cannot be changed.
  1637. //
  1638. hrRecordClusteredChanged = HRESULT($C8000644);
  1639. {$EXTERNALSYM hrRecordClusteredChanged}
  1640. //
  1641. // MessageId: hrKeyDuplicate
  1642. //
  1643. // MessageText:
  1644. //
  1645. // The key already exists.
  1646. //
  1647. hrKeyDuplicate = HRESULT($C8000645);
  1648. {$EXTERNALSYM hrKeyDuplicate}
  1649. //
  1650. // MessageId: hrAlreadyPrepared
  1651. //
  1652. // MessageText:
  1653. //
  1654. // The current entry has already been copied or cleared.
  1655. //
  1656. hrAlreadyPrepared = HRESULT($C8000647);
  1657. {$EXTERNALSYM hrAlreadyPrepared}
  1658. //
  1659. // MessageId: hrKeyNotMade
  1660. //
  1661. // MessageText:
  1662. //
  1663. // No key was made.
  1664. //
  1665. hrKeyNotMade = HRESULT($C8000648);
  1666. {$EXTERNALSYM hrKeyNotMade}
  1667. //
  1668. // MessageId: hrUpdateNotPrepared
  1669. //
  1670. // MessageText:
  1671. //
  1672. // Update was not prepared.
  1673. //
  1674. hrUpdateNotPrepared = HRESULT($C8000649);
  1675. {$EXTERNALSYM hrUpdateNotPrepared}
  1676. //
  1677. // MessageId: hrwrnDataHasChanged
  1678. //
  1679. // MessageText:
  1680. //
  1681. // Data has changed.
  1682. //
  1683. hrwrnDataHasChanged = HRESULT($8800064A);
  1684. {$EXTERNALSYM hrwrnDataHasChanged}
  1685. //
  1686. // MessageId: hrerrDataHasChanged
  1687. //
  1688. // MessageText:
  1689. //
  1690. // The operation was abandoned because data has changed.
  1691. //
  1692. hrerrDataHasChanged = HRESULT($C800064B);
  1693. {$EXTERNALSYM hrerrDataHasChanged}
  1694. //
  1695. // MessageId: hrKeyChanged
  1696. //
  1697. // MessageText:
  1698. //
  1699. // Moved to a new key.
  1700. //
  1701. hrKeyChanged = HRESULT($88000652);
  1702. {$EXTERNALSYM hrKeyChanged}
  1703. //
  1704. // MessageId: hrTooManySorts
  1705. //
  1706. // MessageText:
  1707. //
  1708. // There are too many sort processes.
  1709. //
  1710. hrTooManySorts = HRESULT($C80006A5);
  1711. {$EXTERNALSYM hrTooManySorts}
  1712. //
  1713. // MessageId: hrInvalidOnSort
  1714. //
  1715. // MessageText:
  1716. //
  1717. // An operation that is not valid occurred in the sort.
  1718. //
  1719. hrInvalidOnSort = HRESULT($C80006A6);
  1720. {$EXTERNALSYM hrInvalidOnSort}
  1721. //
  1722. // MessageId: hrTempFileOpenError
  1723. //
  1724. // MessageText:
  1725. //
  1726. // Unable to open the temporary file.
  1727. //
  1728. hrTempFileOpenError = HRESULT($C800070B);
  1729. {$EXTERNALSYM hrTempFileOpenError}
  1730. //
  1731. // MessageId: hrTooManyAttachedDatabases
  1732. //
  1733. // MessageText:
  1734. //
  1735. // There are too many databases open.
  1736. //
  1737. hrTooManyAttachedDatabases = HRESULT($C800070D);
  1738. {$EXTERNALSYM hrTooManyAttachedDatabases}
  1739. //
  1740. // MessageId: hrDiskFull
  1741. //
  1742. // MessageText:
  1743. //
  1744. // The disk is full.
  1745. //
  1746. hrDiskFull = HRESULT($C8000710);
  1747. {$EXTERNALSYM hrDiskFull}
  1748. //
  1749. // MessageId: hrPermissionDenied
  1750. //
  1751. // MessageText:
  1752. //
  1753. // Permission is denied.
  1754. //
  1755. hrPermissionDenied = HRESULT($C8000711);
  1756. {$EXTERNALSYM hrPermissionDenied}
  1757. //
  1758. // MessageId: hrFileNotFound
  1759. //
  1760. // MessageText:
  1761. //
  1762. // Unable to find the file.
  1763. //
  1764. hrFileNotFound = HRESULT($C8000713);
  1765. {$EXTERNALSYM hrFileNotFound}
  1766. //
  1767. // MessageId: hrFileOpenReadOnly
  1768. //
  1769. // MessageText:
  1770. //
  1771. // The database file is read only.
  1772. //
  1773. hrFileOpenReadOnly = HRESULT($88000715);
  1774. {$EXTERNALSYM hrFileOpenReadOnly}
  1775. //
  1776. // MessageId: hrAfterInitialization
  1777. //
  1778. // MessageText:
  1779. //
  1780. // Unable to restore after initialization.
  1781. //
  1782. hrAfterInitialization = HRESULT($C800073A);
  1783. {$EXTERNALSYM hrAfterInitialization}
  1784. //
  1785. // MessageId: hrLogCorrupted
  1786. //
  1787. // MessageText:
  1788. //
  1789. // The database log files are damaged.
  1790. //
  1791. hrLogCorrupted = HRESULT($C800073C);
  1792. {$EXTERNALSYM hrLogCorrupted}
  1793. //
  1794. // MessageId: hrInvalidOperation
  1795. //
  1796. // MessageText:
  1797. //
  1798. // The operation is not valid.
  1799. //
  1800. hrInvalidOperation = HRESULT($C8000772);
  1801. {$EXTERNALSYM hrInvalidOperation}
  1802. //
  1803. // MessageId: hrAccessDenied
  1804. //
  1805. // MessageText:
  1806. //
  1807. // Access is denied.
  1808. //
  1809. hrAccessDenied = HRESULT($C8000773);
  1810. {$EXTERNALSYM hrAccessDenied}
  1811. implementation
  1812. end.