~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/base/winunits/jwantdsbmsg.pas

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

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