home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / cierror.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  26.1 KB  |  1,283 lines

  1. #ifndef _CIERROR_H_
  2. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  3. #define _CIERROR_H_
  4. #ifndef FACILITY_WINDOWS
  5. //
  6. //  Values are 32 bit values layed out as follows:
  7. //
  8. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  9. //   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
  10. //  +---+-+-+-----------------------+-------------------------------+
  11. //  |Sev|C|R|     Facility          |               Code            |
  12. //  +---+-+-+-----------------------+-------------------------------+
  13. //
  14. //  where
  15. //
  16. //      Sev - is the severity code
  17. //
  18. //          00 - Success
  19. //          01 - Informational
  20. //          10 - Warning
  21. //          11 - Error
  22. //
  23. //      C - is the Customer code flag
  24. //
  25. //      R - is a reserved bit
  26. //
  27. //      Facility - is the facility code
  28. //
  29. //      Code - is the facility's status code
  30. //
  31. //
  32. // Define the facility codes
  33. //
  34. #define FACILITY_WINDOWS                 0x8
  35. #define FACILITY_NULL                    0x0
  36. #define FACILITY_ITF                     0x4
  37.  
  38.  
  39. //
  40. // Define the severity codes
  41. //
  42. #define STATUS_SEVERITY_SUCCESS          0x0
  43. #define STATUS_SEVERITY_COFAIL           0x3
  44. #define STATUS_SEVERITY_COERROR          0x2
  45.  
  46.  
  47. //
  48. // MessageId: NOT_AN_ERROR1
  49. //
  50. // MessageText:
  51. //
  52. //  NOTE:  This dummy error message is necessary to force MC to output
  53. //         the above defines inside the FACILITY_WINDOWS guard instead
  54. //         of leaving it empty.
  55. //
  56. #define NOT_AN_ERROR1                    ((HRESULT)0x00081600L)
  57.  
  58. #endif // FACILITY_WINDOWS
  59. //
  60. // Range 0x1600-0x1850 is reserved by Content Index.
  61. //
  62. //
  63. // Codes 0x1600-0x164f are reserved for QUERY
  64. //
  65. //
  66. // MessageId: QUERY_E_FAILED
  67. //
  68. // MessageText:
  69. //
  70. //  Call failed for unknown reason.
  71. //
  72. #define QUERY_E_FAILED                   ((HRESULT)0x80041600L)
  73.  
  74. //
  75. // MessageId: QUERY_E_INVALIDQUERY
  76. //
  77. // MessageText:
  78. //
  79. //  Invalid parameter.
  80. //
  81. #define QUERY_E_INVALIDQUERY             ((HRESULT)0x80041601L)
  82.  
  83. //
  84. // MessageId: QUERY_E_INVALIDRESTRICTION
  85. //
  86. // MessageText:
  87. //
  88. //  The query restriction could not be parsed.
  89. //
  90. #define QUERY_E_INVALIDRESTRICTION       ((HRESULT)0x80041602L)
  91.  
  92. //
  93. // MessageId: QUERY_E_INVALIDSORT
  94. //
  95. // MessageText:
  96. //
  97. //  An invalid sort order was requested.
  98. //
  99. #define QUERY_E_INVALIDSORT              ((HRESULT)0x80041603L)
  100.  
  101. //
  102. // MessageId: QUERY_E_INVALIDCATEGORIZE
  103. //
  104. // MessageText:
  105. //
  106. //  An invalid categorization order was requested.
  107. //
  108. #define QUERY_E_INVALIDCATEGORIZE        ((HRESULT)0x80041604L)
  109.  
  110. //
  111. // MessageId: QUERY_E_ALLNOISE
  112. //
  113. // MessageText:
  114. //
  115. //  The query contained only ignored words.
  116. //
  117. #define QUERY_E_ALLNOISE                 ((HRESULT)0x80041605L)
  118.  
  119. //
  120. // MessageId: QUERY_E_TOOCOMPLEX
  121. //
  122. // MessageText:
  123. //
  124. //  The query was too complex to be executed.
  125. //
  126. #define QUERY_E_TOOCOMPLEX               ((HRESULT)0x80041606L)
  127.  
  128. //
  129. // MessageId: QUERY_E_TIMEDOUT
  130. //
  131. // MessageText:
  132. //
  133. //  The query exceeded its execution time limit.
  134. //
  135. #define QUERY_E_TIMEDOUT                 ((HRESULT)0x80041607L)
  136.  
  137. //
  138. // MessageId: QUERY_E_DUPLICATE_OUTPUT_COLUMN
  139. //
  140. // MessageText:
  141. //
  142. //  One or more columns in the output column list is a duplicate.
  143. //
  144. #define QUERY_E_DUPLICATE_OUTPUT_COLUMN  ((HRESULT)0x80041608L)
  145.  
  146. //
  147. // MessageId: QUERY_E_INVALID_OUTPUT_COLUMN
  148. //
  149. // MessageText:
  150. //
  151. //  One or more columns in the output column list is not valid.
  152. //
  153. #define QUERY_E_INVALID_OUTPUT_COLUMN    ((HRESULT)0x80041609L)
  154.  
  155. //
  156. // MessageId: QUERY_E_INVALID_DIRECTORY
  157. //
  158. // MessageText:
  159. //
  160. //  Invalid directory name.
  161. //
  162. #define QUERY_E_INVALID_DIRECTORY        ((HRESULT)0x8004160AL)
  163.  
  164. //
  165. // MessageId: QUERY_E_DIR_ON_REMOVABLE_DRIVE
  166. //
  167. // MessageText:
  168. //
  169. //  Specified directory is on a removable medium.
  170. //
  171. #define QUERY_E_DIR_ON_REMOVABLE_DRIVE   ((HRESULT)0x8004160BL)
  172.  
  173. //
  174. // MessageId: QUERY_S_NO_QUERY
  175. //
  176. // MessageText:
  177. //
  178. //  The catalog is in a state where indexing continues, but queries are not allowed.
  179. //
  180. #define QUERY_S_NO_QUERY                 ((HRESULT)0x8004160CL)
  181.  
  182. //
  183. // Codes 0x1650-0x167f are reserved for qutil error codes
  184. //
  185. //
  186. // MessageId: QPLIST_E_CANT_OPEN_FILE
  187. //
  188. // MessageText:
  189. //
  190. //  Can not open file.
  191. //
  192. #define QPLIST_E_CANT_OPEN_FILE          ((HRESULT)0x80041651L)
  193.  
  194. //
  195. // MessageId: QPLIST_E_READ_ERROR
  196. //
  197. // MessageText:
  198. //
  199. //  Read error in file.
  200. //
  201. #define QPLIST_E_READ_ERROR              ((HRESULT)0x80041652L)
  202.  
  203. //
  204. // MessageId: QPLIST_E_EXPECTING_NAME
  205. //
  206. // MessageText:
  207. //
  208. //  Expecting property name.
  209. //
  210. #define QPLIST_E_EXPECTING_NAME          ((HRESULT)0x80041653L)
  211.  
  212. //
  213. // MessageId: QPLIST_E_EXPECTING_TYPE
  214. //
  215. // MessageText:
  216. //
  217. //  Expecting type specifier.
  218. //
  219. #define QPLIST_E_EXPECTING_TYPE          ((HRESULT)0x80041654L)
  220.  
  221. //
  222. // MessageId: QPLIST_E_UNRECOGNIZED_TYPE
  223. //
  224. // MessageText:
  225. //
  226. //  Unrecognized type.
  227. //
  228. #define QPLIST_E_UNRECOGNIZED_TYPE       ((HRESULT)0x80041655L)
  229.  
  230. //
  231. // MessageId: QPLIST_E_EXPECTING_INTEGER
  232. //
  233. // MessageText:
  234. //
  235. //  Expecting integer.
  236. //
  237. #define QPLIST_E_EXPECTING_INTEGER       ((HRESULT)0x80041656L)
  238.  
  239. //
  240. // MessageId: QPLIST_E_EXPECTING_CLOSE_PAREN
  241. //
  242. // MessageText:
  243. //
  244. //  Expecting closing parenthesis.
  245. //
  246. #define QPLIST_E_EXPECTING_CLOSE_PAREN   ((HRESULT)0x80041657L)
  247.  
  248. //
  249. // MessageId: QPLIST_E_EXPECTING_GUID
  250. //
  251. // MessageText:
  252. //
  253. //  Expecting GUID.
  254. //
  255. #define QPLIST_E_EXPECTING_GUID          ((HRESULT)0x80041658L)
  256.  
  257. //
  258. // MessageId: QPLIST_E_BAD_GUID
  259. //
  260. // MessageText:
  261. //
  262. //  Invalid guid.
  263. //
  264. #define QPLIST_E_BAD_GUID                ((HRESULT)0x80041659L)
  265.  
  266. //
  267. // MessageId: QPLIST_E_EXPECTING_PROP_SPEC
  268. //
  269. // MessageText:
  270. //
  271. //  Expecting property specifier.
  272. //
  273. #define QPLIST_E_EXPECTING_PROP_SPEC     ((HRESULT)0x8004165AL)
  274.  
  275. //
  276. // MessageId: QPLIST_E_CANT_SET_PROPERTY
  277. //
  278. // MessageText:
  279. //
  280. //  Failed to set property name.
  281. //
  282. #define QPLIST_E_CANT_SET_PROPERTY       ((HRESULT)0x8004165BL)
  283.  
  284. //
  285. // MessageId: QPLIST_E_DUPLICATE
  286. //
  287. // MessageText:
  288. //
  289. //  Duplicate property name.
  290. //
  291. #define QPLIST_E_DUPLICATE               ((HRESULT)0x8004165CL)
  292.  
  293. //
  294. // MessageId: QPLIST_E_VECTORBYREF_USED_ALONE
  295. //
  296. // MessageText:
  297. //
  298. //  DBTYPE_VECTOR or DBTYPE_BYREF used alone.
  299. //
  300. #define QPLIST_E_VECTORBYREF_USED_ALONE  ((HRESULT)0x8004165DL)
  301.  
  302. //
  303. // MessageId: QPLIST_E_BYREF_USED_WITHOUT_PTRTYPE
  304. //
  305. // MessageText:
  306. //
  307. //  DBTYPE_BYREF must be used with DBTYPE_STR, DBTYPE_WSTR, DBTYPE_GUID
  308. //   or DBTYPE_UI1 types.
  309. //
  310. #define QPLIST_E_BYREF_USED_WITHOUT_PTRTYPE ((HRESULT)0x8004165EL)
  311.  
  312. //
  313. // MessageId: QPARSE_E_UNEXPECTED_NOT
  314. //
  315. // MessageText:
  316. //
  317. //  Unexpected NOT operator.
  318. //
  319. #define QPARSE_E_UNEXPECTED_NOT          ((HRESULT)0x80041660L)
  320.  
  321. //
  322. // MessageId: QPARSE_E_EXPECTING_INTEGER
  323. //
  324. // MessageText:
  325. //
  326. //  Expecting integer.
  327. //
  328. #define QPARSE_E_EXPECTING_INTEGER       ((HRESULT)0x80041661L)
  329.  
  330. //
  331. // MessageId: QPARSE_E_EXPECTING_REAL
  332. //
  333. // MessageText:
  334. //
  335. //  Expecting real number.
  336. //
  337. #define QPARSE_E_EXPECTING_REAL          ((HRESULT)0x80041662L)
  338.  
  339. //
  340. // MessageId: QPARSE_E_EXPECTING_DATE
  341. //
  342. // MessageText:
  343. //
  344. //  Expecting date.
  345. //
  346. #define QPARSE_E_EXPECTING_DATE          ((HRESULT)0x80041663L)
  347.  
  348. //
  349. // MessageId: QPARSE_E_EXPECTING_CURRENCY
  350. //
  351. // MessageText:
  352. //
  353. //  Expecting currency.
  354. //
  355. #define QPARSE_E_EXPECTING_CURRENCY      ((HRESULT)0x80041664L)
  356.  
  357. //
  358. // MessageId: QPARSE_E_EXPECTING_GUID
  359. //
  360. // MessageText:
  361. //
  362. //  Expecting GUID.
  363. //
  364. #define QPARSE_E_EXPECTING_GUID          ((HRESULT)0x80041665L)
  365.  
  366. //
  367. // MessageId: QPARSE_E_EXPECTING_BRACE
  368. //
  369. // MessageText:
  370. //
  371. //  Expecting closing square bracket ']'.
  372. //
  373. #define QPARSE_E_EXPECTING_BRACE         ((HRESULT)0x80041666L)
  374.  
  375. //
  376. // MessageId: QPARSE_E_EXPECTING_PAREN
  377. //
  378. // MessageText:
  379. //
  380. //  Expecting closing parenthesis ')'.
  381. //
  382. #define QPARSE_E_EXPECTING_PAREN         ((HRESULT)0x80041667L)
  383.  
  384. //
  385. // MessageId: QPARSE_E_EXPECTING_PROPERTY
  386. //
  387. // MessageText:
  388. //
  389. //  Expecting property name.
  390. //
  391. #define QPARSE_E_EXPECTING_PROPERTY      ((HRESULT)0x80041668L)
  392.  
  393. //
  394. // MessageId: QPARSE_E_NOT_YET_IMPLEMENTED
  395. //
  396. // MessageText:
  397. //
  398. //  Not yet implemented.
  399. //
  400. #define QPARSE_E_NOT_YET_IMPLEMENTED     ((HRESULT)0x80041669L)
  401.  
  402. //
  403. // MessageId: QPARSE_E_EXPECTING_PHRASE
  404. //
  405. // MessageText:
  406. //
  407. //  Expecting phrase.
  408. //
  409. #define QPARSE_E_EXPECTING_PHRASE        ((HRESULT)0x8004166AL)
  410.  
  411. //
  412. // MessageId: QPARSE_E_UNSUPPORTED_PROPERTY_TYPE
  413. //
  414. // MessageText:
  415. //
  416. //  Unsupported property type.
  417. //
  418. #define QPARSE_E_UNSUPPORTED_PROPERTY_TYPE ((HRESULT)0x8004166BL)
  419.  
  420. //
  421. // MessageId: QPARSE_E_EXPECTING_REGEX
  422. //
  423. // MessageText:
  424. //
  425. //  Expecting regular expression.
  426. //
  427. #define QPARSE_E_EXPECTING_REGEX         ((HRESULT)0x8004166CL)
  428.  
  429. //
  430. // MessageId: QPARSE_E_EXPECTING_REGEX_PROPERTY
  431. //
  432. // MessageText:
  433. //
  434. //  Regular expressions require a property of type string.
  435. //
  436. #define QPARSE_E_EXPECTING_REGEX_PROPERTY ((HRESULT)0x8004166DL)
  437.  
  438. //
  439. // MessageId: QPARSE_E_INVALID_LITERAL
  440. //
  441. // MessageText:
  442. //
  443. //  Invalid literal.
  444. //
  445. #define QPARSE_E_INVALID_LITERAL         ((HRESULT)0x8004166EL)
  446.  
  447. //
  448. // MessageId: QPARSE_E_NO_SUCH_PROPERTY
  449. //
  450. // MessageText:
  451. //
  452. //  No such property.
  453. //
  454. #define QPARSE_E_NO_SUCH_PROPERTY        ((HRESULT)0x8004166FL)
  455.  
  456. //
  457. // MessageId: QPARSE_E_EXPECTING_EOS
  458. //
  459. // MessageText:
  460. //
  461. //  Expecting end of string.
  462. //
  463. #define QPARSE_E_EXPECTING_EOS           ((HRESULT)0x80041670L)
  464.  
  465. //
  466. // MessageId: QPARSE_E_EXPECTING_COMMA
  467. //
  468. // MessageText:
  469. //
  470. //  Expecting comma.
  471. //
  472. #define QPARSE_E_EXPECTING_COMMA         ((HRESULT)0x80041671L)
  473.  
  474. //
  475. // MessageId: QPARSE_E_UNEXPECTED_EOS
  476. //
  477. // MessageText:
  478. //
  479. //  Unexpected end of string.
  480. //
  481. #define QPARSE_E_UNEXPECTED_EOS          ((HRESULT)0x80041672L)
  482.  
  483. //
  484. // MessageId: QPARSE_E_WEIGHT_OUT_OF_RANGE
  485. //
  486. // MessageText:
  487. //
  488. //  Weight must be between 0 and 1000 in short form queries and between 0.0 and 1.0 in long form queries.
  489. //
  490. #define QPARSE_E_WEIGHT_OUT_OF_RANGE     ((HRESULT)0x80041673L)
  491.  
  492. //
  493. // MessageId: QPARSE_E_NO_SUCH_SORT_PROPERTY
  494. //
  495. // MessageText:
  496. //
  497. //  An invalid property was found in the sort specification.
  498. //
  499. #define QPARSE_E_NO_SUCH_SORT_PROPERTY   ((HRESULT)0x80041674L)
  500.  
  501. //
  502. // MessageId: QPARSE_E_INVALID_SORT_ORDER
  503. //
  504. // MessageText:
  505. //
  506. //  An invalid sort order was specified.  Only [a] and [d] are supported.
  507. //
  508. #define QPARSE_E_INVALID_SORT_ORDER      ((HRESULT)0x80041675L)
  509.  
  510. //
  511. // MessageId: QUTIL_E_CANT_CONVERT_VROOT
  512. //
  513. // MessageText:
  514. //
  515. //  Couldn't convert a virtual path to a physical path.
  516. //
  517. #define QUTIL_E_CANT_CONVERT_VROOT       ((HRESULT)0x80041676L)
  518.  
  519. //
  520. // MessageId: QPARSE_E_INVALID_GROUPING
  521. //
  522. // MessageText:
  523. //
  524. //  An unsupported grouping type was specified.
  525. //
  526. #define QPARSE_E_INVALID_GROUPING        ((HRESULT)0x80041677L)
  527.  
  528. //
  529. // MessageId: QUTIL_E_INVALID_CODEPAGE
  530. //
  531. // MessageText:
  532. //
  533. //  Invalid CiCodepage was specified.
  534. //
  535. #define QUTIL_E_INVALID_CODEPAGE         ((HRESULT)0xC0041678L)
  536.  
  537. //
  538. // MessageId: QPLIST_S_DUPLICATE
  539. //
  540. // MessageText:
  541. //
  542. //  Exact duplicate property defined.
  543. //
  544. #define QPLIST_S_DUPLICATE               ((HRESULT)0x00041679L)
  545.  
  546. //
  547. // MessageId: QPARSE_E_INVALID_QUERY
  548. //
  549. // MessageText:
  550. //
  551. //  Invalid query.
  552. //
  553. #define QPARSE_E_INVALID_QUERY           ((HRESULT)0x8004167AL)
  554.  
  555. //
  556. // MessageId: QPARSE_E_INVALID_RANKMETHOD
  557. //
  558. // MessageText:
  559. //
  560. //  Invalid rank method.
  561. //
  562. #define QPARSE_E_INVALID_RANKMETHOD      ((HRESULT)0x8004167BL)
  563.  
  564. //
  565. // 0x1680 - 0x169F are Filter daemon error codes
  566. //
  567. //
  568. // MessageId: FDAEMON_W_WORDLISTFULL
  569. //
  570. // MessageText:
  571. //
  572. //  Wordlist has reached maximum size.  Additional documents should not be filtered.
  573. //
  574. #define FDAEMON_W_WORDLISTFULL           ((HRESULT)0x00041680L)
  575.  
  576. //
  577. // MessageId: FDAEMON_E_LOWRESOURCE
  578. //
  579. // MessageText:
  580. //
  581. //  The system is running out of one of more resources needed for filtering, usually memory.
  582. //
  583. #define FDAEMON_E_LOWRESOURCE            ((HRESULT)0x80041681L)
  584.  
  585. //
  586. // MessageId: FDAEMON_E_FATALERROR
  587. //
  588. // MessageText:
  589. //
  590. //  A critical error occurred during document filtering.  Consult system administrator.
  591. //
  592. #define FDAEMON_E_FATALERROR             ((HRESULT)0x80041682L)
  593.  
  594. //
  595. // MessageId: FDAEMON_E_PARTITIONDELETED
  596. //
  597. // MessageText:
  598. //
  599. //  Documents not stored in content index because partition has been deleted.
  600. //
  601. #define FDAEMON_E_PARTITIONDELETED       ((HRESULT)0x80041683L)
  602.  
  603. //
  604. // MessageId: FDAEMON_E_CHANGEUPDATEFAILED
  605. //
  606. // MessageText:
  607. //
  608. //  Documents not stored in content index because update of changelist failed.
  609. //
  610. #define FDAEMON_E_CHANGEUPDATEFAILED     ((HRESULT)0x80041684L)
  611.  
  612. //
  613. // MessageId: FDAEMON_W_EMPTYWORDLIST
  614. //
  615. // MessageText:
  616. //
  617. //  Final wordlist was empty.
  618. //
  619. #define FDAEMON_W_EMPTYWORDLIST          ((HRESULT)0x00041685L)
  620.  
  621. //
  622. // MessageId: FDAEMON_E_WORDLISTCOMMITFAILED
  623. //
  624. // MessageText:
  625. //
  626. //  Commit of wordlist failed.  Data not available for query.
  627. //
  628. #define FDAEMON_E_WORDLISTCOMMITFAILED   ((HRESULT)0x80041686L)
  629.  
  630. //
  631. // MessageId: FDAEMON_E_NOWORDLIST
  632. //
  633. // MessageText:
  634. //
  635. //  No wordlist is being constructed.  May happen after fatal filter error.
  636. //
  637. #define FDAEMON_E_NOWORDLIST             ((HRESULT)0x80041687L)
  638.  
  639. //
  640. // MessageId: FDAEMON_E_TOOMANYFILTEREDBLOCKS
  641. //
  642. // MessageText:
  643. //
  644. //  During document filtering the limit on buffers has been exceeded.
  645. //
  646. #define FDAEMON_E_TOOMANYFILTEREDBLOCKS  ((HRESULT)0x80041688L)
  647.  
  648. //
  649. // ISearch error codes
  650. //
  651. //
  652. // MessageId: SEARCH_S_NOMOREHITS
  653. //
  654. // MessageText:
  655. //
  656. //  End of hits has been reached.
  657. //
  658. #define SEARCH_S_NOMOREHITS              ((HRESULT)0x000416A0L)
  659.  
  660. //
  661. // MessageId: SEARCH_E_NOMONIKER
  662. //
  663. // MessageText:
  664. //
  665. //  Retrival of hits as monikers is not supported (by filter passed into Init).
  666. //
  667. #define SEARCH_E_NOMONIKER               ((HRESULT)0x800416A1L)
  668.  
  669. //
  670. // MessageId: SEARCH_E_NOREGION
  671. //
  672. // MessageText:
  673. //
  674. //  Retrival of hits as filter regions is not supported (by filter passed into Init).
  675. //
  676. #define SEARCH_E_NOREGION                ((HRESULT)0x800416A2L)
  677.  
  678. //
  679. // Filter error codes
  680. //
  681. //
  682. // MessageId: FILTER_E_TOO_BIG
  683. //
  684. // MessageText:
  685. //
  686. //  File is too large to filter.
  687. //
  688. #define FILTER_E_TOO_BIG                 ((HRESULT)0x80041730L)
  689.  
  690. //
  691. // MessageId: FILTER_S_PARTIAL_CONTENTSCAN_IMMEDIATE
  692. //
  693. // MessageText:
  694. //
  695. //  A partial content scan of the disk needs to be scheduled for immediate execution.
  696. //
  697. #define FILTER_S_PARTIAL_CONTENTSCAN_IMMEDIATE ((HRESULT)0x00041731L)
  698.  
  699. //
  700. // MessageId: FILTER_S_FULL_CONTENTSCAN_IMMEDIATE
  701. //
  702. // MessageText:
  703. //
  704. //  A full content scan of the disk needs to be scheduled for immediate execution.
  705. //
  706. #define FILTER_S_FULL_CONTENTSCAN_IMMEDIATE ((HRESULT)0x00041732L)
  707.  
  708. //
  709. // MessageId: FILTER_S_CONTENTSCAN_DELAYED
  710. //
  711. // MessageText:
  712. //
  713. //  A content scan of the disk needs to be scheduled for execution later.
  714. //
  715. #define FILTER_S_CONTENTSCAN_DELAYED     ((HRESULT)0x00041733L)
  716.  
  717. //
  718. // MessageId: FILTER_E_CONTENTINDEXCORRUPT
  719. //
  720. // MessageText:
  721. //
  722. //  The content index is corrupt. A content scan will to be scheduled after chkdsk or autochk is run.
  723. //
  724. #define FILTER_E_CONTENTINDEXCORRUPT     ((HRESULT)0xC0041734L)
  725.  
  726. //
  727. // MessageId: FILTER_S_DISK_FULL
  728. //
  729. // MessageText:
  730. //
  731. //  The disk is getting full.
  732. //
  733. #define FILTER_S_DISK_FULL               ((HRESULT)0x00041735L)
  734.  
  735. //
  736. // MessageId: FILTER_E_ALREADY_OPEN
  737. //
  738. // MessageText:
  739. //
  740. //  A file is already open. Cannot open another one while a file is open.
  741. //
  742. #define FILTER_E_ALREADY_OPEN            ((HRESULT)0x80041736L)
  743.  
  744. //
  745. // MessageId: FILTER_E_UNREACHABLE
  746. //
  747. // MessageText:
  748. //
  749. //  The file is not reachable.
  750. //
  751. #define FILTER_E_UNREACHABLE             ((HRESULT)0x80041737L)
  752.  
  753. //
  754. // MessageId: FILTER_E_IN_USE
  755. //
  756. // MessageText:
  757. //
  758. //  The document is in use by another process.
  759. //
  760. #define FILTER_E_IN_USE                  ((HRESULT)0x80041738L)
  761.  
  762. //
  763. // MessageId: FILTER_E_NOT_OPEN
  764. //
  765. // MessageText:
  766. //
  767. //  The document is not opened.
  768. //
  769. #define FILTER_E_NOT_OPEN                ((HRESULT)0x80041739L)
  770.  
  771. //
  772. // MessageId: FILTER_S_NO_PROPSETS
  773. //
  774. // MessageText:
  775. //
  776. //  The document has no property sets.
  777. //
  778. #define FILTER_S_NO_PROPSETS             ((HRESULT)0x0004173AL)
  779.  
  780. //
  781. // MessageId: FILTER_E_NO_SUCH_PROPERTY
  782. //
  783. // MessageText:
  784. //
  785. //  There is no property with the given GUID.
  786. //
  787. #define FILTER_E_NO_SUCH_PROPERTY        ((HRESULT)0x8004173BL)
  788.  
  789. //
  790. // MessageId: FILTER_S_NO_SECURITY_DESCRIPTOR
  791. //
  792. // MessageText:
  793. //
  794. //  The document has no security descriptor.
  795. //
  796. #define FILTER_S_NO_SECURITY_DESCRIPTOR  ((HRESULT)0x0004173CL)
  797.  
  798. //
  799. // MessageId: FILTER_E_OFFLINE
  800. //
  801. // MessageText:
  802. //
  803. //  The document is offline.
  804. //
  805. #define FILTER_E_OFFLINE                 ((HRESULT)0x8004173DL)
  806.  
  807. //
  808. // MessageId: FILTER_E_PARTIALLY_FILTERED
  809. //
  810. // MessageText:
  811. //
  812. //  The document was too large to filter in its entirety.  Portions of the document were not emitted.
  813. //
  814. #define FILTER_E_PARTIALLY_FILTERED      ((HRESULT)0x8004173EL)
  815.  
  816. //
  817. // Word breaker error codes
  818. //
  819. //
  820. // MessageId: WBREAK_E_END_OF_TEXT
  821. //
  822. // MessageText:
  823. //
  824. //  End of text reached in text source.
  825. //
  826. #define WBREAK_E_END_OF_TEXT             ((HRESULT)0x80041780L)
  827.  
  828. //
  829. // MessageId: LANGUAGE_S_LARGE_WORD
  830. //
  831. // MessageText:
  832. //
  833. //  Word larger than maximum length.  May be truncated by word sink.
  834. //
  835. #define LANGUAGE_S_LARGE_WORD            ((HRESULT)0x00041781L)
  836.  
  837. //
  838. // MessageId: WBREAK_E_QUERY_ONLY
  839. //
  840. // MessageText:
  841. //
  842. //  Feature only available in query mode.
  843. //
  844. #define WBREAK_E_QUERY_ONLY              ((HRESULT)0x80041782L)
  845.  
  846. //
  847. // MessageId: WBREAK_E_BUFFER_TOO_SMALL
  848. //
  849. // MessageText:
  850. //
  851. //  Buffer too small to hold composed phrase.
  852. //
  853. #define WBREAK_E_BUFFER_TOO_SMALL        ((HRESULT)0x80041783L)
  854.  
  855. //
  856. // MessageId: LANGUAGE_E_DATABASE_NOT_FOUND
  857. //
  858. // MessageText:
  859. //
  860. //  Langauge database/cache file could not be found.
  861. //
  862. #define LANGUAGE_E_DATABASE_NOT_FOUND    ((HRESULT)0x80041784L)
  863.  
  864. //
  865. // MessageId: WBREAK_E_INIT_FAILED
  866. //
  867. // MessageText:
  868. //
  869. //  Initialization of word breaker failed.
  870. //
  871. #define WBREAK_E_INIT_FAILED             ((HRESULT)0x80041785L)
  872.  
  873. //
  874. // MessageId: PSINK_E_QUERY_ONLY
  875. //
  876. // MessageText:
  877. //
  878. //  Feature only available in query mode.
  879. //
  880. #define PSINK_E_QUERY_ONLY               ((HRESULT)0x80041790L)
  881.  
  882. //
  883. // MessageId: PSINK_E_INDEX_ONLY
  884. //
  885. // MessageText:
  886. //
  887. //  Feature only available in index mode.
  888. //
  889. #define PSINK_E_INDEX_ONLY               ((HRESULT)0x80041791L)
  890.  
  891. //
  892. // MessageId: PSINK_E_LARGE_ATTACHMENT
  893. //
  894. // MessageText:
  895. //
  896. //  Attachment type beyond valid range.
  897. //
  898. #define PSINK_E_LARGE_ATTACHMENT         ((HRESULT)0x80041792L)
  899.  
  900. //
  901. // MessageId: PSINK_S_LARGE_WORD
  902. //
  903. // MessageText:
  904. //
  905. //  Word larger than maximum length.  May be truncated by phrase sink.
  906. //
  907. #define PSINK_S_LARGE_WORD               ((HRESULT)0x00041793L)
  908.  
  909. //
  910. // Content Index Framework Error Codes
  911. //
  912. //
  913. // MessageId: CI_CORRUPT_DATABASE
  914. //
  915. // MessageText:
  916. //
  917. //  The content index is corrupt.
  918. //
  919. #define CI_CORRUPT_DATABASE              ((HRESULT)0xC0041800L)
  920.  
  921. //
  922. // MessageId: CI_CORRUPT_CATALOG
  923. //
  924. // MessageText:
  925. //
  926. //  The content index meta data is corrupt.
  927. //
  928. #define CI_CORRUPT_CATALOG               ((HRESULT)0xC0041801L)
  929.  
  930. //
  931. // MessageId: CI_INVALID_PARTITION
  932. //
  933. // MessageText:
  934. //
  935. //  The content index partition is invalid.
  936. //
  937. #define CI_INVALID_PARTITION             ((HRESULT)0xC0041802L)
  938.  
  939. //
  940. // MessageId: CI_INVALID_PRIORITY
  941. //
  942. // MessageText:
  943. //
  944. //  The priority is invalid.
  945. //
  946. #define CI_INVALID_PRIORITY              ((HRESULT)0xC0041803L)
  947.  
  948. //
  949. // MessageId: CI_NO_STARTING_KEY
  950. //
  951. // MessageText:
  952. //
  953. //  There is no starting key.
  954. //
  955. #define CI_NO_STARTING_KEY               ((HRESULT)0xC0041804L)
  956.  
  957. //
  958. // MessageId: CI_OUT_OF_INDEX_IDS
  959. //
  960. // MessageText:
  961. //
  962. //  The content index is out of index ids.
  963. //
  964. #define CI_OUT_OF_INDEX_IDS              ((HRESULT)0xC0041805L)
  965.  
  966. //
  967. // MessageId: CI_NO_CATALOG
  968. //
  969. // MessageText:
  970. //
  971. //  There is no catalog.
  972. //
  973. #define CI_NO_CATALOG                    ((HRESULT)0xC0041806L)
  974.  
  975. //
  976. // MessageId: CI_CORRUPT_FILTER_BUFFER
  977. //
  978. // MessageText:
  979. //
  980. //  The filter buffer is corrupt.
  981. //
  982. #define CI_CORRUPT_FILTER_BUFFER         ((HRESULT)0xC0041807L)
  983.  
  984. //
  985. // MessageId: CI_INVALID_INDEX
  986. //
  987. // MessageText:
  988. //
  989. //  The index is invalid.
  990. //
  991. #define CI_INVALID_INDEX                 ((HRESULT)0xC0041808L)
  992.  
  993. //
  994. // MessageId: CI_PROPSTORE_INCONSISTENCY
  995. //
  996. // MessageText:
  997. //
  998. //  Inconsistency in property store detected.
  999. //
  1000. #define CI_PROPSTORE_INCONSISTENCY       ((HRESULT)0xC0041809L)
  1001.  
  1002. //
  1003. // MessageId: CI_E_ALREADY_INITIALIZED
  1004. //
  1005. // MessageText:
  1006. //
  1007. //  The object is already initialzed.
  1008. //
  1009. #define CI_E_ALREADY_INITIALIZED         ((HRESULT)0x8004180AL)
  1010.  
  1011. //
  1012. // MessageId: CI_E_NOT_INITIALIZED
  1013. //
  1014. // MessageText:
  1015. //
  1016. //  The object is not initialzed.
  1017. //
  1018. #define CI_E_NOT_INITIALIZED             ((HRESULT)0x8004180BL)
  1019.  
  1020. //
  1021. // MessageId: CI_E_BUFFERTOOSMALL
  1022. //
  1023. // MessageText:
  1024. //
  1025. //  The buffer is too small.
  1026. //
  1027. #define CI_E_BUFFERTOOSMALL              ((HRESULT)0x8004180CL)
  1028.  
  1029. //
  1030. // MessageId: CI_E_PROPERTY_NOT_CACHED
  1031. //
  1032. // MessageText:
  1033. //
  1034. //  The given property is not cached.
  1035. //
  1036. #define CI_E_PROPERTY_NOT_CACHED         ((HRESULT)0x8004180DL)
  1037.  
  1038. //
  1039. // MessageId: CI_S_WORKID_DELETED
  1040. //
  1041. // MessageText:
  1042. //
  1043. //  The workid is deleted.
  1044. //
  1045. #define CI_S_WORKID_DELETED              ((HRESULT)0x0004180EL)
  1046.  
  1047. //
  1048. // MessageId: CI_E_INVALID_STATE
  1049. //
  1050. // MessageText:
  1051. //
  1052. //  The object is not in a valid state.
  1053. //
  1054. #define CI_E_INVALID_STATE               ((HRESULT)0x8004180FL)
  1055.  
  1056. //
  1057. // MessageId: CI_E_FILTERING_DISABLED
  1058. //
  1059. // MessageText:
  1060. //
  1061. //  Filtering is disabled in this content index.
  1062. //
  1063. #define CI_E_FILTERING_DISABLED          ((HRESULT)0x80041810L)
  1064.  
  1065. //
  1066. // MessageId: CI_E_DISK_FULL
  1067. //
  1068. // MessageText:
  1069. //
  1070. //  The disk is full and the specified operation cannot be done.
  1071. //
  1072. #define CI_E_DISK_FULL                   ((HRESULT)0x80041811L)
  1073.  
  1074. //
  1075. // MessageId: CI_E_SHUTDOWN
  1076. //
  1077. // MessageText:
  1078. //
  1079. //  Content Index has been shutdown.
  1080. //
  1081. #define CI_E_SHUTDOWN                    ((HRESULT)0x80041812L)
  1082.  
  1083. //
  1084. // MessageId: CI_E_WORKID_NOTVALID
  1085. //
  1086. // MessageText:
  1087. //
  1088. //  The workid is not valid.
  1089. //
  1090. #define CI_E_WORKID_NOTVALID             ((HRESULT)0x80041813L)
  1091.  
  1092. //
  1093. // MessageId: CI_S_END_OF_ENUMERATION
  1094. //
  1095. // MessageText:
  1096. //
  1097. //  There are no more documents to enumerate.
  1098. //
  1099. #define CI_S_END_OF_ENUMERATION          ((HRESULT)0x00041814L)    
  1100.  
  1101. //
  1102. // MessageId: CI_E_NOT_FOUND
  1103. //
  1104. // MessageText:
  1105. //
  1106. //  The object was not found.
  1107. //
  1108. #define CI_E_NOT_FOUND                   ((HRESULT)0x80041815L)
  1109.  
  1110. //
  1111. // MessageId: CI_E_USE_DEFAULT_PID
  1112. //
  1113. // MessageText:
  1114. //
  1115. //  The passed-in property id is not supported.
  1116. //
  1117. #define CI_E_USE_DEFAULT_PID             ((HRESULT)0x80041816L)
  1118.  
  1119. //
  1120. // MessageId: CI_E_DUPLICATE_NOTIFICATION
  1121. //
  1122. // MessageText:
  1123. //
  1124. //  There were two notifications for the same workid.
  1125. //
  1126. #define CI_E_DUPLICATE_NOTIFICATION      ((HRESULT)0x80041817L)
  1127.  
  1128. //
  1129. // MessageId: CI_E_UPDATES_DISABLED
  1130. //
  1131. // MessageText:
  1132. //
  1133. //  A document update was rejected because updates were disabled.
  1134. //
  1135. #define CI_E_UPDATES_DISABLED            ((HRESULT)0x80041818L)
  1136.  
  1137. //
  1138. // MessageId: CI_E_INVALID_FLAGS_COMBINATION
  1139. //
  1140. // MessageText:
  1141. //
  1142. //  The combination of flags specified is invalid.
  1143. //
  1144. #define CI_E_INVALID_FLAGS_COMBINATION   ((HRESULT)0x80041819L)
  1145.  
  1146. //
  1147. // MessageId: CI_E_OUTOFSEQ_INCREMENT_DATA
  1148. //
  1149. // MessageText:
  1150. //
  1151. //  The incremental data given to Load is not valid. It may be out of sequence.
  1152. //
  1153. #define CI_E_OUTOFSEQ_INCREMENT_DATA     ((HRESULT)0x8004181AL)
  1154.  
  1155. //
  1156. // MessageId: CI_E_SHARING_VIOLATION
  1157. //
  1158. // MessageText:
  1159. //
  1160. //  A sharing or locking violation caused a failure.
  1161. //
  1162. #define CI_E_SHARING_VIOLATION           ((HRESULT)0x8004181BL)
  1163.  
  1164. //
  1165. // MessageId: CI_E_LOGON_FAILURE
  1166. //
  1167. // MessageText:
  1168. //
  1169. //  A logon permission violation caused a failure.
  1170. //
  1171. #define CI_E_LOGON_FAILURE               ((HRESULT)0x8004181CL)
  1172.  
  1173. //
  1174. // MessageId: CI_E_NO_CATALOG
  1175. //
  1176. // MessageText:
  1177. //
  1178. //  There is no catalog.
  1179. //
  1180. #define CI_E_NO_CATALOG                  ((HRESULT)0x8004181DL)
  1181.  
  1182. //
  1183. // MessageId: CI_E_STRANGE_PAGEORSECTOR_SIZE
  1184. //
  1185. // MessageText:
  1186. //
  1187. //  Page size is not an integral multiple of the sector size of the volume where index is located.
  1188. //
  1189. #define CI_E_STRANGE_PAGEORSECTOR_SIZE   ((HRESULT)0x8004181EL)
  1190.  
  1191. //
  1192. // MessageId: CI_E_TIMEOUT
  1193. //
  1194. // MessageText:
  1195. //
  1196. //  Service is too busy.
  1197. //
  1198. #define CI_E_TIMEOUT                     ((HRESULT)0x8004181FL)
  1199.  
  1200. //
  1201. // MessageId: CI_E_NOT_RUNNING
  1202. //
  1203. // MessageText:
  1204. //
  1205. //  Service is not running.
  1206. //
  1207. #define CI_E_NOT_RUNNING                 ((HRESULT)0x80041820L)
  1208.  
  1209. //
  1210. // MessageId: CI_INCORRECT_VERSION
  1211. //
  1212. // MessageText:
  1213. //
  1214. //  The content index data on disk is for the wrong version.
  1215. //
  1216. #define CI_INCORRECT_VERSION             ((HRESULT)0xC0041821L)
  1217.  
  1218. //
  1219. // MessageId: CI_E_ENUMERATION_STARTED
  1220. //
  1221. // MessageText:
  1222. //
  1223. //  Enumeration has already been started for this query.
  1224. //
  1225. #define CI_E_ENUMERATION_STARTED         ((HRESULT)0xC0041822L)
  1226.  
  1227. //
  1228. // MessageId: CI_E_PROPERTY_TOOLARGE
  1229. //
  1230. // MessageText:
  1231. //
  1232. //  The specified variable length property is too large for the property cache.
  1233. //
  1234. #define CI_E_PROPERTY_TOOLARGE           ((HRESULT)0xC0041823L)
  1235.  
  1236. //
  1237. // MessageId: CI_E_CLIENT_FILTER_ABORT
  1238. //
  1239. // MessageText:
  1240. //
  1241. //  Filtering of object was aborted by client.
  1242. //
  1243. #define CI_E_CLIENT_FILTER_ABORT         ((HRESULT)0xC0041824L)
  1244.  
  1245. //
  1246. // MessageId: CI_S_NO_DOCSTORE
  1247. //
  1248. // MessageText:
  1249. //
  1250. //  For administrative connections from client without association to a docstore.
  1251. //
  1252. #define CI_S_NO_DOCSTORE                 ((HRESULT)0x00041825L)
  1253.  
  1254. //
  1255. // MessageId: CI_S_CAT_STOPPED
  1256. //
  1257. // MessageText:
  1258. //
  1259. //  The catalog has been stopped.
  1260. //
  1261. #define CI_S_CAT_STOPPED                 ((HRESULT)0x00041826L)
  1262.  
  1263. //
  1264. // MessageId: CI_E_CARDINALITY_MISMATCH
  1265. //
  1266. // MessageText:
  1267. //
  1268. //  Mismatch in cardinality of machine(s)/catalog(s)/scope(s).
  1269. //
  1270. #define CI_E_CARDINALITY_MISMATCH        ((HRESULT)0x80041827L)
  1271.  
  1272. //
  1273. // MessageId: CI_E_CONFIG_DISK_FULL
  1274. //
  1275. // MessageText:
  1276. //
  1277. //  The disk has reached its configured space limit.
  1278. //
  1279. #define CI_E_CONFIG_DISK_FULL            ((HRESULT)0x80041828L)
  1280.  
  1281. #pragma option pop /*P_O_Pop*/
  1282. #endif // _CIERROR_H_
  1283.