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 _CIERROR_H_
      7 #define _CIERROR_H_
      8 #ifndef FACILITY_WINDOWS
      9 
     10 #define FACILITY_WINDOWS 0x8
     11 #define FACILITY_NULL 0x0
     12 #define FACILITY_ITF 0x4
     13 
     14 #define STATUS_SEVERITY_SUCCESS 0x0
     15 #define STATUS_SEVERITY_COFAIL 0x3
     16 #define STATUS_SEVERITY_COERROR 0x2
     17 
     18 #define NOT_AN_ERROR1 ((HRESULT)0x00081600)
     19 #endif
     20 
     21 #define QUERY_E_FAILED ((HRESULT)0x80041600)
     22 #define QUERY_E_INVALIDQUERY ((HRESULT)0x80041601)
     23 #define QUERY_E_INVALIDRESTRICTION ((HRESULT)0x80041602)
     24 #define QUERY_E_INVALIDSORT ((HRESULT)0x80041603)
     25 #define QUERY_E_INVALIDCATEGORIZE ((HRESULT)0x80041604)
     26 #define QUERY_E_ALLNOISE ((HRESULT)0x80041605)
     27 #define QUERY_E_TOOCOMPLEX ((HRESULT)0x80041606)
     28 #define QUERY_E_TIMEDOUT ((HRESULT)0x80041607)
     29 #define QUERY_E_DUPLICATE_OUTPUT_COLUMN ((HRESULT)0x80041608)
     30 #define QUERY_E_INVALID_OUTPUT_COLUMN ((HRESULT)0x80041609)
     31 #define QUERY_E_INVALID_DIRECTORY ((HRESULT)0x8004160A)
     32 #define QUERY_E_DIR_ON_REMOVABLE_DRIVE ((HRESULT)0x8004160B)
     33 #define QUERY_S_NO_QUERY ((HRESULT)0x8004160C)
     34 #define QPLIST_E_CANT_OPEN_FILE ((HRESULT)0x80041651)
     35 #define QPLIST_E_READ_ERROR ((HRESULT)0x80041652)
     36 #define QPLIST_E_EXPECTING_NAME ((HRESULT)0x80041653)
     37 #define QPLIST_E_EXPECTING_TYPE ((HRESULT)0x80041654)
     38 #define QPLIST_E_UNRECOGNIZED_TYPE ((HRESULT)0x80041655)
     39 #define QPLIST_E_EXPECTING_INTEGER ((HRESULT)0x80041656)
     40 #define QPLIST_E_EXPECTING_CLOSE_PAREN ((HRESULT)0x80041657)
     41 #define QPLIST_E_EXPECTING_GUID ((HRESULT)0x80041658)
     42 #define QPLIST_E_BAD_GUID ((HRESULT)0x80041659)
     43 #define QPLIST_E_EXPECTING_PROP_SPEC ((HRESULT)0x8004165A)
     44 #define QPLIST_E_CANT_SET_PROPERTY ((HRESULT)0x8004165B)
     45 #define QPLIST_E_DUPLICATE ((HRESULT)0x8004165C)
     46 #define QPLIST_E_VECTORBYREF_USED_ALONE ((HRESULT)0x8004165D)
     47 #define QPLIST_E_BYREF_USED_WITHOUT_PTRTYPE ((HRESULT)0x8004165E)
     48 #define QPARSE_E_UNEXPECTED_NOT ((HRESULT)0x80041660)
     49 #define QPARSE_E_EXPECTING_INTEGER ((HRESULT)0x80041661)
     50 #define QPARSE_E_EXPECTING_REAL ((HRESULT)0x80041662)
     51 #define QPARSE_E_EXPECTING_DATE ((HRESULT)0x80041663)
     52 #define QPARSE_E_EXPECTING_CURRENCY ((HRESULT)0x80041664)
     53 #define QPARSE_E_EXPECTING_GUID ((HRESULT)0x80041665)
     54 #define QPARSE_E_EXPECTING_BRACE ((HRESULT)0x80041666)
     55 #define QPARSE_E_EXPECTING_PAREN ((HRESULT)0x80041667)
     56 #define QPARSE_E_EXPECTING_PROPERTY ((HRESULT)0x80041668)
     57 #define QPARSE_E_NOT_YET_IMPLEMENTED ((HRESULT)0x80041669)
     58 #define QPARSE_E_EXPECTING_PHRASE ((HRESULT)0x8004166A)
     59 #define QPARSE_E_UNSUPPORTED_PROPERTY_TYPE ((HRESULT)0x8004166B)
     60 #define QPARSE_E_EXPECTING_REGEX ((HRESULT)0x8004166C)
     61 #define QPARSE_E_EXPECTING_REGEX_PROPERTY ((HRESULT)0x8004166D)
     62 #define QPARSE_E_INVALID_LITERAL ((HRESULT)0x8004166E)
     63 #define QPARSE_E_NO_SUCH_PROPERTY ((HRESULT)0x8004166F)
     64 #define QPARSE_E_EXPECTING_EOS ((HRESULT)0x80041670)
     65 #define QPARSE_E_EXPECTING_COMMA ((HRESULT)0x80041671)
     66 #define QPARSE_E_UNEXPECTED_EOS ((HRESULT)0x80041672)
     67 #define QPARSE_E_WEIGHT_OUT_OF_RANGE ((HRESULT)0x80041673)
     68 #define QPARSE_E_NO_SUCH_SORT_PROPERTY ((HRESULT)0x80041674)
     69 #define QPARSE_E_INVALID_SORT_ORDER ((HRESULT)0x80041675)
     70 #define QUTIL_E_CANT_CONVERT_VROOT ((HRESULT)0x80041676)
     71 #define QPARSE_E_INVALID_GROUPING ((HRESULT)0x80041677)
     72 #define QUTIL_E_INVALID_CODEPAGE ((HRESULT)0xC0041678)
     73 #define QPLIST_S_DUPLICATE ((HRESULT)0x00041679)
     74 #define QPARSE_E_INVALID_QUERY ((HRESULT)0x8004167A)
     75 #define QPARSE_E_INVALID_RANKMETHOD ((HRESULT)0x8004167B)
     76 #define FDAEMON_W_WORDLISTFULL ((HRESULT)0x00041680)
     77 #define FDAEMON_E_LOWRESOURCE ((HRESULT)0x80041681)
     78 #define FDAEMON_E_FATALERROR ((HRESULT)0x80041682)
     79 #define FDAEMON_E_PARTITIONDELETED ((HRESULT)0x80041683)
     80 #define FDAEMON_E_CHANGEUPDATEFAILED ((HRESULT)0x80041684)
     81 #define FDAEMON_W_EMPTYWORDLIST ((HRESULT)0x00041685)
     82 #define FDAEMON_E_WORDLISTCOMMITFAILED ((HRESULT)0x80041686)
     83 #define FDAEMON_E_NOWORDLIST ((HRESULT)0x80041687)
     84 #define FDAEMON_E_TOOMANYFILTEREDBLOCKS ((HRESULT)0x80041688)
     85 #define SEARCH_S_NOMOREHITS ((HRESULT)0x000416A0)
     86 #define SEARCH_E_NOMONIKER ((HRESULT)0x800416A1)
     87 #define SEARCH_E_NOREGION ((HRESULT)0x800416A2)
     88 #define FILTER_E_TOO_BIG ((HRESULT)0x80041730)
     89 #define FILTER_S_PARTIAL_CONTENTSCAN_IMMEDIATE ((HRESULT)0x00041731)
     90 #define FILTER_S_FULL_CONTENTSCAN_IMMEDIATE ((HRESULT)0x00041732)
     91 #define FILTER_S_CONTENTSCAN_DELAYED ((HRESULT)0x00041733)
     92 #define FILTER_E_CONTENTINDEXCORRUPT ((HRESULT)0xC0041734)
     93 #define FILTER_S_DISK_FULL ((HRESULT)0x00041735)
     94 #define FILTER_E_ALREADY_OPEN ((HRESULT)0x80041736)
     95 #define FILTER_E_UNREACHABLE ((HRESULT)0x80041737)
     96 #define FILTER_E_IN_USE ((HRESULT)0x80041738)
     97 #define FILTER_E_NOT_OPEN ((HRESULT)0x80041739)
     98 #define FILTER_S_NO_PROPSETS ((HRESULT)0x0004173A)
     99 #define FILTER_E_NO_SUCH_PROPERTY ((HRESULT)0x8004173B)
    100 #define FILTER_S_NO_SECURITY_DESCRIPTOR ((HRESULT)0x0004173C)
    101 #define FILTER_E_OFFLINE ((HRESULT)0x8004173D)
    102 #define FILTER_E_PARTIALLY_FILTERED ((HRESULT)0x8004173E)
    103 #define WBREAK_E_END_OF_TEXT ((HRESULT)0x80041780)
    104 #define LANGUAGE_S_LARGE_WORD ((HRESULT)0x00041781)
    105 #define WBREAK_E_QUERY_ONLY ((HRESULT)0x80041782)
    106 #define WBREAK_E_BUFFER_TOO_SMALL ((HRESULT)0x80041783)
    107 #define LANGUAGE_E_DATABASE_NOT_FOUND ((HRESULT)0x80041784)
    108 #define WBREAK_E_INIT_FAILED ((HRESULT)0x80041785)
    109 #define PSINK_E_QUERY_ONLY ((HRESULT)0x80041790)
    110 #define PSINK_E_INDEX_ONLY ((HRESULT)0x80041791)
    111 #define PSINK_E_LARGE_ATTACHMENT ((HRESULT)0x80041792)
    112 #define PSINK_S_LARGE_WORD ((HRESULT)0x00041793)
    113 #define CI_CORRUPT_DATABASE ((HRESULT)0xC0041800)
    114 #define CI_CORRUPT_CATALOG ((HRESULT)0xC0041801)
    115 #define CI_INVALID_PARTITION ((HRESULT)0xC0041802)
    116 #define CI_INVALID_PRIORITY ((HRESULT)0xC0041803)
    117 #define CI_NO_STARTING_KEY ((HRESULT)0xC0041804)
    118 #define CI_OUT_OF_INDEX_IDS ((HRESULT)0xC0041805)
    119 #define CI_NO_CATALOG ((HRESULT)0xC0041806)
    120 #define CI_CORRUPT_FILTER_BUFFER ((HRESULT)0xC0041807)
    121 #define CI_INVALID_INDEX ((HRESULT)0xC0041808)
    122 #define CI_PROPSTORE_INCONSISTENCY ((HRESULT)0xC0041809)
    123 #define CI_E_ALREADY_INITIALIZED ((HRESULT)0x8004180A)
    124 #define CI_E_NOT_INITIALIZED ((HRESULT)0x8004180B)
    125 #define CI_E_BUFFERTOOSMALL ((HRESULT)0x8004180C)
    126 #define CI_E_PROPERTY_NOT_CACHED ((HRESULT)0x8004180D)
    127 #define CI_S_WORKID_DELETED ((HRESULT)0x0004180E)
    128 #define CI_E_INVALID_STATE ((HRESULT)0x8004180F)
    129 #define CI_E_FILTERING_DISABLED ((HRESULT)0x80041810)
    130 #define CI_E_DISK_FULL ((HRESULT)0x80041811)
    131 #define CI_E_SHUTDOWN ((HRESULT)0x80041812)
    132 #define CI_E_WORKID_NOTVALID ((HRESULT)0x80041813)
    133 #define CI_S_END_OF_ENUMERATION ((HRESULT)0x00041814)
    134 #define CI_E_NOT_FOUND ((HRESULT)0x80041815)
    135 #define CI_E_USE_DEFAULT_PID ((HRESULT)0x80041816)
    136 #define CI_E_DUPLICATE_NOTIFICATION ((HRESULT)0x80041817)
    137 #define CI_E_UPDATES_DISABLED ((HRESULT)0x80041818)
    138 #define CI_E_INVALID_FLAGS_COMBINATION ((HRESULT)0x80041819)
    139 #define CI_E_OUTOFSEQ_INCREMENT_DATA ((HRESULT)0x8004181A)
    140 #define CI_E_SHARING_VIOLATION ((HRESULT)0x8004181B)
    141 #define CI_E_LOGON_FAILURE ((HRESULT)0x8004181C)
    142 #define CI_E_NO_CATALOG ((HRESULT)0x8004181D)
    143 #define CI_E_STRANGE_PAGEORSECTOR_SIZE ((HRESULT)0x8004181E)
    144 #define CI_E_TIMEOUT ((HRESULT)0x8004181F)
    145 #define CI_E_NOT_RUNNING ((HRESULT)0x80041820)
    146 #define CI_INCORRECT_VERSION ((HRESULT)0xC0041821)
    147 #define CI_E_ENUMERATION_STARTED ((HRESULT)0xC0041822)
    148 #define CI_E_PROPERTY_TOOLARGE ((HRESULT)0xC0041823)
    149 #define CI_E_CLIENT_FILTER_ABORT ((HRESULT)0xC0041824)
    150 #define CI_S_NO_DOCSTORE ((HRESULT)0x00041825)
    151 #define CI_S_CAT_STOPPED ((HRESULT)0x00041826)
    152 #define CI_E_CARDINALITY_MISMATCH ((HRESULT)0x80041827)
    153 #define CI_E_CONFIG_DISK_FULL ((HRESULT)0x80041828)
    154 
    155 #endif
    156