1
{******************************************************************************}
3
{ DS Backup/Restore Error Codes API interface Unit for Object Pascal }
5
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
6
{ Corporation. All Rights Reserved. }
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). }
12
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
13
{ Marcel van Brakel. All Rights Reserved. }
15
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
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 }
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 }
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. }
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. }
39
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
41
{******************************************************************************}
43
// $Id: JwaNtDsBMsg.pas,v 1.7 2005/09/03 16:10:31 marquardt Exp $
57
{$HPPEMIT '#include "NtDsBMsg.h"'}
61
// Windows NT Directory Service Backup/Restore API error codes
62
// Copyright (C) 1996-1999, Microsoft Corporation
69
// Values are 32 bit values layed out as follows:
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
// +---+-+-+-----------------------+-------------------------------+
79
// Sev - is the severity code
86
// C - is the Customer code flag
88
// R - is a reserved bit
90
// Facility - is the facility code
92
// Code - is the facility's status code
95
// Define the facility codes
100
{$EXTERNALSYM FACILITY_SYSTEM}
101
FACILITY_NTDSB = $800;
102
{$EXTERNALSYM FACILITY_NTDSB}
103
FACILITY_BACKUP = $7FF;
104
{$EXTERNALSYM FACILITY_BACKUP}
107
// Define the severity codes
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}
124
// The operation was successful
126
hrNone = HRESULT($00000000);
127
{$EXTERNALSYM hrNone}
137
// The function is not yet implemented
139
hrNyi = HRESULT($C0000001);
146
// MessageId: hrInvalidParam
150
// The parameter is not valid.
152
hrInvalidParam = HRESULT($C7FF0001);
153
{$EXTERNALSYM hrInvalidParam}
156
// MessageId: hrError
160
// An internal error has occurred.
162
hrError = HRESULT($C7FF0002);
163
{$EXTERNALSYM hrError}
166
// MessageId: hrInvalidHandle
170
// The handle is not valid.
172
hrInvalidHandle = HRESULT($C7FF0003);
173
{$EXTERNALSYM hrInvalidHandle}
176
// MessageId: hrRestoreInProgress
180
// The Restore process is already in progress.
182
hrRestoreInProgress = HRESULT($C7FF0004);
183
{$EXTERNALSYM hrRestoreInProgress}
186
// MessageId: hrAlreadyOpen
190
// The file specified is already open.
192
hrAlreadyOpen = HRESULT($C7FF0005);
193
{$EXTERNALSYM hrAlreadyOpen}
196
// MessageId: hrInvalidRecips
200
// The recipients are invalid.
202
hrInvalidRecips = HRESULT($C7FF0006);
203
{$EXTERNALSYM hrInvalidRecips}
206
// MessageId: hrCouldNotConnect
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.
213
hrCouldNotConnect = HRESULT($C7FF0007);
214
{$EXTERNALSYM hrCouldNotConnect}
217
// MessageId: hrRestoreMapExists
221
// A restore map already exists for the specified component. You can only specify
222
// a restore map when performing a full restore.
224
hrRestoreMapExists = HRESULT($C7FF0008);
225
{$EXTERNALSYM hrRestoreMapExists}
228
// MessageId: hrIncrementalBackupDisabled
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.
235
hrIncrementalBackupDisabled = HRESULT($C7FF0009);
236
{$EXTERNALSYM hrIncrementalBackupDisabled}
239
// MessageId: hrLogFileNotFound
243
// Unable to perform an incremental backup because a required Windows NT Directory Service database log file could not be found.
245
hrLogFileNotFound = HRESULT($C7FF000A);
246
{$EXTERNALSYM hrLogFileNotFound}
249
// MessageId: hrCircularLogging
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.
256
hrCircularLogging = HRESULT($C7FF000B);
257
{$EXTERNALSYM hrCircularLogging}
260
// MessageId: hrNoFullRestore
264
// The databases have not been restored to this machine. You cannot restore an incremental backup
265
// until a full backup has been restored.
267
hrNoFullRestore = HRESULT($C7FF000C);
268
{$EXTERNALSYM hrNoFullRestore}
271
// MessageId: hrCommunicationError
275
// A communications error occurred while attempting to perform a local backup.
277
hrCommunicationError = HRESULT($C7FF000D);
278
{$EXTERNALSYM hrCommunicationError}
281
// MessageId: hrFullBackupNotTaken
285
// You must perform a full backup before you can perform an incremental backup.
287
hrFullBackupNotTaken = HRESULT($C7FF000E);
288
{$EXTERNALSYM hrFullBackupNotTaken}
291
// MessageId: hrMissingExpiryToken
295
// Expiry token is missing. Cannot restore without knowing the expiry information.
297
hrMissingExpiryToken = HRESULT($C7FF000F);
298
{$EXTERNALSYM hrMissingExpiryToken}
301
// MessageId: hrUnknownExpiryTokenFormat
305
// Expiry token is in unrecognizable format.
307
hrUnknownExpiryTokenFormat = HRESULT($C7FF0010);
308
{$EXTERNALSYM hrUnknownExpiryTokenFormat}
311
// MessageId: hrContentsExpired
315
// DS Contents in the backup copy are out of date. Try restoring with a more recent copy.
317
hrContentsExpired = HRESULT($C7FF0011);
318
{$EXTERNALSYM hrContentsExpired}
320
hrAlreadyListening = HRESULT(RPC_S_ALREADY_LISTENING);
321
{$EXTERNALSYM hrAlreadyListening}
330
// MessageId: hrFileClose
334
// Unable to close the DOS file
336
hrFileClose = HRESULT($C8000066);
337
{$EXTERNALSYM hrFileClose}
340
// MessageId: hrOutOfThreads
344
// Unable to start a thread because there are none available.
346
hrOutOfThreads = HRESULT($C8000067);
347
{$EXTERNALSYM hrOutOfThreads}
350
// MessageId: hrTooManyIO
354
// The system is busy because there are too many I/Os.
356
hrTooManyIO = HRESULT($C8000069);
357
{$EXTERNALSYM hrTooManyIO}
360
// BUFFER MANAGER errors
363
// MessageId: hrBFNotSynchronous
367
// The buffer page has been evicted.
369
hrBFNotSynchronous = HRESULT($880000C8);
370
{$EXTERNALSYM hrBFNotSynchronous}
373
// MessageId: hrBFPageNotFound
377
// Unable to find the page.
379
hrBFPageNotFound = HRESULT($880000C9);
380
{$EXTERNALSYM hrBFPageNotFound}
383
// MessageId: hrBFInUse
387
// Unable to abandon the buffer.
389
hrBFInUse = HRESULT($C80000CA);
390
{$EXTERNALSYM hrBFInUse}
393
// DIRECTORY MANAGER errors
396
// MessageId: hrPMRecDeleted
400
// The record has been deleted.
402
hrPMRecDeleted = HRESULT($C800012E);
403
{$EXTERNALSYM hrPMRecDeleted}
406
// MessageId: hrRemainingVersions
410
// There is idle work remaining.
412
hrRemainingVersions = HRESULT($88000141);
413
{$EXTERNALSYM hrRemainingVersions}
416
// RECORD MANAGER errors
419
// MessageId: hrFLDKeyTooBig
423
// The key was truncated because it exceeded the maximum length.
425
hrFLDKeyTooBig = HRESULT($88000190);
426
{$EXTERNALSYM hrFLDKeyTooBig}
429
// MessageId: hrFLDTooManySegments
433
// There are too many key segments.
435
hrFLDTooManySegments = HRESULT($C8000191);
436
{$EXTERNALSYM hrFLDTooManySegments}
439
// MessageId: hrFLDNullKey
445
hrFLDNullKey = HRESULT($88000192);
446
{$EXTERNALSYM hrFLDNullKey}
449
// LOGGING/RECOVERY errors
452
// MessageId: hrLogFileCorrupt
456
// The log file is damaged.
458
hrLogFileCorrupt = HRESULT($C80001F5);
459
{$EXTERNALSYM hrLogFileCorrupt}
462
// MessageId: hrNoBackupDirectory
466
// No backup directory was given.
468
hrNoBackupDirectory = HRESULT($C80001F7);
469
{$EXTERNALSYM hrNoBackupDirectory}
472
// MessageId: hrBackupDirectoryNotEmpty
476
// The backup directory is not empty.
478
hrBackupDirectoryNotEmpty = HRESULT($C80001F8);
479
{$EXTERNALSYM hrBackupDirectoryNotEmpty}
482
// MessageId: hrBackupInProgress
486
// Backup is already active.
488
hrBackupInProgress = HRESULT($C80001F9);
489
{$EXTERNALSYM hrBackupInProgress}
492
// MessageId: hrMissingPreviousLogFile
496
// A log file for the checkpoint is missing.
498
hrMissingPreviousLogFile = HRESULT($C80001FD);
499
{$EXTERNALSYM hrMissingPreviousLogFile}
502
// MessageId: hrLogWriteFail
506
// Unable to write to the log file.
508
hrLogWriteFail = HRESULT($C80001FE);
509
{$EXTERNALSYM hrLogWriteFail}
512
// MessageId: hrBadLogVersion
516
// The version of the log file is not compatible with the version of the Windows NT Directory Service database (NTDS).
518
hrBadLogVersion = HRESULT($C8000202);
519
{$EXTERNALSYM hrBadLogVersion}
522
// MessageId: hrInvalidLogSequence
526
// The time stamp in the next log does not match what was expected.
528
hrInvalidLogSequence = HRESULT($C8000203);
529
{$EXTERNALSYM hrInvalidLogSequence}
532
// MessageId: hrLoggingDisabled
536
// The log is not active.
538
hrLoggingDisabled = HRESULT($C8000204);
539
{$EXTERNALSYM hrLoggingDisabled}
542
// MessageId: hrLogBufferTooSmall
546
// The log buffer is too small to be recovered.
548
hrLogBufferTooSmall = HRESULT($C8000205);
549
{$EXTERNALSYM hrLogBufferTooSmall}
552
// MessageId: hrLogSequenceEnd
556
// The maximum number of log files has been exceeded.
558
hrLogSequenceEnd = HRESULT($C8000207);
559
{$EXTERNALSYM hrLogSequenceEnd}
562
// MessageId: hrNoBackup
566
// There is no backup in progress.
568
hrNoBackup = HRESULT($C8000208);
569
{$EXTERNALSYM hrNoBackup}
572
// MessageId: hrInvalidBackupSequence
576
// The backup call is out of sequence.
578
hrInvalidBackupSequence = HRESULT($C8000209);
579
{$EXTERNALSYM hrInvalidBackupSequence}
582
// MessageId: hrBackupNotAllowedYet
586
// Unable to perform a backup now.
588
hrBackupNotAllowedYet = HRESULT($C800020B);
589
{$EXTERNALSYM hrBackupNotAllowedYet}
592
// MessageId: hrDeleteBackupFileFail
596
// Unable to delete the backup file.
598
hrDeleteBackupFileFail = HRESULT($C800020C);
599
{$EXTERNALSYM hrDeleteBackupFileFail}
602
// MessageId: hrMakeBackupDirectoryFail
606
// Unable to make a backup temporary directory.
608
hrMakeBackupDirectoryFail = HRESULT($C800020D);
609
{$EXTERNALSYM hrMakeBackupDirectoryFail}
612
// MessageId: hrInvalidBackup
616
// An incremental backup cannot be performed when circular logging is enabled.
618
hrInvalidBackup = HRESULT($C800020E);
619
{$EXTERNALSYM hrInvalidBackup}
622
// MessageId: hrRecoveredWithErrors
626
// Errors were encountered during the repair process.
628
hrRecoveredWithErrors = HRESULT($C800020F);
629
{$EXTERNALSYM hrRecoveredWithErrors}
632
// MessageId: hrMissingLogFile
636
// The current log file is missing.
638
hrMissingLogFile = HRESULT($C8000210);
639
{$EXTERNALSYM hrMissingLogFile}
642
// MessageId: hrLogDiskFull
646
// The log disk is full.
648
hrLogDiskFull = HRESULT($C8000211);
649
{$EXTERNALSYM hrLogDiskFull}
652
// MessageId: hrBadLogSignature
656
// A log file is damaged.
658
hrBadLogSignature = HRESULT($C8000212);
659
{$EXTERNALSYM hrBadLogSignature}
662
// MessageId: hrBadDbSignature
666
// A database file is damaged.
668
hrBadDbSignature = HRESULT($C8000213);
669
{$EXTERNALSYM hrBadDbSignature}
672
// MessageId: hrBadCheckpointSignature
676
// A checkpoint file is damaged.
678
hrBadCheckpointSignature = HRESULT($C8000214);
679
{$EXTERNALSYM hrBadCheckpointSignature}
682
// MessageId: hrCheckpointCorrupt
686
// A checkpoint file either could not be found or is damaged.
688
hrCheckpointCorrupt = HRESULT($C8000215);
689
{$EXTERNALSYM hrCheckpointCorrupt}
692
// MessageId: hrDatabaseInconsistent
696
// The database is damaged.
698
hrDatabaseInconsistent = HRESULT($C8000226);
699
{$EXTERNALSYM hrDatabaseInconsistent}
702
// MessageId: hrConsistentTimeMismatch
706
// There is a mismatch in the database's last consistent time.
708
hrConsistentTimeMismatch = HRESULT($C8000227);
709
{$EXTERNALSYM hrConsistentTimeMismatch}
712
// MessageId: hrPatchFileMismatch
716
// The patch file is not generated from this backup.
718
hrPatchFileMismatch = HRESULT($C8000228);
719
{$EXTERNALSYM hrPatchFileMismatch}
722
// MessageId: hrRestoreLogTooLow
726
// The starting log number is too low for the restore.
728
hrRestoreLogTooLow = HRESULT($C8000229);
729
{$EXTERNALSYM hrRestoreLogTooLow}
732
// MessageId: hrRestoreLogTooHigh
736
// The starting log number is too high for the restore.
738
hrRestoreLogTooHigh = HRESULT($C800022A);
739
{$EXTERNALSYM hrRestoreLogTooHigh}
742
// MessageId: hrGivenLogFileHasBadSignature
746
// The log file downloaded from the tape is damaged.
748
hrGivenLogFileHasBadSignature = HRESULT($C800022B);
749
{$EXTERNALSYM hrGivenLogFileHasBadSignature}
752
// MessageId: hrGivenLogFileIsNotContiguous
756
// Unable to find a mandatory log file after the tape was downloaded.
758
hrGivenLogFileIsNotContiguous = HRESULT($C800022C);
759
{$EXTERNALSYM hrGivenLogFileIsNotContiguous}
762
// MessageId: hrMissingRestoreLogFiles
766
// The data is not fully restored because some log files are missing.
768
hrMissingRestoreLogFiles = HRESULT($C800022D);
769
{$EXTERNALSYM hrMissingRestoreLogFiles}
772
// MessageId: hrExistingLogFileHasBadSignature
776
// The log file in the log file path is damaged.
778
hrExistingLogFileHasBadSignature = HRESULT($8800022E);
779
{$EXTERNALSYM hrExistingLogFileHasBadSignature}
782
// MessageId: hrExistingLogFileIsNotContiguous
786
// Unable to find a mandatory log file in the log file path.
788
hrExistingLogFileIsNotContiguous = HRESULT($8800022F);
789
{$EXTERNALSYM hrExistingLogFileIsNotContiguous}
792
// MessageId: hrMissingFullBackup
796
// The database missed a previous full backup before the incremental backup.
798
hrMissingFullBackup = HRESULT($C8000230);
799
{$EXTERNALSYM hrMissingFullBackup}
802
// MessageId: hrBadBackupDatabaseSize
806
// The backup database size must be a multiple of 4K (4096 bytes).
808
hrBadBackupDatabaseSize = HRESULT($C8000231);
809
{$EXTERNALSYM hrBadBackupDatabaseSize}
812
// MessageId: hrTermInProgress
816
// The database is being shut down.
818
hrTermInProgress = HRESULT($C80003E8);
819
{$EXTERNALSYM hrTermInProgress}
822
// MessageId: hrFeatureNotAvailable
826
// The feature is not available.
828
hrFeatureNotAvailable = HRESULT($C80003E9);
829
{$EXTERNALSYM hrFeatureNotAvailable}
832
// MessageId: hrInvalidName
836
// The name is not valid.
838
hrInvalidName = HRESULT($C80003EA);
839
{$EXTERNALSYM hrInvalidName}
842
// MessageId: hrInvalidParameter
846
// The parameter is not valid.
848
hrInvalidParameter = HRESULT($C80003EB);
849
{$EXTERNALSYM hrInvalidParameter}
852
// MessageId: hrColumnNull
856
// The value of the column is null.
858
hrColumnNull = HRESULT($880003EC);
859
{$EXTERNALSYM hrColumnNull}
862
// MessageId: hrBufferTruncated
866
// The buffer is too small for data.
868
hrBufferTruncated = HRESULT($880003EE);
869
{$EXTERNALSYM hrBufferTruncated}
872
// MessageId: hrDatabaseAttached
876
// The database is already attached.
878
hrDatabaseAttached = HRESULT($880003EF);
879
{$EXTERNALSYM hrDatabaseAttached}
882
// MessageId: hrInvalidDatabaseId
886
// The database ID is not valid.
888
hrInvalidDatabaseId = HRESULT($C80003F2);
889
{$EXTERNALSYM hrInvalidDatabaseId}
892
// MessageId: hrOutOfMemory
896
// The computer is out of memory.
898
hrOutOfMemory = HRESULT($C80003F3);
899
{$EXTERNALSYM hrOutOfMemory}
902
// MessageId: hrOutOfDatabaseSpace
906
// The database has reached the maximum size of 16 GB.
908
hrOutOfDatabaseSpace = HRESULT($C80003F4);
909
{$EXTERNALSYM hrOutOfDatabaseSpace}
912
// MessageId: hrOutOfCursors
916
// Out of table cursors.
918
hrOutOfCursors = HRESULT($C80003F5);
919
{$EXTERNALSYM hrOutOfCursors}
922
// MessageId: hrOutOfBuffers
926
// Out of database page buffers.
928
hrOutOfBuffers = HRESULT($C80003F6);
929
{$EXTERNALSYM hrOutOfBuffers}
932
// MessageId: hrTooManyIndexes
936
// There are too many indexes.
938
hrTooManyIndexes = HRESULT($C80003F7);
939
{$EXTERNALSYM hrTooManyIndexes}
942
// MessageId: hrTooManyKeys
946
// There are too many columns in an index.
948
hrTooManyKeys = HRESULT($C80003F8);
949
{$EXTERNALSYM hrTooManyKeys}
952
// MessageId: hrRecordDeleted
956
// The record has been deleted.
958
hrRecordDeleted = HRESULT($C80003F9);
959
{$EXTERNALSYM hrRecordDeleted}
962
// MessageId: hrReadVerifyFailure
966
// A read verification error occurred.
968
hrReadVerifyFailure = HRESULT($C80003FA);
969
{$EXTERNALSYM hrReadVerifyFailure}
972
// MessageId: hrOutOfFileHandles
976
// Out of file handles.
978
hrOutOfFileHandles = HRESULT($C80003FC);
979
{$EXTERNALSYM hrOutOfFileHandles}
982
// MessageId: hrDiskIO
986
// A disk I/O error occurred.
988
hrDiskIO = HRESULT($C80003FE);
989
{$EXTERNALSYM hrDiskIO}
992
// MessageId: hrInvalidPath
996
// The path to the file is not valid.
998
hrInvalidPath = HRESULT($C80003FF);
999
{$EXTERNALSYM hrInvalidPath}
1002
// MessageId: hrRecordTooBig
1006
// The record has exceeded the maximum size.
1008
hrRecordTooBig = HRESULT($C8000402);
1009
{$EXTERNALSYM hrRecordTooBig}
1012
// MessageId: hrTooManyOpenDatabases
1016
// There are too many open databases.
1018
hrTooManyOpenDatabases = HRESULT($C8000403);
1019
{$EXTERNALSYM hrTooManyOpenDatabases}
1022
// MessageId: hrInvalidDatabase
1026
// The file is not a database file.
1028
hrInvalidDatabase = HRESULT($C8000404);
1029
{$EXTERNALSYM hrInvalidDatabase}
1032
// MessageId: hrNotInitialized
1036
// The database was not yet called.
1038
hrNotInitialized = HRESULT($C8000405);
1039
{$EXTERNALSYM hrNotInitialized}
1042
// MessageId: hrAlreadyInitialized
1046
// The database was already called.
1048
hrAlreadyInitialized = HRESULT($C8000406);
1049
{$EXTERNALSYM hrAlreadyInitialized}
1052
// MessageId: hrFileAccessDenied
1056
// Unable to access the file.
1058
hrFileAccessDenied = HRESULT($C8000408);
1059
{$EXTERNALSYM hrFileAccessDenied}
1062
// MessageId: hrBufferTooSmall
1066
// The buffer is too small.
1068
hrBufferTooSmall = HRESULT($C800040E);
1069
{$EXTERNALSYM hrBufferTooSmall}
1072
// MessageId: hrSeekNotEqual
1076
// Either SeekLE or SeekGE did not find an exact match.
1078
hrSeekNotEqual = HRESULT($8800040F);
1079
{$EXTERNALSYM hrSeekNotEqual}
1082
// MessageId: hrTooManyColumns
1086
// There are too many columns defined.
1088
hrTooManyColumns = HRESULT($C8000410);
1089
{$EXTERNALSYM hrTooManyColumns}
1092
// MessageId: hrContainerNotEmpty
1096
// The container is not empty.
1098
hrContainerNotEmpty = HRESULT($C8000413);
1099
{$EXTERNALSYM hrContainerNotEmpty}
1102
// MessageId: hrInvalidFilename
1106
// The filename is not valid.
1108
hrInvalidFilename = HRESULT($C8000414);
1109
{$EXTERNALSYM hrInvalidFilename}
1112
// MessageId: hrInvalidBookmark
1116
// The bookmark is not valid.
1118
hrInvalidBookmark = HRESULT($C8000415);
1119
{$EXTERNALSYM hrInvalidBookmark}
1122
// MessageId: hrColumnInUse
1126
// The column is used in an index.
1128
hrColumnInUse = HRESULT($C8000416);
1129
{$EXTERNALSYM hrColumnInUse}
1132
// MessageId: hrInvalidBufferSize
1136
// The data buffer does not match the column size.
1138
hrInvalidBufferSize = HRESULT($C8000417);
1139
{$EXTERNALSYM hrInvalidBufferSize}
1142
// MessageId: hrColumnNotUpdatable
1146
// Unable to set the column value.
1148
hrColumnNotUpdatable = HRESULT($C8000418);
1149
{$EXTERNALSYM hrColumnNotUpdatable}
1152
// MessageId: hrIndexInUse
1156
// The index is in use.
1158
hrIndexInUse = HRESULT($C800041B);
1159
{$EXTERNALSYM hrIndexInUse}
1162
// MessageId: hrNullKeyDisallowed
1166
// Null keys are not allowed on an index.
1168
hrNullKeyDisallowed = HRESULT($C800041D);
1169
{$EXTERNALSYM hrNullKeyDisallowed}
1172
// MessageId: hrNotInTransaction
1176
// The operation must be within a transaction.
1178
hrNotInTransaction = HRESULT($C800041E);
1179
{$EXTERNALSYM hrNotInTransaction}
1182
// MessageId: hrNoIdleActivity
1186
// No idle activity occurred.
1188
hrNoIdleActivity = HRESULT($88000422);
1189
{$EXTERNALSYM hrNoIdleActivity}
1192
// MessageId: hrTooManyActiveUsers
1196
// There are too many active database users.
1198
hrTooManyActiveUsers = HRESULT($C8000423);
1199
{$EXTERNALSYM hrTooManyActiveUsers}
1202
// MessageId: hrInvalidCountry
1206
// The country code is either not known or is not valid.
1208
hrInvalidCountry = HRESULT($C8000425);
1209
{$EXTERNALSYM hrInvalidCountry}
1212
// MessageId: hrInvalidLanguageId
1216
// The language ID is either not known or is not valid.
1218
hrInvalidLanguageId = HRESULT($C8000426);
1219
{$EXTERNALSYM hrInvalidLanguageId}
1222
// MessageId: hrInvalidCodePage
1226
// The code page is either not known or is not valid.
1228
hrInvalidCodePage = HRESULT($C8000427);
1229
{$EXTERNALSYM hrInvalidCodePage}
1232
// MessageId: hrNoWriteLock
1236
// There is no write lock at transaction level 0.
1238
hrNoWriteLock = HRESULT($8800042B);
1239
{$EXTERNALSYM hrNoWriteLock}
1242
// MessageId: hrColumnSetNull
1246
// The column value is set to null.
1248
hrColumnSetNull = HRESULT($8800042C);
1249
{$EXTERNALSYM hrColumnSetNull}
1252
// MessageId: hrVersionStoreOutOfMemory
1256
// lMaxVerPages exceeded (XJET only)
1258
hrVersionStoreOutOfMemory = HRESULT($C800042D);
1259
{$EXTERNALSYM hrVersionStoreOutOfMemory}
1262
// MessageId: hrCurrencyStackOutOfMemory
1268
hrCurrencyStackOutOfMemory = HRESULT($C800042E);
1269
{$EXTERNALSYM hrCurrencyStackOutOfMemory}
1272
// MessageId: hrOutOfSessions
1278
hrOutOfSessions = HRESULT($C800044D);
1279
{$EXTERNALSYM hrOutOfSessions}
1282
// MessageId: hrWriteConflict
1286
// The write lock failed due to an outstanding write lock.
1288
hrWriteConflict = HRESULT($C800044E);
1289
{$EXTERNALSYM hrWriteConflict}
1292
// MessageId: hrTransTooDeep
1296
// The transactions are nested too deeply.
1298
hrTransTooDeep = HRESULT($C800044F);
1299
{$EXTERNALSYM hrTransTooDeep}
1302
// MessageId: hrInvalidSesid
1306
// The session handle is not valid.
1308
hrInvalidSesid = HRESULT($C8000450);
1309
{$EXTERNALSYM hrInvalidSesid}
1312
// MessageId: hrSessionWriteConflict
1316
// Another session has a private version of the page.
1318
hrSessionWriteConflict = HRESULT($C8000453);
1319
{$EXTERNALSYM hrSessionWriteConflict}
1322
// MessageId: hrInTransaction
1326
// The operation is not allowed within a transaction.
1328
hrInTransaction = HRESULT($C8000454);
1329
{$EXTERNALSYM hrInTransaction}
1332
// MessageId: hrDatabaseDuplicate
1336
// The database already exists.
1338
hrDatabaseDuplicate = HRESULT($C80004B1);
1339
{$EXTERNALSYM hrDatabaseDuplicate}
1342
// MessageId: hrDatabaseInUse
1346
// The database is in use.
1348
hrDatabaseInUse = HRESULT($C80004B2);
1349
{$EXTERNALSYM hrDatabaseInUse}
1352
// MessageId: hrDatabaseNotFound
1356
// The database does not exist.
1358
hrDatabaseNotFound = HRESULT($C80004B3);
1359
{$EXTERNALSYM hrDatabaseNotFound}
1362
// MessageId: hrDatabaseInvalidName
1366
// The database name is not valid.
1368
hrDatabaseInvalidName = HRESULT($C80004B4);
1369
{$EXTERNALSYM hrDatabaseInvalidName}
1372
// MessageId: hrDatabaseInvalidPages
1376
// The number of pages is not valid.
1378
hrDatabaseInvalidPages = HRESULT($C80004B5);
1379
{$EXTERNALSYM hrDatabaseInvalidPages}
1382
// MessageId: hrDatabaseCorrupted
1386
// The database file is either damaged or cannot be found.
1388
hrDatabaseCorrupted = HRESULT($C80004B6);
1389
{$EXTERNALSYM hrDatabaseCorrupted}
1392
// MessageId: hrDatabaseLocked
1396
// The database is locked.
1398
hrDatabaseLocked = HRESULT($C80004B7);
1399
{$EXTERNALSYM hrDatabaseLocked}
1402
// MessageId: hrTableEmpty
1406
// An empty table was opened.
1408
hrTableEmpty = HRESULT($88000515);
1409
{$EXTERNALSYM hrTableEmpty}
1412
// MessageId: hrTableLocked
1416
// The table is locked.
1418
hrTableLocked = HRESULT($C8000516);
1419
{$EXTERNALSYM hrTableLocked}
1422
// MessageId: hrTableDuplicate
1426
// The table already exists.
1428
hrTableDuplicate = HRESULT($C8000517);
1429
{$EXTERNALSYM hrTableDuplicate}
1432
// MessageId: hrTableInUse
1436
// Unable to lock the table because it is already in use.
1438
hrTableInUse = HRESULT($C8000518);
1439
{$EXTERNALSYM hrTableInUse}
1442
// MessageId: hrObjectNotFound
1446
// The table or object does not exist.
1448
hrObjectNotFound = HRESULT($C8000519);
1449
{$EXTERNALSYM hrObjectNotFound}
1452
// MessageId: hrCannotRename
1456
// Unable to rename the temporary file.
1458
hrCannotRename = HRESULT($C800051A);
1459
{$EXTERNALSYM hrCannotRename}
1462
// MessageId: hrDensityInvalid
1466
// The file/index density is not valid.
1468
hrDensityInvalid = HRESULT($C800051B);
1469
{$EXTERNALSYM hrDensityInvalid}
1472
// MessageId: hrTableNotEmpty
1476
// Unable to define the clustered index.
1478
hrTableNotEmpty = HRESULT($C800051C);
1479
{$EXTERNALSYM hrTableNotEmpty}
1482
// MessageId: hrInvalidTableId
1486
// The table ID is not valid.
1488
hrInvalidTableId = HRESULT($C800051E);
1489
{$EXTERNALSYM hrInvalidTableId}
1492
// MessageId: hrTooManyOpenTables
1496
// Unable to open any more tables.
1498
hrTooManyOpenTables = HRESULT($C800051F);
1499
{$EXTERNALSYM hrTooManyOpenTables}
1502
// MessageId: hrIllegalOperation
1506
// The operation is not supported on tables.
1508
hrIllegalOperation = HRESULT($C8000520);
1509
{$EXTERNALSYM hrIllegalOperation}
1512
// MessageId: hrObjectDuplicate
1516
// The table or object name is already being used.
1518
hrObjectDuplicate = HRESULT($C8000522);
1519
{$EXTERNALSYM hrObjectDuplicate}
1522
// MessageId: hrInvalidObject
1526
// The object is not valid for operation.
1528
hrInvalidObject = HRESULT($C8000524);
1529
{$EXTERNALSYM hrInvalidObject}
1532
// MessageId: hrIndexCantBuild
1536
// Unable to build a clustered index.
1538
hrIndexCantBuild = HRESULT($C8000579);
1539
{$EXTERNALSYM hrIndexCantBuild}
1542
// MessageId: hrIndexHasPrimary
1546
// The primary index is already defined.
1548
hrIndexHasPrimary = HRESULT($C800057A);
1549
{$EXTERNALSYM hrIndexHasPrimary}
1552
// MessageId: hrIndexDuplicate
1556
// The index is already defined.
1558
hrIndexDuplicate = HRESULT($C800057B);
1559
{$EXTERNALSYM hrIndexDuplicate}
1562
// MessageId: hrIndexNotFound
1566
// The index does not exist.
1568
hrIndexNotFound = HRESULT($C800057C);
1569
{$EXTERNALSYM hrIndexNotFound}
1572
// MessageId: hrIndexMustStay
1576
// Unable to delete a clustered index.
1578
hrIndexMustStay = HRESULT($C800057D);
1579
{$EXTERNALSYM hrIndexMustStay}
1582
// MessageId: hrIndexInvalidDef
1586
// The index definition is illegal.
1588
hrIndexInvalidDef = HRESULT($C800057E);
1589
{$EXTERNALSYM hrIndexInvalidDef}
1592
// MessageId: hrIndexHasClustered
1596
// The clustered index is already defined.
1598
hrIndexHasClustered = HRESULT($C8000580);
1599
{$EXTERNALSYM hrIndexHasClustered}
1602
// MessageId: hrCreateIndexFailed
1606
// Unable to create the index because an error occurred while creating a table.
1608
hrCreateIndexFailed = HRESULT($88000581);
1609
{$EXTERNALSYM hrCreateIndexFailed}
1612
// MessageId: hrTooManyOpenIndexes
1616
// Out of index description blocks.
1618
hrTooManyOpenIndexes = HRESULT($C8000582);
1619
{$EXTERNALSYM hrTooManyOpenIndexes}
1622
// MessageId: hrColumnLong
1626
// The column value is too long.
1628
hrColumnLong = HRESULT($C80005DD);
1629
{$EXTERNALSYM hrColumnLong}
1632
// MessageId: hrColumnDoesNotFit
1636
// The field will not fit in the record.
1638
hrColumnDoesNotFit = HRESULT($C80005DF);
1639
{$EXTERNALSYM hrColumnDoesNotFit}
1642
// MessageId: hrNullInvalid
1646
// The value cannot be null.
1648
hrNullInvalid = HRESULT($C80005E0);
1649
{$EXTERNALSYM hrNullInvalid}
1652
// MessageId: hrColumnIndexed
1656
// Unable to delete because the column is indexed.
1658
hrColumnIndexed = HRESULT($C80005E1);
1659
{$EXTERNALSYM hrColumnIndexed}
1662
// MessageId: hrColumnTooBig
1666
// The length of the field exceeds the maximum length.
1668
hrColumnTooBig = HRESULT($C80005E2);
1669
{$EXTERNALSYM hrColumnTooBig}
1672
// MessageId: hrColumnNotFound
1676
// Unable to find the column.
1678
hrColumnNotFound = HRESULT($C80005E3);
1679
{$EXTERNALSYM hrColumnNotFound}
1682
// MessageId: hrColumnDuplicate
1686
// The field is already defined.
1688
hrColumnDuplicate = HRESULT($C80005E4);
1689
{$EXTERNALSYM hrColumnDuplicate}
1692
// MessageId: hrColumn2ndSysMaint
1696
// Only one auto-increment or version column is allowed per table.
1698
hrColumn2ndSysMaint = HRESULT($C80005E6);
1699
{$EXTERNALSYM hrColumn2ndSysMaint}
1702
// MessageId: hrInvalidColumnType
1706
// The column data type is not valid.
1708
hrInvalidColumnType = HRESULT($C80005E7);
1709
{$EXTERNALSYM hrInvalidColumnType}
1712
// MessageId: hrColumnMaxTruncated
1716
// The column was truncated because it exceeded the maximum length.
1718
hrColumnMaxTruncated = HRESULT($880005E8);
1719
{$EXTERNALSYM hrColumnMaxTruncated}
1722
// MessageId: hrColumnCannotIndex
1726
// Unable to index a long value column.
1728
hrColumnCannotIndex = HRESULT($C80005E9);
1729
{$EXTERNALSYM hrColumnCannotIndex}
1732
// MessageId: hrTaggedNotNULL
1736
// Tagged columns cannot be null.
1738
hrTaggedNotNULL = HRESULT($C80005EA);
1739
{$EXTERNALSYM hrTaggedNotNULL}
1742
// MessageId: hrNoCurrentIndex
1746
// The entry is not valid without a current index.
1748
hrNoCurrentIndex = HRESULT($C80005EB);
1749
{$EXTERNALSYM hrNoCurrentIndex}
1752
// MessageId: hrKeyIsMade
1756
// The key is completely made.
1758
hrKeyIsMade = HRESULT($C80005EC);
1759
{$EXTERNALSYM hrKeyIsMade}
1762
// MessageId: hrBadColumnId
1766
// The column ID is not correct.
1768
hrBadColumnId = HRESULT($C80005ED);
1769
{$EXTERNALSYM hrBadColumnId}
1772
// MessageId: hrBadItagSequence
1776
// There is a bad instance identifier for a multivalued column.
1778
hrBadItagSequence = HRESULT($C80005EE);
1779
{$EXTERNALSYM hrBadItagSequence}
1782
// MessageId: hrCannotBeTagged
1786
// AutoIncrement and Version cannot be multivalued.
1788
hrCannotBeTagged = HRESULT($C80005F1);
1789
{$EXTERNALSYM hrCannotBeTagged}
1792
// MessageId: hrRecordNotFound
1796
// Unable to find the key.
1798
hrRecordNotFound = HRESULT($C8000641);
1799
{$EXTERNALSYM hrRecordNotFound}
1802
// MessageId: hrNoCurrentRecord
1806
// The currency is not on a record.
1808
hrNoCurrentRecord = HRESULT($C8000643);
1809
{$EXTERNALSYM hrNoCurrentRecord}
1812
// MessageId: hrRecordClusteredChanged
1816
// A clustered key cannot be changed.
1818
hrRecordClusteredChanged = HRESULT($C8000644);
1819
{$EXTERNALSYM hrRecordClusteredChanged}
1822
// MessageId: hrKeyDuplicate
1826
// The key already exists.
1828
hrKeyDuplicate = HRESULT($C8000645);
1829
{$EXTERNALSYM hrKeyDuplicate}
1832
// MessageId: hrAlreadyPrepared
1836
// The current entry has already been copied or cleared.
1838
hrAlreadyPrepared = HRESULT($C8000647);
1839
{$EXTERNALSYM hrAlreadyPrepared}
1842
// MessageId: hrKeyNotMade
1848
hrKeyNotMade = HRESULT($C8000648);
1849
{$EXTERNALSYM hrKeyNotMade}
1852
// MessageId: hrUpdateNotPrepared
1856
// Update was not prepared.
1858
hrUpdateNotPrepared = HRESULT($C8000649);
1859
{$EXTERNALSYM hrUpdateNotPrepared}
1862
// MessageId: hrwrnDataHasChanged
1866
// Data has changed.
1868
hrwrnDataHasChanged = HRESULT($8800064A);
1869
{$EXTERNALSYM hrwrnDataHasChanged}
1872
// MessageId: hrerrDataHasChanged
1876
// The operation was abandoned because data has changed.
1878
hrerrDataHasChanged = HRESULT($C800064B);
1879
{$EXTERNALSYM hrerrDataHasChanged}
1882
// MessageId: hrKeyChanged
1886
// Moved to a new key.
1888
hrKeyChanged = HRESULT($88000652);
1889
{$EXTERNALSYM hrKeyChanged}
1892
// MessageId: hrTooManySorts
1896
// There are too many sort processes.
1898
hrTooManySorts = HRESULT($C80006A5);
1899
{$EXTERNALSYM hrTooManySorts}
1902
// MessageId: hrInvalidOnSort
1906
// An operation that is not valid occurred in the sort.
1908
hrInvalidOnSort = HRESULT($C80006A6);
1909
{$EXTERNALSYM hrInvalidOnSort}
1912
// MessageId: hrTempFileOpenError
1916
// Unable to open the temporary file.
1918
hrTempFileOpenError = HRESULT($C800070B);
1919
{$EXTERNALSYM hrTempFileOpenError}
1922
// MessageId: hrTooManyAttachedDatabases
1926
// There are too many databases open.
1928
hrTooManyAttachedDatabases = HRESULT($C800070D);
1929
{$EXTERNALSYM hrTooManyAttachedDatabases}
1932
// MessageId: hrDiskFull
1936
// The disk is full.
1938
hrDiskFull = HRESULT($C8000710);
1939
{$EXTERNALSYM hrDiskFull}
1942
// MessageId: hrPermissionDenied
1946
// Permission is denied.
1948
hrPermissionDenied = HRESULT($C8000711);
1949
{$EXTERNALSYM hrPermissionDenied}
1952
// MessageId: hrFileNotFound
1956
// Unable to find the file.
1958
hrFileNotFound = HRESULT($C8000713);
1959
{$EXTERNALSYM hrFileNotFound}
1962
// MessageId: hrFileOpenReadOnly
1966
// The database file is read only.
1968
hrFileOpenReadOnly = HRESULT($88000715);
1969
{$EXTERNALSYM hrFileOpenReadOnly}
1972
// MessageId: hrAfterInitialization
1976
// Unable to restore after initialization.
1978
hrAfterInitialization = HRESULT($C800073A);
1979
{$EXTERNALSYM hrAfterInitialization}
1982
// MessageId: hrLogCorrupted
1986
// The database log files are damaged.
1988
hrLogCorrupted = HRESULT($C800073C);
1989
{$EXTERNALSYM hrLogCorrupted}
1992
// MessageId: hrInvalidOperation
1996
// The operation is not valid.
1998
hrInvalidOperation = HRESULT($C8000772);
1999
{$EXTERNALSYM hrInvalidOperation}
2002
// MessageId: hrAccessDenied
2006
// Access is denied.
2008
hrAccessDenied = HRESULT($C8000773);
2009
{$EXTERNALSYM hrAccessDenied}