jwantdsbmsg.pas 39 KB

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