home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / cierror.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  17KB  |  794 lines

  1. #ifndef _CIERROR_H_
  2. #define _CIERROR_H_
  3. #ifndef FACILITY_WINDOWS
  4. //
  5. //  Values are 32 bit values layed out as follows:
  6. //
  7. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  8. //   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
  9. //  +---+-+-+-----------------------+-------------------------------+
  10. //  |Sev|C|R|     Facility          |               Code            |
  11. //  +---+-+-+-----------------------+-------------------------------+
  12. //
  13. //  where
  14. //
  15. //      Sev - is the severity code
  16. //
  17. //          00 - Success
  18. //          01 - Informational
  19. //          10 - Warning
  20. //          11 - Error
  21. //
  22. //      C - is the Customer code flag
  23. //
  24. //      R - is a reserved bit
  25. //
  26. //      Facility - is the facility code
  27. //
  28. //      Code - is the facility's status code
  29. //
  30. //
  31. // Define the facility codes
  32. //
  33. #define FACILITY_WINDOWS                 0x8
  34. #define FACILITY_NULL                    0x0
  35. #define FACILITY_ITF                     0x4
  36.  
  37.  
  38. //
  39. // Define the severity codes
  40. //
  41. #define STATUS_SEVERITY_SUCCESS          0x0
  42. #define STATUS_SEVERITY_COFAIL           0x3
  43. #define STATUS_SEVERITY_COERROR          0x2
  44.  
  45.  
  46. //
  47. // MessageId: NOT_AN_ERROR1
  48. //
  49. // MessageText:
  50. //
  51. //  NOTE:  This dummy error message is necessary to force MC to output
  52. //         the above defines inside the FACILITY_WINDOWS guard instead
  53. //         of leaving it empty.
  54. //
  55. #define NOT_AN_ERROR1                    ((HRESULT)0x00081600L)
  56.  
  57. #endif // FACILITY_WINDOWS
  58. //
  59. // Range 0x1600-0x1850 is reserved by Content Index.
  60. //
  61. //
  62. // Codes 0x1600-0x164f are reserved for QUERY
  63. //
  64. //
  65. // MessageId: QUERY_E_FAILED
  66. //
  67. // MessageText:
  68. //
  69. //  Call failed for unknown reason.
  70. //
  71. #define QUERY_E_FAILED                   ((HRESULT)0x80041600L)
  72.  
  73. //
  74. // MessageId: QUERY_E_INVALIDQUERY
  75. //
  76. // MessageText:
  77. //
  78. //  Invalid parameter.
  79. //
  80. #define QUERY_E_INVALIDQUERY             ((HRESULT)0x80041601L)
  81.  
  82. //
  83. // MessageId: QUERY_E_INVALIDRESTRICTION
  84. //
  85. // MessageText:
  86. //
  87. //  The query restriction could not be parsed.
  88. //
  89. #define QUERY_E_INVALIDRESTRICTION       ((HRESULT)0x80041602L)
  90.  
  91. //
  92. // MessageId: QUERY_E_INVALIDSORT
  93. //
  94. // MessageText:
  95. //
  96. //  An invalid sort order was requested.
  97. //
  98. #define QUERY_E_INVALIDSORT              ((HRESULT)0x80041603L)
  99.  
  100. //
  101. // MessageId: QUERY_E_INVALIDCATEGORIZE
  102. //
  103. // MessageText:
  104. //
  105. //  An invalid categorization order was requested.
  106. //
  107. #define QUERY_E_INVALIDCATEGORIZE        ((HRESULT)0x80041604L)
  108.  
  109. //
  110. // MessageId: QUERY_E_ALLNOISE
  111. //
  112. // MessageText:
  113. //
  114. //  The query contained only ignored words.
  115. //
  116. #define QUERY_E_ALLNOISE                 ((HRESULT)0x80041605L)
  117.  
  118. //
  119. // MessageId: QUERY_E_TOOCOMPLEX
  120. //
  121. // MessageText:
  122. //
  123. //  The query was too complex to be executed.
  124. //
  125. #define QUERY_E_TOOCOMPLEX               ((HRESULT)0x80041606L)
  126.  
  127. //
  128. // MessageId: QUERY_E_TIMEDOUT
  129. //
  130. // MessageText:
  131. //
  132. //  The query exceeded its execution time limit.
  133. //
  134. #define QUERY_E_TIMEDOUT                 ((HRESULT)0x80041607L)
  135.  
  136. //
  137. // MessageId: QUERY_E_DUPLICATE_OUTPUT_COLUMN
  138. //
  139. // MessageText:
  140. //
  141. //  One or more columns in the output column list is a duplicate.
  142. //
  143. #define QUERY_E_DUPLICATE_OUTPUT_COLUMN  ((HRESULT)0x80041608L)
  144.  
  145. //
  146. // MessageId: QUERY_E_INVALID_OUTPUT_COLUMN
  147. //
  148. // MessageText:
  149. //
  150. //  One or more columns in the output column list is not valid.
  151. //
  152. #define QUERY_E_INVALID_OUTPUT_COLUMN    ((HRESULT)0x80041609L)
  153.  
  154. //
  155. // Codes 0x1650-0x167f are reserved for QUERYLIB (see qutil\h\qutilerr.mc)
  156. //
  157. //
  158. // 0x1680 - 0x169F are Filter daemon error codes
  159. //
  160. //
  161. // MessageId: FDAEMON_W_WORDLISTFULL
  162. //
  163. // MessageText:
  164. //
  165. //  Wordlist has reached maximum size.  Additional documents should not be filtered.
  166. //
  167. #define FDAEMON_W_WORDLISTFULL           ((HRESULT)0x00041680L)
  168.  
  169. //
  170. // MessageId: FDAEMON_E_LOWRESOURCE
  171. //
  172. // MessageText:
  173. //
  174. //  The system is running out of one of more resources needed for filtering, usually memory.
  175. //
  176. #define FDAEMON_E_LOWRESOURCE            ((HRESULT)0x80041681L)
  177.  
  178. //
  179. // MessageId: FDAEMON_E_FATALERROR
  180. //
  181. // MessageText:
  182. //
  183. //  A critical error occurred during document filtering.  Consult system administrator.
  184. //
  185. #define FDAEMON_E_FATALERROR             ((HRESULT)0x80041682L)
  186.  
  187. //
  188. // MessageId: FDAEMON_E_PARTITIONDELETED
  189. //
  190. // MessageText:
  191. //
  192. //  Documents not stored in content index because partition has been deleted.
  193. //
  194. #define FDAEMON_E_PARTITIONDELETED       ((HRESULT)0x80041683L)
  195.  
  196. //
  197. // MessageId: FDAEMON_E_CHANGEUPDATEFAILED
  198. //
  199. // MessageText:
  200. //
  201. //  Documents not stored in content index because update of changelist failed.
  202. //
  203. #define FDAEMON_E_CHANGEUPDATEFAILED     ((HRESULT)0x80041684L)
  204.  
  205. //
  206. // MessageId: FDAEMON_W_EMPTYWORDLIST
  207. //
  208. // MessageText:
  209. //
  210. //  Final wordlist was empty.
  211. //
  212. #define FDAEMON_W_EMPTYWORDLIST          ((HRESULT)0x00041685L)
  213.  
  214. //
  215. // MessageId: FDAEMON_E_WORDLISTCOMMITFAILED
  216. //
  217. // MessageText:
  218. //
  219. //  Commit of wordlist failed.  Data not available for query.
  220. //
  221. #define FDAEMON_E_WORDLISTCOMMITFAILED   ((HRESULT)0x80041686L)
  222.  
  223. //
  224. // MessageId: FDAEMON_E_NOWORDLIST
  225. //
  226. // MessageText:
  227. //
  228. //  No wordlist is being constructed.  May happen after fatal filter error.
  229. //
  230. #define FDAEMON_E_NOWORDLIST             ((HRESULT)0x80041687L)
  231.  
  232. //
  233. // MessageId: FDAEMON_E_TOOMANYFILTEREDBLOCKS
  234. //
  235. // MessageText:
  236. //
  237. //  During document filtering the limit on buffers has been exceeded.
  238. //
  239. #define FDAEMON_E_TOOMANYFILTEREDBLOCKS  ((HRESULT)0x80041688L)
  240.  
  241. //
  242. // ISearch error codes
  243. //
  244. //
  245. // MessageId: SEARCH_S_NOMOREHITS
  246. //
  247. // MessageText:
  248. //
  249. //  End of hits has been reached.
  250. //
  251. #define SEARCH_S_NOMOREHITS              ((HRESULT)0x000416A0L)
  252.  
  253. //
  254. // MessageId: SEARCH_E_NOMONIKER
  255. //
  256. // MessageText:
  257. //
  258. //  Retrival of hits as monikers is not supported (by filter passed into Init).
  259. //
  260. #define SEARCH_E_NOMONIKER               ((HRESULT)0x800416A1L)
  261.  
  262. //
  263. // MessageId: SEARCH_E_NOREGION
  264. //
  265. // MessageText:
  266. //
  267. //  Retrival of hits as filter regions is not supported (by filter passed into Init).
  268. //
  269. #define SEARCH_E_NOREGION                ((HRESULT)0x800416A2L)
  270.  
  271. //
  272. // Filter error codes
  273. //
  274. //
  275. // MessageId: FILTER_E_TOO_BIG
  276. //
  277. // MessageText:
  278. //
  279. //  File is too large to filter.
  280. //
  281. #define FILTER_E_TOO_BIG                 ((HRESULT)0x80041730L)
  282.  
  283. //
  284. // MessageId: FILTER_S_PARTIAL_CONTENTSCAN_IMMEDIATE
  285. //
  286. // MessageText:
  287. //
  288. //  A partial content scan of the disk needs to be scheduled for immediate execution.
  289. //
  290. #define FILTER_S_PARTIAL_CONTENTSCAN_IMMEDIATE ((HRESULT)0x00041731L)
  291.  
  292. //
  293. // MessageId: FILTER_S_FULL_CONTENTSCAN_IMMEDIATE
  294. //
  295. // MessageText:
  296. //
  297. //  A full content scan of the disk needs to be scheduled for immediate execution.
  298. //
  299. #define FILTER_S_FULL_CONTENTSCAN_IMMEDIATE ((HRESULT)0x00041732L)
  300.  
  301. //
  302. // MessageId: FILTER_S_CONTENTSCAN_DELAYED
  303. //
  304. // MessageText:
  305. //
  306. //  A content scan of the disk needs to be scheduled for execution later.
  307. //
  308. #define FILTER_S_CONTENTSCAN_DELAYED     ((HRESULT)0x00041733L)
  309.  
  310. //
  311. // MessageId: FILTER_E_CONTENTINDEXCORRUPT
  312. //
  313. // MessageText:
  314. //
  315. //  The content index is corrupt. A content scan will to be scheduled after chkdsk or autochk is run.
  316. //
  317. #define FILTER_E_CONTENTINDEXCORRUPT     ((HRESULT)0xC0041734L)
  318.  
  319. //
  320. // MessageId: FILTER_S_DISK_FULL
  321. //
  322. // MessageText:
  323. //
  324. //  The disk is getting full.
  325. //
  326. #define FILTER_S_DISK_FULL               ((HRESULT)0x00041735L)
  327.  
  328. //
  329. // MessageId: FILTER_E_ALREADY_OPEN
  330. //
  331. // MessageText:
  332. //
  333. //  A file is already open. Cannot open another one while a file is open.
  334. //
  335. #define FILTER_E_ALREADY_OPEN            ((HRESULT)0x80041736L)
  336.  
  337. //
  338. // MessageId: FILTER_E_UNREACHABLE
  339. //
  340. // MessageText:
  341. //
  342. //  The file is not reachable.
  343. //
  344. #define FILTER_E_UNREACHABLE             ((HRESULT)0x80041737L)
  345.  
  346. //
  347. // MessageId: FILTER_E_IN_USE
  348. //
  349. // MessageText:
  350. //
  351. //  The document is in use by another process.
  352. //
  353. #define FILTER_E_IN_USE                  ((HRESULT)0x80041738L)
  354.  
  355. //
  356. // MessageId: FILTER_E_NOT_OPEN
  357. //
  358. // MessageText:
  359. //
  360. //  The document is not opened.
  361. //
  362. #define FILTER_E_NOT_OPEN                ((HRESULT)0x80041739L)
  363.  
  364. //
  365. // MessageId: FILTER_S_NO_PROPSETS
  366. //
  367. // MessageText:
  368. //
  369. //  The document has no property sets.
  370. //
  371. #define FILTER_S_NO_PROPSETS             ((HRESULT)0x0004173AL)
  372.  
  373. //
  374. // MessageId: FILTER_E_NO_SUCH_PROPERTY
  375. //
  376. // MessageText:
  377. //
  378. //  There is no property with the given GUID.
  379. //
  380. #define FILTER_E_NO_SUCH_PROPERTY        ((HRESULT)0x8004173BL)
  381.  
  382. //
  383. // MessageId: FILTER_S_NO_SECURITY_DESCRIPTOR
  384. //
  385. // MessageText:
  386. //
  387. //  The document has no security descriptor.
  388. //
  389. #define FILTER_S_NO_SECURITY_DESCRIPTOR  ((HRESULT)0x0004173CL)
  390.  
  391. //
  392. // Word breaker error codes
  393. //
  394. //
  395. // MessageId: WBREAK_E_END_OF_TEXT
  396. //
  397. // MessageText:
  398. //
  399. //  End of text reached in text source.
  400. //
  401. #define WBREAK_E_END_OF_TEXT             ((HRESULT)0x80041780L)
  402.  
  403. //
  404. // MessageId: LANGUAGE_S_LARGE_WORD
  405. //
  406. // MessageText:
  407. //
  408. //  Word larger than maximum length.  May be truncated by word sink.
  409. //
  410. #define LANGUAGE_S_LARGE_WORD            ((HRESULT)0x00041781L)
  411.  
  412. //
  413. // MessageId: WBREAK_E_QUERY_ONLY
  414. //
  415. // MessageText:
  416. //
  417. //  Feature only available in query mode.
  418. //
  419. #define WBREAK_E_QUERY_ONLY              ((HRESULT)0x80041782L)
  420.  
  421. //
  422. // MessageId: WBREAK_E_BUFFER_TOO_SMALL
  423. //
  424. // MessageText:
  425. //
  426. //  Buffer too small to hold composed phrase.
  427. //
  428. #define WBREAK_E_BUFFER_TOO_SMALL        ((HRESULT)0x80041783L)
  429.  
  430. //
  431. // MessageId: LANGUAGE_E_DATABASE_NOT_FOUND
  432. //
  433. // MessageText:
  434. //
  435. //  Langauge database/cache file could not be found.
  436. //
  437. #define LANGUAGE_E_DATABASE_NOT_FOUND    ((HRESULT)0x80041784L)
  438.  
  439. //
  440. // MessageId: WBREAK_E_INIT_FAILED
  441. //
  442. // MessageText:
  443. //
  444. //  Initialization of word breaker failed.
  445. //
  446. #define WBREAK_E_INIT_FAILED             ((HRESULT)0x80041785L)
  447.  
  448. //
  449. // MessageId: PSINK_E_QUERY_ONLY
  450. //
  451. // MessageText:
  452. //
  453. //  Feature only available in query mode.
  454. //
  455. #define PSINK_E_QUERY_ONLY               ((HRESULT)0x80041790L)
  456.  
  457. //
  458. // MessageId: PSINK_E_INDEX_ONLY
  459. //
  460. // MessageText:
  461. //
  462. //  Feature only available in index mode.
  463. //
  464. #define PSINK_E_INDEX_ONLY               ((HRESULT)0x80041791L)
  465.  
  466. //
  467. // MessageId: PSINK_E_LARGE_ATTACHMENT
  468. //
  469. // MessageText:
  470. //
  471. //  Attachment type beyond valid range.
  472. //
  473. #define PSINK_E_LARGE_ATTACHMENT         ((HRESULT)0x80041792L)
  474.  
  475. //
  476. // MessageId: PSINK_S_LARGE_WORD
  477. //
  478. // MessageText:
  479. //
  480. //  Word larger than maximum length.  May be truncated by phrase sink.
  481. //
  482. #define PSINK_S_LARGE_WORD               ((HRESULT)0x00041793L)
  483.  
  484. //
  485. // Content Index Framework Error Codes
  486. //
  487. //
  488. // MessageId: CI_CORRUPT_DATABASE
  489. //
  490. // MessageText:
  491. //
  492. //  The content index is corrupt.
  493. //
  494. #define CI_CORRUPT_DATABASE              ((HRESULT)0xC0041800L)
  495.  
  496. //
  497. // MessageId: CI_CORRUPT_CATALOG
  498. //
  499. // MessageText:
  500. //
  501. //  The content index meta data is corrupt.
  502. //
  503. #define CI_CORRUPT_CATALOG               ((HRESULT)0xC0041801L)
  504.  
  505. //
  506. // MessageId: CI_INVALID_PARTITION
  507. //
  508. // MessageText:
  509. //
  510. //  The content index partition is invalid.
  511. //
  512. #define CI_INVALID_PARTITION             ((HRESULT)0xC0041802L)
  513.  
  514. //
  515. // MessageId: CI_INVALID_PRIORITY
  516. //
  517. // MessageText:
  518. //
  519. //  The priority is invalid.
  520. //
  521. #define CI_INVALID_PRIORITY              ((HRESULT)0xC0041803L)
  522.  
  523. //
  524. // MessageId: CI_NO_STARTING_KEY
  525. //
  526. // MessageText:
  527. //
  528. //  There is no starting key.
  529. //
  530. #define CI_NO_STARTING_KEY               ((HRESULT)0xC0041804L)
  531.  
  532. //
  533. // MessageId: CI_OUT_OF_INDEX_IDS
  534. //
  535. // MessageText:
  536. //
  537. //  The content index is out of index ids.
  538. //
  539. #define CI_OUT_OF_INDEX_IDS              ((HRESULT)0xC0041805L)
  540.  
  541. //
  542. // MessageId: CI_NO_CATALOG
  543. //
  544. // MessageText:
  545. //
  546. //  There is no catalog.
  547. //
  548. #define CI_NO_CATALOG                    ((HRESULT)0xC0041806L)
  549.  
  550. //
  551. // MessageId: CI_CORRUPT_FILTER_BUFFER
  552. //
  553. // MessageText:
  554. //
  555. //  The filter buffer is corrupt.
  556. //
  557. #define CI_CORRUPT_FILTER_BUFFER         ((HRESULT)0xC0041807L)
  558.  
  559. //
  560. // MessageId: CI_INVALID_INDEX
  561. //
  562. // MessageText:
  563. //
  564. //  The index is invalid.
  565. //
  566. #define CI_INVALID_INDEX                 ((HRESULT)0xC0041808L)
  567.  
  568. //
  569. // MessageId: CI_PROPSTORE_INCONSISTENCY
  570. //
  571. // MessageText:
  572. //
  573. //  Inconsistency in property store detected.
  574. //
  575. #define CI_PROPSTORE_INCONSISTENCY       ((HRESULT)0xC0041809L)
  576.  
  577. //
  578. // MessageId: CI_E_ALREADY_INITIALIZED
  579. //
  580. // MessageText:
  581. //
  582. //  The object is already initialzed.
  583. //
  584. #define CI_E_ALREADY_INITIALIZED         ((HRESULT)0x8004180AL)
  585.  
  586. //
  587. // MessageId: CI_E_NOT_INITIALIZED
  588. //
  589. // MessageText:
  590. //
  591. //  The object is not initialzed.
  592. //
  593. #define CI_E_NOT_INITIALIZED             ((HRESULT)0x8004180BL)
  594.  
  595. //
  596. // MessageId: CI_E_BUFFERTOOSMALL
  597. //
  598. // MessageText:
  599. //
  600. //  The buffer is too small.
  601. //
  602. #define CI_E_BUFFERTOOSMALL              ((HRESULT)0x8004180CL)
  603.  
  604. //
  605. // MessageId: CI_E_PROPERTY_NOT_CACHED
  606. //
  607. // MessageText:
  608. //
  609. //  The given property is not cached.
  610. //
  611. #define CI_E_PROPERTY_NOT_CACHED         ((HRESULT)0x8004180DL)
  612.  
  613. //
  614. // MessageId: CI_S_WORKID_DELETED
  615. //
  616. // MessageText:
  617. //
  618. //  The workid is deleted.
  619. //
  620. #define CI_S_WORKID_DELETED              ((HRESULT)0x0004180EL)
  621.  
  622. //
  623. // MessageId: CI_E_INVALID_STATE
  624. //
  625. // MessageText:
  626. //
  627. //  The object is not in a valid state.
  628. //
  629. #define CI_E_INVALID_STATE               ((HRESULT)0x8004180FL)
  630.  
  631. //
  632. // MessageId: CI_E_FILTERING_DISABLED
  633. //
  634. // MessageText:
  635. //
  636. //  Filtering is disabled in this content index.
  637. //
  638. #define CI_E_FILTERING_DISABLED          ((HRESULT)0x80041810L)
  639.  
  640. //
  641. // MessageId: CI_E_DISK_FULL
  642. //
  643. // MessageText:
  644. //
  645. //  The disk is full and the specified operation cannot be done.
  646. //
  647. #define CI_E_DISK_FULL                   ((HRESULT)0x80041811L)
  648.  
  649. //
  650. // MessageId: CI_E_SHUTDOWN
  651. //
  652. // MessageText:
  653. //
  654. //  Content Index has been shutdown.
  655. //
  656. #define CI_E_SHUTDOWN                    ((HRESULT)0x80041812L)
  657.  
  658. //
  659. // MessageId: CI_E_WORKID_NOTVALID
  660. //
  661. // MessageText:
  662. //
  663. //  The workid is not valid.
  664. //
  665. #define CI_E_WORKID_NOTVALID             ((HRESULT)0x80041813L)
  666.  
  667. //
  668. // MessageId: CI_S_END_OF_ENUMERATION
  669. //
  670. // MessageText:
  671. //
  672. //  There are no more documents to enumerate.
  673. //
  674. #define CI_S_END_OF_ENUMERATION          ((HRESULT)0x00041814L)    
  675.  
  676. //
  677. // MessageId: CI_E_NOT_FOUND
  678. //
  679. // MessageText:
  680. //
  681. //  The object was not found.
  682. //
  683. #define CI_E_NOT_FOUND                   ((HRESULT)0x80041815L)
  684.  
  685. //
  686. // MessageId: CI_E_USE_DEFAULT_PID
  687. //
  688. // MessageText:
  689. //
  690. //  The passed-in property id is not supported.
  691. //
  692. #define CI_E_USE_DEFAULT_PID             ((HRESULT)0x80041816L)
  693.  
  694. //
  695. // MessageId: CI_E_DUPLICATE_NOTIFICATION
  696. //
  697. // MessageText:
  698. //
  699. //  There were two notifications for the same workid.
  700. //
  701. #define CI_E_DUPLICATE_NOTIFICATION      ((HRESULT)0x80041817L)
  702.  
  703. //
  704. // MessageId: CI_E_UPDATES_DISABLED
  705. //
  706. // MessageText:
  707. //
  708. //  A document update was rejected because updates were disabled.
  709. //
  710. #define CI_E_UPDATES_DISABLED            ((HRESULT)0x80041818L)
  711.  
  712. //
  713. // MessageId: CI_E_INVALID_FLAGS_COMBINATION
  714. //
  715. // MessageText:
  716. //
  717. //  The combination of flags specified is invalid.
  718. //
  719. #define CI_E_INVALID_FLAGS_COMBINATION   ((HRESULT)0x80041819L)
  720.  
  721. //
  722. // MessageId: CI_E_OUTOFSEQ_INCREMENT_DATA
  723. //
  724. // MessageText:
  725. //
  726. //  The incremental data given to Load is not valid. It may be out of sequence.
  727. //
  728. #define CI_E_OUTOFSEQ_INCREMENT_DATA     ((HRESULT)0x8004181AL)
  729.  
  730. //
  731. // MessageId: CI_E_SHARING_VIOLATION
  732. //
  733. // MessageText:
  734. //
  735. //  A sharing or locking violation caused a failure.
  736. //
  737. #define CI_E_SHARING_VIOLATION           ((HRESULT)0x8004181BL)
  738.  
  739. //
  740. // MessageId: CI_E_LOGON_FAILURE
  741. //
  742. // MessageText:
  743. //
  744. //  A logon permission violation caused a failure.
  745. //
  746. #define CI_E_LOGON_FAILURE               ((HRESULT)0x8004181CL)
  747.  
  748. //
  749. // MessageId: CI_E_NO_CATALOG
  750. //
  751. // MessageText:
  752. //
  753. //  There is no catalog.
  754. //
  755. #define CI_E_NO_CATALOG                  ((HRESULT)0x8004181DL)
  756.  
  757. //
  758. // MessageId: CI_E_STRANGE_PAGEORSECTOR_SIZE
  759. //
  760. // MessageText:
  761. //
  762. //  Page size is not an integral multiple of the sector size of the volume where index is located.
  763. //
  764. #define CI_E_STRANGE_PAGEORSECTOR_SIZE   ((HRESULT)0x8004181EL)
  765.  
  766. //
  767. // MessageId: CI_E_TIMEOUT
  768. //
  769. // MessageText:
  770. //
  771. //  Service is too busy.
  772. //
  773. #define CI_E_TIMEOUT                     ((HRESULT)0x8004181FL)
  774.  
  775. //
  776. // MessageId: CI_E_NOT_RUNNING
  777. //
  778. // MessageText:
  779. //
  780. //  Service is not running.
  781. //
  782. #define CI_E_NOT_RUNNING                 ((HRESULT)0x80041820L)
  783.  
  784. //
  785. // MessageId: CI_INCORRECT_VERSION
  786. //
  787. // MessageText:
  788. //
  789. //  The content index data on disk is for the wrong version.
  790. //
  791. #define CI_INCORRECT_VERSION             ((HRESULT)0xC0041821L)
  792.  
  793. #endif // _CIERROR_H_
  794.