jwantdsbmsg.pas 39 KB

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