Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef _NTDSBMSG_
      7 #define _NTDSBMSG_
      8 
      9 #define FACILITY_SYSTEM 0x0
     10 #define FACILITY_NTDSB 0x800
     11 #define FACILITY_BACKUP 0x7FF
     12 
     13 #define STATUS_SEVERITY_WARNING 0x2
     14 #define STATUS_SEVERITY_SUCCESS 0x0
     15 #define STATUS_SEVERITY_INFORMATIONAL 0x1
     16 #define STATUS_SEVERITY_ERROR 0x3
     17 
     18 #define hrNone ((HRESULT)0x00000000)
     19 #define hrNyi ((HRESULT)0xC0000001)
     20 #define hrInvalidParam ((HRESULT)0xC7FF0001)
     21 #define hrError ((HRESULT)0xC7FF0002)
     22 #define hrInvalidHandle ((HRESULT)0xC7FF0003)
     23 #define hrRestoreInProgress ((HRESULT)0xC7FF0004)
     24 #define hrAlreadyOpen ((HRESULT)0xC7FF0005)
     25 #define hrInvalidRecips ((HRESULT)0xC7FF0006)
     26 #define hrCouldNotConnect ((HRESULT)0xC7FF0007)
     27 #define hrRestoreMapExists ((HRESULT)0xC7FF0008)
     28 #define hrIncrementalBackupDisabled ((HRESULT)0xC7FF0009)
     29 #define hrLogFileNotFound ((HRESULT)0xC7FF000A)
     30 #define hrCircularLogging ((HRESULT)0xC7FF000B)
     31 #define hrNoFullRestore ((HRESULT)0xC7FF000C)
     32 #define hrCommunicationError ((HRESULT)0xC7FF000D)
     33 #define hrFullBackupNotTaken ((HRESULT)0xC7FF000E)
     34 #define hrMissingExpiryToken ((HRESULT)0xC7FF000F)
     35 #define hrUnknownExpiryTokenFormat ((HRESULT)0xC7FF0010)
     36 #define hrContentsExpired ((HRESULT)0xC7FF0011)
     37 #define hrAlreadyListening ((HRESULT)RPC_S_ALREADY_LISTENING)
     38 #define hrFileClose ((HRESULT)0xC8000066)
     39 #define hrOutOfThreads ((HRESULT)0xC8000067)
     40 #define hrTooManyIO ((HRESULT)0xC8000069)
     41 #define hrBFNotSynchronous ((HRESULT)0x880000C8)
     42 #define hrBFPageNotFound ((HRESULT)0x880000C9)
     43 #define hrBFInUse ((HRESULT)0xC80000CA)
     44 #define hrPMRecDeleted ((HRESULT)0xC800012E)
     45 #define hrRemainingVersions ((HRESULT)0x88000141)
     46 #define hrFLDKeyTooBig ((HRESULT)0x88000190)
     47 #define hrFLDTooManySegments ((HRESULT)0xC8000191)
     48 #define hrFLDNullKey ((HRESULT)0x88000192)
     49 #define hrLogFileCorrupt ((HRESULT)0xC80001F5)
     50 #define hrNoBackupDirectory ((HRESULT)0xC80001F7)
     51 #define hrBackupDirectoryNotEmpty ((HRESULT)0xC80001F8)
     52 #define hrBackupInProgress ((HRESULT)0xC80001F9)
     53 #define hrMissingPreviousLogFile ((HRESULT)0xC80001FD)
     54 #define hrLogWriteFail ((HRESULT)0xC80001FE)
     55 #define hrBadLogVersion ((HRESULT)0xC8000202)
     56 #define hrInvalidLogSequence ((HRESULT)0xC8000203)
     57 #define hrLoggingDisabled ((HRESULT)0xC8000204)
     58 #define hrLogBufferTooSmall ((HRESULT)0xC8000205)
     59 #define hrLogSequenceEnd ((HRESULT)0xC8000207)
     60 #define hrNoBackup ((HRESULT)0xC8000208)
     61 #define hrInvalidBackupSequence ((HRESULT)0xC8000209)
     62 #define hrBackupNotAllowedYet ((HRESULT)0xC800020B)
     63 #define hrDeleteBackupFileFail ((HRESULT)0xC800020C)
     64 #define hrMakeBackupDirectoryFail ((HRESULT)0xC800020D)
     65 #define hrInvalidBackup ((HRESULT)0xC800020E)
     66 #define hrRecoveredWithErrors ((HRESULT)0xC800020F)
     67 #define hrMissingLogFile ((HRESULT)0xC8000210)
     68 #define hrLogDiskFull ((HRESULT)0xC8000211)
     69 #define hrBadLogSignature ((HRESULT)0xC8000212)
     70 #define hrBadDbSignature ((HRESULT)0xC8000213)
     71 #define hrBadCheckpointSignature ((HRESULT)0xC8000214)
     72 #define hrCheckpointCorrupt ((HRESULT)0xC8000215)
     73 #define hrDatabaseInconsistent ((HRESULT)0xC8000226)
     74 #define hrConsistentTimeMismatch ((HRESULT)0xC8000227)
     75 #define hrPatchFileMismatch ((HRESULT)0xC8000228)
     76 #define hrRestoreLogTooLow ((HRESULT)0xC8000229)
     77 #define hrRestoreLogTooHigh ((HRESULT)0xC800022A)
     78 #define hrGivenLogFileHasBadSignature ((HRESULT)0xC800022B)
     79 #define hrGivenLogFileIsNotContiguous ((HRESULT)0xC800022C)
     80 #define hrMissingRestoreLogFiles ((HRESULT)0xC800022D)
     81 #define hrExistingLogFileHasBadSignature ((HRESULT)0x8800022E)
     82 #define hrExistingLogFileIsNotContiguous ((HRESULT)0x8800022F)
     83 #define hrMissingFullBackup ((HRESULT)0xC8000230)
     84 #define hrBadBackupDatabaseSize ((HRESULT)0xC8000231)
     85 #define hrTermInProgress ((HRESULT)0xC80003E8)
     86 #define hrFeatureNotAvailable ((HRESULT)0xC80003E9)
     87 #define hrInvalidName ((HRESULT)0xC80003EA)
     88 #define hrInvalidParameter ((HRESULT)0xC80003EB)
     89 #define hrColumnNull ((HRESULT)0x880003EC)
     90 #define hrBufferTruncated ((HRESULT)0x880003EE)
     91 #define hrDatabaseAttached ((HRESULT)0x880003EF)
     92 #define hrInvalidDatabaseId ((HRESULT)0xC80003F2)
     93 #define hrOutOfMemory ((HRESULT)0xC80003F3)
     94 #define hrOutOfDatabaseSpace ((HRESULT)0xC80003F4)
     95 #define hrOutOfCursors ((HRESULT)0xC80003F5)
     96 #define hrOutOfBuffers ((HRESULT)0xC80003F6)
     97 #define hrTooManyIndexes ((HRESULT)0xC80003F7)
     98 #define hrTooManyKeys ((HRESULT)0xC80003F8)
     99 #define hrRecordDeleted ((HRESULT)0xC80003F9)
    100 #define hrReadVerifyFailure ((HRESULT)0xC80003FA)
    101 #define hrOutOfFileHandles ((HRESULT)0xC80003FC)
    102 #define hrDiskIO ((HRESULT)0xC80003FE)
    103 #define hrInvalidPath ((HRESULT)0xC80003FF)
    104 #define hrRecordTooBig ((HRESULT)0xC8000402)
    105 #define hrTooManyOpenDatabases ((HRESULT)0xC8000403)
    106 #define hrInvalidDatabase ((HRESULT)0xC8000404)
    107 #define hrNotInitialized ((HRESULT)0xC8000405)
    108 #define hrAlreadyInitialized ((HRESULT)0xC8000406)
    109 #define hrFileAccessDenied ((HRESULT)0xC8000408)
    110 #define hrBufferTooSmall ((HRESULT)0xC800040E)
    111 #define hrSeekNotEqual ((HRESULT)0x8800040F)
    112 #define hrTooManyColumns ((HRESULT)0xC8000410)
    113 #define hrContainerNotEmpty ((HRESULT)0xC8000413)
    114 #define hrInvalidFilename ((HRESULT)0xC8000414)
    115 #define hrInvalidBookmark ((HRESULT)0xC8000415)
    116 #define hrColumnInUse ((HRESULT)0xC8000416)
    117 #define hrInvalidBufferSize ((HRESULT)0xC8000417)
    118 #define hrColumnNotUpdatable ((HRESULT)0xC8000418)
    119 #define hrIndexInUse ((HRESULT)0xC800041B)
    120 #define hrNullKeyDisallowed ((HRESULT)0xC800041D)
    121 #define hrNotInTransaction ((HRESULT)0xC800041E)
    122 #define hrNoIdleActivity ((HRESULT)0x88000422)
    123 #define hrTooManyActiveUsers ((HRESULT)0xC8000423)
    124 #define hrInvalidCountry ((HRESULT)0xC8000425)
    125 #define hrInvalidLanguageId ((HRESULT)0xC8000426)
    126 #define hrInvalidCodePage ((HRESULT)0xC8000427)
    127 #define hrNoWriteLock ((HRESULT)0x8800042B)
    128 #define hrColumnSetNull ((HRESULT)0x8800042C)
    129 #define hrVersionStoreOutOfMemory ((HRESULT)0xC800042D)
    130 #define hrCurrencyStackOutOfMemory ((HRESULT)0xC800042E)
    131 #define hrOutOfSessions ((HRESULT)0xC800044D)
    132 #define hrWriteConflict ((HRESULT)0xC800044E)
    133 #define hrTransTooDeep ((HRESULT)0xC800044F)
    134 #define hrInvalidSesid ((HRESULT)0xC8000450)
    135 #define hrSessionWriteConflict ((HRESULT)0xC8000453)
    136 #define hrInTransaction ((HRESULT)0xC8000454)
    137 #define hrDatabaseDuplicate ((HRESULT)0xC80004B1)
    138 #define hrDatabaseInUse ((HRESULT)0xC80004B2)
    139 #define hrDatabaseNotFound ((HRESULT)0xC80004B3)
    140 #define hrDatabaseInvalidName ((HRESULT)0xC80004B4)
    141 #define hrDatabaseInvalidPages ((HRESULT)0xC80004B5)
    142 #define hrDatabaseCorrupted ((HRESULT)0xC80004B6)
    143 #define hrDatabaseLocked ((HRESULT)0xC80004B7)
    144 #define hrTableEmpty ((HRESULT)0x88000515)
    145 #define hrTableLocked ((HRESULT)0xC8000516)
    146 #define hrTableDuplicate ((HRESULT)0xC8000517)
    147 #define hrTableInUse ((HRESULT)0xC8000518)
    148 #define hrObjectNotFound ((HRESULT)0xC8000519)
    149 #define hrCannotRename ((HRESULT)0xC800051A)
    150 #define hrDensityInvalid ((HRESULT)0xC800051B)
    151 #define hrTableNotEmpty ((HRESULT)0xC800051C)
    152 #define hrInvalidTableId ((HRESULT)0xC800051E)
    153 #define hrTooManyOpenTables ((HRESULT)0xC800051F)
    154 #define hrIllegalOperation ((HRESULT)0xC8000520)
    155 #define hrObjectDuplicate ((HRESULT)0xC8000522)
    156 #define hrInvalidObject ((HRESULT)0xC8000524)
    157 #define hrIndexCantBuild ((HRESULT)0xC8000579)
    158 #define hrIndexHasPrimary ((HRESULT)0xC800057A)
    159 #define hrIndexDuplicate ((HRESULT)0xC800057B)
    160 #define hrIndexNotFound ((HRESULT)0xC800057C)
    161 #define hrIndexMustStay ((HRESULT)0xC800057D)
    162 #define hrIndexInvalidDef ((HRESULT)0xC800057E)
    163 #define hrIndexHasClustered ((HRESULT)0xC8000580)
    164 #define hrCreateIndexFailed ((HRESULT)0x88000581)
    165 #define hrTooManyOpenIndexes ((HRESULT)0xC8000582)
    166 #define hrColumnLong ((HRESULT)0xC80005DD)
    167 #define hrColumnDoesNotFit ((HRESULT)0xC80005DF)
    168 #define hrNullInvalid ((HRESULT)0xC80005E0)
    169 #define hrColumnIndexed ((HRESULT)0xC80005E1)
    170 #define hrColumnTooBig ((HRESULT)0xC80005E2)
    171 #define hrColumnNotFound ((HRESULT)0xC80005E3)
    172 #define hrColumnDuplicate ((HRESULT)0xC80005E4)
    173 #define hrColumn2ndSysMaint ((HRESULT)0xC80005E6)
    174 #define hrInvalidColumnType ((HRESULT)0xC80005E7)
    175 #define hrColumnMaxTruncated ((HRESULT)0x880005E8)
    176 #define hrColumnCannotIndex ((HRESULT)0xC80005E9)
    177 #define hrTaggedNotNULL ((HRESULT)0xC80005EA)
    178 #define hrNoCurrentIndex ((HRESULT)0xC80005EB)
    179 #define hrKeyIsMade ((HRESULT)0xC80005EC)
    180 #define hrBadColumnId ((HRESULT)0xC80005ED)
    181 #define hrBadItagSequence ((HRESULT)0xC80005EE)
    182 #define hrCannotBeTagged ((HRESULT)0xC80005F1)
    183 #define hrRecordNotFound ((HRESULT)0xC8000641)
    184 #define hrNoCurrentRecord ((HRESULT)0xC8000643)
    185 #define hrRecordClusteredChanged ((HRESULT)0xC8000644)
    186 #define hrKeyDuplicate ((HRESULT)0xC8000645)
    187 #define hrAlreadyPrepared ((HRESULT)0xC8000647)
    188 #define hrKeyNotMade ((HRESULT)0xC8000648)
    189 #define hrUpdateNotPrepared ((HRESULT)0xC8000649)
    190 #define hrwrnDataHasChanged ((HRESULT)0x8800064A)
    191 #define hrerrDataHasChanged ((HRESULT)0xC800064B)
    192 #define hrKeyChanged ((HRESULT)0x88000652)
    193 #define hrTooManySorts ((HRESULT)0xC80006A5)
    194 #define hrInvalidOnSort ((HRESULT)0xC80006A6)
    195 #define hrTempFileOpenError ((HRESULT)0xC800070B)
    196 #define hrTooManyAttachedDatabases ((HRESULT)0xC800070D)
    197 #define hrDiskFull ((HRESULT)0xC8000710)
    198 #define hrPermissionDenied ((HRESULT)0xC8000711)
    199 #define hrFileNotFound ((HRESULT)0xC8000713)
    200 #define hrFileOpenReadOnly ((HRESULT)0x88000715)
    201 #define hrAfterInitialization ((HRESULT)0xC800073A)
    202 #define hrLogCorrupted ((HRESULT)0xC800073C)
    203 #define hrInvalidOperation ((HRESULT)0xC8000772)
    204 #define hrAccessDenied ((HRESULT)0xC8000773)
    205 
    206 #endif
    207