home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / C_C++ / BorlandCompiler / freecommandLinetools.exe / Include / oledberr.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-27  |  35.7 KB  |  1,725 lines

  1. #ifndef _MSADERR_H_
  2. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  3. #define _MSADERR_H_
  4. #ifndef FACILITY_WINDOWS
  5. //+---------------------------------------------------------------------------
  6. //
  7. //  Microsoft OLE DB
  8. //  Copyright (C) Microsoft Corporation, 1994 - 1998.
  9. //
  10. //----------------------------------------------------------------------------
  11.  
  12.  
  13. //
  14. //  Values are 32 bit values layed out as follows:
  15. //
  16. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  17. //   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
  18. //  +---+-+-+-----------------------+-------------------------------+
  19. //  |Sev|C|R|     Facility          |               Code            |
  20. //  +---+-+-+-----------------------+-------------------------------+
  21. //
  22. //  where
  23. //
  24. //      Sev - is the severity code
  25. //
  26. //          00 - Success
  27. //          01 - Informational
  28. //          10 - Warning
  29. //          11 - Error
  30. //
  31. //      C - is the Customer code flag
  32. //
  33. //      R - is a reserved bit
  34. //
  35. //      Facility - is the facility code
  36. //
  37. //      Code - is the facility's status code
  38. //
  39. //
  40. // Define the facility codes
  41. //
  42. #define FACILITY_WINDOWS                 0x8
  43. #define FACILITY_ITF                     0x4
  44.  
  45.  
  46. //
  47. // Define the severity codes
  48. //
  49. #define STATUS_SEVERITY_SUCCESS          0x0
  50. #define STATUS_SEVERITY_COERROR          0x2
  51.  
  52.  
  53. //
  54. // MessageId: DB_E_BOGUS
  55. //
  56. // MessageText:
  57. //
  58. //  Dummy error - need this error so that mc puts the above defines
  59. //  inside the FACILITY_WINDOWS guard, instead of leaving it empty
  60. //
  61. #define DB_E_BOGUS                       ((HRESULT)0x80040EFFL)
  62.  
  63. #endif // FACILITY_WINDOWS
  64.  
  65. //
  66. // Codes 0x0e00-0x0eff are reserved for the OLE DB group of
  67. // interfaces.
  68. //
  69. // Free codes are:
  70. //
  71. //        Error:
  72. //                        
  73. //
  74. //        Success:
  75. //            0x0eea
  76. //            
  77. //
  78.  
  79.  
  80. //
  81. // OLEDBVER
  82. //    OLE DB version number (0x0250); this can be overridden with an older
  83. // version number if necessary
  84. //
  85.  
  86. // If OLEDBVER is not defined, assume version 2.5
  87. #ifndef OLEDBVER
  88. #define OLEDBVER 0x0250
  89. #endif
  90.  
  91. //
  92. // MessageId: DB_E_BADACCESSORHANDLE
  93. //
  94. // MessageText:
  95. //
  96. //  Accessor is invalid.
  97. //
  98. #define DB_E_BADACCESSORHANDLE           ((HRESULT)0x80040E00L)
  99.  
  100. //
  101. // MessageId: DB_E_ROWLIMITEXCEEDED
  102. //
  103. // MessageText:
  104. //
  105. //  Row could not be inserted into the rowset without exceeding provider's maximum number of active rows.
  106. //
  107. #define DB_E_ROWLIMITEXCEEDED            ((HRESULT)0x80040E01L)
  108.  
  109. //
  110. // MessageId: DB_E_READONLYACCESSOR
  111. //
  112. // MessageText:
  113. //
  114. //  Accessor is read-only. Operation failed.
  115. //
  116. #define DB_E_READONLYACCESSOR            ((HRESULT)0x80040E02L)
  117.  
  118. //
  119. // MessageId: DB_E_SCHEMAVIOLATION
  120. //
  121. // MessageText:
  122. //
  123. //  Values violate the database schema.
  124. //
  125. #define DB_E_SCHEMAVIOLATION             ((HRESULT)0x80040E03L)
  126.  
  127. //
  128. // MessageId: DB_E_BADROWHANDLE
  129. //
  130. // MessageText:
  131. //
  132. //  Row handle is invalid.
  133. //
  134. #define DB_E_BADROWHANDLE                ((HRESULT)0x80040E04L)
  135.  
  136. //
  137. // MessageId: DB_E_OBJECTOPEN
  138. //
  139. // MessageText:
  140. //
  141. //  Object was open.
  142. //
  143. #define DB_E_OBJECTOPEN                  ((HRESULT)0x80040E05L)
  144.  
  145. //@@@+ V1.5
  146. #if( OLEDBVER >= 0x0150 )
  147. //
  148. // MessageId: DB_E_BADCHAPTER
  149. //
  150. // MessageText:
  151. //
  152. //  Chapter is invalid.
  153. //
  154. #define DB_E_BADCHAPTER                  ((HRESULT)0x80040E06L)
  155.  
  156. #endif // OLEDBVER >= 0x0150
  157. //@@@- V1.5
  158.  
  159. //
  160. // MessageId: DB_E_CANTCONVERTVALUE
  161. //
  162. // MessageText:
  163. //
  164. //  Data or literal value could not be converted to the type of the column in the data source, 
  165. //  and the provider was unable to determine which columns could not be converted.  Data 
  166. //  overflow or sign mismatch was not the cause.
  167. //
  168. #define DB_E_CANTCONVERTVALUE            ((HRESULT)0x80040E07L)
  169.  
  170. //
  171. // MessageId: DB_E_BADBINDINFO
  172. //
  173. // MessageText:
  174. //
  175. //  Binding information is invalid.
  176. //
  177. #define DB_E_BADBINDINFO                 ((HRESULT)0x80040E08L)
  178.  
  179. //
  180. // MessageId: DB_SEC_E_PERMISSIONDENIED
  181. //
  182. // MessageText:
  183. //
  184. //  Permission denied.
  185. //
  186. #define DB_SEC_E_PERMISSIONDENIED        ((HRESULT)0x80040E09L)
  187.  
  188. //
  189. // MessageId: DB_E_NOTAREFERENCECOLUMN
  190. //
  191. // MessageText:
  192. //
  193. //  Column does not contain bookmarks or chapters.
  194. //
  195. #define DB_E_NOTAREFERENCECOLUMN         ((HRESULT)0x80040E0AL)
  196.  
  197. //@@@+ V2.5
  198. #if( OLEDBVER >= 0x0250 )
  199. //
  200. // MessageId: DB_E_LIMITREJECTED
  201. //
  202. // MessageText:
  203. //
  204. //  Cost limits were rejected.
  205. //
  206. #define DB_E_LIMITREJECTED               ((HRESULT)0x80040E0BL)
  207.  
  208. #endif // OLEDBVER >= 0x0250
  209. //@@@- V2.5
  210.  
  211. //
  212. // MessageId: DB_E_NOCOMMAND
  213. //
  214. // MessageText:
  215. //
  216. //  Command text was not set for the command object.
  217. //
  218. #define DB_E_NOCOMMAND                   ((HRESULT)0x80040E0CL)
  219.  
  220. //@@@+ V2.5
  221. #if( OLEDBVER >= 0x0250 )
  222. //
  223. // MessageId: DB_E_COSTLIMIT
  224. //
  225. // MessageText:
  226. //
  227. //  Query plan within the cost limit cannot be found.
  228. //
  229. #define DB_E_COSTLIMIT                   ((HRESULT)0x80040E0DL)
  230.  
  231. #endif // OLEDBVER >= 0x0250
  232. //@@@- V2.5
  233.  
  234. //
  235. // MessageId: DB_E_BADBOOKMARK
  236. //
  237. // MessageText:
  238. //
  239. //  Bookmark is invalid.
  240. //
  241. #define DB_E_BADBOOKMARK                 ((HRESULT)0x80040E0EL)
  242.  
  243. //
  244. // MessageId: DB_E_BADLOCKMODE
  245. //
  246. // MessageText:
  247. //
  248. //  Lock mode is invalid.
  249. //
  250. #define DB_E_BADLOCKMODE                 ((HRESULT)0x80040E0FL)
  251.  
  252. //
  253. // MessageId: DB_E_PARAMNOTOPTIONAL
  254. //
  255. // MessageText:
  256. //
  257. //  No value given for one or more required parameters.
  258. //
  259. #define DB_E_PARAMNOTOPTIONAL            ((HRESULT)0x80040E10L)
  260.  
  261. //
  262. // MessageId: DB_E_BADCOLUMNID
  263. //
  264. // MessageText:
  265. //
  266. //  Column ID is invalid.
  267. //
  268. #define DB_E_BADCOLUMNID                 ((HRESULT)0x80040E11L)
  269.  
  270. //
  271. // MessageId: DB_E_BADRATIO
  272. //
  273. // MessageText:
  274. //
  275. //  Numerator was greater than denominator. Values must express ratio between zero and 1.
  276. //
  277. #define DB_E_BADRATIO                    ((HRESULT)0x80040E12L)
  278.  
  279. //@@@+ V2.0
  280. #if( OLEDBVER >= 0x0200 )
  281. //
  282. // MessageId: DB_E_BADVALUES
  283. //
  284. // MessageText:
  285. //
  286. //  Value is invalid.
  287. //
  288. #define DB_E_BADVALUES                   ((HRESULT)0x80040E13L)
  289.  
  290. #endif // OLEDBVER >= 0x0200
  291. //@@@- V2.0
  292.  
  293. //
  294. // MessageId: DB_E_ERRORSINCOMMAND
  295. //
  296. // MessageText:
  297. //
  298. //  One or more errors occurred during processing of command.
  299. //
  300. #define DB_E_ERRORSINCOMMAND             ((HRESULT)0x80040E14L)
  301.  
  302. //
  303. // MessageId: DB_E_CANTCANCEL
  304. //
  305. // MessageText:
  306. //
  307. //  Command cannot be canceled.
  308. //
  309. #define DB_E_CANTCANCEL                  ((HRESULT)0x80040E15L)
  310.  
  311. //
  312. // MessageId: DB_E_DIALECTNOTSUPPORTED
  313. //
  314. // MessageText:
  315. //
  316. //  Command dialect is not supported by this provider.
  317. //
  318. #define DB_E_DIALECTNOTSUPPORTED         ((HRESULT)0x80040E16L)
  319.  
  320. //
  321. // MessageId: DB_E_DUPLICATEDATASOURCE
  322. //
  323. // MessageText:
  324. //
  325. //  Data source object could not be created because the named data source already exists.
  326. //
  327. #define DB_E_DUPLICATEDATASOURCE         ((HRESULT)0x80040E17L)
  328.  
  329. //
  330. // MessageId: DB_E_CANNOTRESTART
  331. //
  332. // MessageText:
  333. //
  334. //  Rowset position cannot be restarted.
  335. //
  336. #define DB_E_CANNOTRESTART               ((HRESULT)0x80040E18L)
  337.  
  338. //
  339. // MessageId: DB_E_NOTFOUND
  340. //
  341. // MessageText:
  342. //
  343. //  Object or data matching the name, range, or selection criteria
  344. //  was not found within the scope of this operation.
  345. //
  346. #define DB_E_NOTFOUND                    ((HRESULT)0x80040E19L)
  347.  
  348. //
  349. // MessageId: DB_E_NEWLYINSERTED
  350. //
  351. // MessageText:
  352. //
  353. //  Identity cannot be determined for newly inserted rows.
  354. //
  355. #define DB_E_NEWLYINSERTED               ((HRESULT)0x80040E1BL)
  356.  
  357. //@@@+ V2.5
  358. #if( OLEDBVER >= 0x0250 )
  359. //
  360. // MessageId: DB_E_CANNOTFREE
  361. //
  362. // MessageText:
  363. //
  364. //  Provider has ownership of this tree.
  365. //
  366. #define DB_E_CANNOTFREE                  ((HRESULT)0x80040E1AL)
  367.  
  368. //
  369. // MessageId: DB_E_GOALREJECTED
  370. //
  371. // MessageText:
  372. //
  373. //  Goal was rejected because no nonzero weights were specified for any goals supported. Current goal was not changed.
  374. //
  375. #define DB_E_GOALREJECTED                ((HRESULT)0x80040E1CL)
  376.  
  377. #endif // OLEDBVER >= 0x0250
  378. //@@@- V2.5
  379.  
  380. //
  381. // MessageId: DB_E_UNSUPPORTEDCONVERSION
  382. //
  383. // MessageText:
  384. //
  385. //  Requested conversion is not supported.
  386. //
  387. #define DB_E_UNSUPPORTEDCONVERSION       ((HRESULT)0x80040E1DL)
  388.  
  389. //
  390. // MessageId: DB_E_BADSTARTPOSITION
  391. //
  392. // MessageText:
  393. //
  394. //  No rows were returned because the offset value moves the position before the beginning or after the end of the rowset.
  395. //
  396. #define DB_E_BADSTARTPOSITION            ((HRESULT)0x80040E1EL)
  397.  
  398. //@@@+ V2.0
  399. #if( OLEDBVER >= 0x0200 )
  400. //
  401. // MessageId: DB_E_NOQUERY
  402. //
  403. // MessageText:
  404. //
  405. //  Information was requested for a query and the query was not set.
  406. //
  407. #define DB_E_NOQUERY                     ((HRESULT)0x80040E1FL)
  408.  
  409. #endif // OLEDBVER >= 0x0200
  410. //@@@- V2.0
  411.  
  412. //
  413. // MessageId: DB_E_NOTREENTRANT
  414. //
  415. // MessageText:
  416. //
  417. //  Consumer's event handler called a non-reentrant method in the provider.
  418. //
  419. #define DB_E_NOTREENTRANT                ((HRESULT)0x80040E20L)
  420.  
  421. //
  422. // MessageId: DB_E_ERRORSOCCURRED
  423. //
  424. // MessageText:
  425. //
  426. //  Multiple-step operation generated errors. Check each status value. No work was done.
  427. //
  428. #define DB_E_ERRORSOCCURRED              ((HRESULT)0x80040E21L)
  429.  
  430. //
  431. // MessageId: DB_E_NOAGGREGATION
  432. //
  433. // MessageText:
  434. //
  435. //  Non-NULL controlling IUnknown was specified, and either the requested interface was not 
  436. //  IUnknown, or the provider does not support COM aggregation.
  437. //
  438. #define DB_E_NOAGGREGATION               ((HRESULT)0x80040E22L)
  439.  
  440. //
  441. // MessageId: DB_E_DELETEDROW
  442. //
  443. // MessageText:
  444. //
  445. //  Row handle referred to a deleted row or a row marked for deletion.
  446. //
  447. #define DB_E_DELETEDROW                  ((HRESULT)0x80040E23L)
  448.  
  449. //
  450. // MessageId: DB_E_CANTFETCHBACKWARDS
  451. //
  452. // MessageText:
  453. //
  454. //  Rowset does not support fetching backward.
  455. //
  456. #define DB_E_CANTFETCHBACKWARDS          ((HRESULT)0x80040E24L)
  457.  
  458. //
  459. // MessageId: DB_E_ROWSNOTRELEASED
  460. //
  461. // MessageText:
  462. //
  463. //  Row handles must all be released before new ones can be obtained.
  464. //
  465. #define DB_E_ROWSNOTRELEASED             ((HRESULT)0x80040E25L)
  466.  
  467. //
  468. // MessageId: DB_E_BADSTORAGEFLAG
  469. //
  470. // MessageText:
  471. //
  472. //  One or more storage flags are not supported.
  473. //
  474. #define DB_E_BADSTORAGEFLAG              ((HRESULT)0x80040E26L)
  475.  
  476. //@@@+ V1.5
  477. #if( OLEDBVER >= 0x0150 )
  478. //
  479. // MessageId: DB_E_BADCOMPAREOP
  480. //
  481. // MessageText:
  482. //
  483. //  Comparison operator is invalid.
  484. //
  485. #define DB_E_BADCOMPAREOP                ((HRESULT)0x80040E27L)
  486.  
  487. #endif // OLEDBVER >= 0x0150
  488. //@@@- V1.5
  489.  
  490. //
  491. // MessageId: DB_E_BADSTATUSVALUE
  492. //
  493. // MessageText:
  494. //
  495. //  Status flag was neither DBCOLUMNSTATUS_OK nor
  496. //  DBCOLUMNSTATUS_ISNULL.
  497. //
  498. #define DB_E_BADSTATUSVALUE              ((HRESULT)0x80040E28L)
  499.  
  500. //
  501. // MessageId: DB_E_CANTSCROLLBACKWARDS
  502. //
  503. // MessageText:
  504. //
  505. //  Rowset does not support scrolling backward.
  506. //
  507. #define DB_E_CANTSCROLLBACKWARDS         ((HRESULT)0x80040E29L)
  508.  
  509. //@@@+ V2.5
  510. #if( OLEDBVER >= 0x0250 )
  511. //
  512. // MessageId: DB_E_BADREGIONHANDLE
  513. //
  514. // MessageText:
  515. //
  516. //  Region handle is invalid.
  517. //
  518. #define DB_E_BADREGIONHANDLE             ((HRESULT)0x80040E2AL)
  519.  
  520. //
  521. // MessageId: DB_E_NONCONTIGUOUSRANGE
  522. //
  523. // MessageText:
  524. //
  525. //  Set of rows is not contiguous to, or does not overlap, the rows in the watch region.
  526. //
  527. #define DB_E_NONCONTIGUOUSRANGE          ((HRESULT)0x80040E2BL)
  528.  
  529. //
  530. // MessageId: DB_E_INVALIDTRANSITION
  531. //
  532. // MessageText:
  533. //
  534. //  Transition from ALL* to MOVE* or EXTEND* was specified.
  535. //
  536. #define DB_E_INVALIDTRANSITION           ((HRESULT)0x80040E2CL)
  537.  
  538. //
  539. // MessageId: DB_E_NOTASUBREGION
  540. //
  541. // MessageText:
  542. //
  543. //  Region is not a proper subregion of the region
  544. //  identified by the watch region handle.
  545. //
  546. #define DB_E_NOTASUBREGION               ((HRESULT)0x80040E2DL)
  547.  
  548. #endif // OLEDBVER >= 0x0250
  549. //@@@- V2.5
  550.  
  551. //
  552. // MessageId: DB_E_MULTIPLESTATEMENTS
  553. //
  554. // MessageText:
  555. //
  556. //  Multiple-statement commands are not supported by this provider.
  557. //
  558. #define DB_E_MULTIPLESTATEMENTS          ((HRESULT)0x80040E2EL)
  559.  
  560. //
  561. // MessageId: DB_E_INTEGRITYVIOLATION
  562. //
  563. // MessageText:
  564. //
  565. //  Value violated the integrity constraints for a column or
  566. //  table.
  567. //
  568. #define DB_E_INTEGRITYVIOLATION          ((HRESULT)0x80040E2FL)
  569.  
  570. //
  571. // MessageId: DB_E_BADTYPENAME
  572. //
  573. // MessageText:
  574. //
  575. //  Type name is invalid.
  576. //
  577. #define DB_E_BADTYPENAME                 ((HRESULT)0x80040E30L)
  578.  
  579. //
  580. // MessageId: DB_E_ABORTLIMITREACHED
  581. //
  582. // MessageText:
  583. //
  584. //  Execution stopped because a resource limit was reached. No results were returned.
  585. //
  586. #define DB_E_ABORTLIMITREACHED           ((HRESULT)0x80040E31L)
  587.  
  588. //@@@+ V2.0
  589. #if( OLEDBVER >= 0x0200 )
  590. //
  591. // MessageId: DB_E_ROWSETINCOMMAND
  592. //
  593. // MessageText:
  594. //
  595. //  Command object whose command tree contains a rowset or rowsets cannot be cloned.
  596. //
  597. #define DB_E_ROWSETINCOMMAND             ((HRESULT)0x80040E32L)
  598.  
  599. //
  600. // MessageId: DB_E_CANTTRANSLATE
  601. //
  602. // MessageText:
  603. //
  604. //  Current tree cannot be represented as text.
  605. //
  606. #define DB_E_CANTTRANSLATE               ((HRESULT)0x80040E33L)
  607.  
  608. #endif // OLEDBVER >= 0x0200
  609. //@@@- V2.0
  610.  
  611. //
  612. // MessageId: DB_E_DUPLICATEINDEXID
  613. //
  614. // MessageText:
  615. //
  616. //  Index already exists.
  617. //
  618. #define DB_E_DUPLICATEINDEXID            ((HRESULT)0x80040E34L)
  619.  
  620. //
  621. // MessageId: DB_E_NOINDEX
  622. //
  623. // MessageText:
  624. //
  625. //  Index does not exist.
  626. //
  627. #define DB_E_NOINDEX                     ((HRESULT)0x80040E35L)
  628.  
  629. //
  630. // MessageId: DB_E_INDEXINUSE
  631. //
  632. // MessageText:
  633. //
  634. //  Index is in use.
  635. //
  636. #define DB_E_INDEXINUSE                  ((HRESULT)0x80040E36L)
  637.  
  638. //
  639. // MessageId: DB_E_NOTABLE
  640. //
  641. // MessageText:
  642. //
  643. //  Table does not exist.
  644. //
  645. #define DB_E_NOTABLE                     ((HRESULT)0x80040E37L)
  646.  
  647. //
  648. // MessageId: DB_E_CONCURRENCYVIOLATION
  649. //
  650. // MessageText:
  651. //
  652. //  Rowset used optimistic concurrency and the value of a
  653. //  column has changed since it was last read.
  654. //
  655. #define DB_E_CONCURRENCYVIOLATION        ((HRESULT)0x80040E38L)
  656.  
  657. //
  658. // MessageId: DB_E_BADCOPY
  659. //
  660. // MessageText:
  661. //
  662. //  Errors detected during the copy.
  663. //
  664. #define DB_E_BADCOPY                     ((HRESULT)0x80040E39L)
  665.  
  666. //
  667. // MessageId: DB_E_BADPRECISION
  668. //
  669. // MessageText:
  670. //
  671. //  Precision is invalid.
  672. //
  673. #define DB_E_BADPRECISION                ((HRESULT)0x80040E3AL)
  674.  
  675. //
  676. // MessageId: DB_E_BADSCALE
  677. //
  678. // MessageText:
  679. //
  680. //  Scale is invalid.
  681. //
  682. #define DB_E_BADSCALE                    ((HRESULT)0x80040E3BL)
  683.  
  684. //
  685. // MessageId: DB_E_BADTABLEID
  686. //
  687. // MessageText:
  688. //
  689. //  Table ID is invalid.
  690. //
  691. #define DB_E_BADTABLEID                  ((HRESULT)0x80040E3CL)
  692.  
  693. // DB_E_BADID is deprecated; use DB_E_BADTABLEID instead
  694. #define DB_E_BADID DB_E_BADTABLEID
  695.  
  696. //
  697. // MessageId: DB_E_BADTYPE
  698. //
  699. // MessageText:
  700. //
  701. //  Type is invalid.
  702. //
  703. #define DB_E_BADTYPE                     ((HRESULT)0x80040E3DL)
  704.  
  705. //
  706. // MessageId: DB_E_DUPLICATECOLUMNID
  707. //
  708. // MessageText:
  709. //
  710. //  Column ID already exists or occurred more than once in the array of columns.
  711. //
  712. #define DB_E_DUPLICATECOLUMNID           ((HRESULT)0x80040E3EL)
  713.  
  714. //
  715. // MessageId: DB_E_DUPLICATETABLEID
  716. //
  717. // MessageText:
  718. //
  719. //  Table already exists.
  720. //
  721. #define DB_E_DUPLICATETABLEID            ((HRESULT)0x80040E3FL)
  722.  
  723. //
  724. // MessageId: DB_E_TABLEINUSE
  725. //
  726. // MessageText:
  727. //
  728. //  Table is in use.
  729. //
  730. #define DB_E_TABLEINUSE                  ((HRESULT)0x80040E40L)
  731.  
  732. //
  733. // MessageId: DB_E_NOLOCALE
  734. //
  735. // MessageText:
  736. //
  737. //  Locale ID is not supported.
  738. //
  739. #define DB_E_NOLOCALE                    ((HRESULT)0x80040E41L)
  740.  
  741. //
  742. // MessageId: DB_E_BADRECORDNUM
  743. //
  744. // MessageText:
  745. //
  746. //  Record number is invalid.
  747. //
  748. #define DB_E_BADRECORDNUM                ((HRESULT)0x80040E42L)
  749.  
  750. //
  751. // MessageId: DB_E_BOOKMARKSKIPPED
  752. //
  753. // MessageText:
  754. //
  755. //  Form of bookmark is valid, but no row was found to
  756. //  match it.
  757. //
  758. #define DB_E_BOOKMARKSKIPPED             ((HRESULT)0x80040E43L)
  759.  
  760. //
  761. // MessageId: DB_E_BADPROPERTYVALUE
  762. //
  763. // MessageText:
  764. //
  765. //  Property value is invalid.
  766. //
  767. #define DB_E_BADPROPERTYVALUE            ((HRESULT)0x80040E44L)
  768.  
  769. //
  770. // MessageId: DB_E_INVALID
  771. //
  772. // MessageText:
  773. //
  774. //  Rowset is not chaptered.
  775. //
  776. #define DB_E_INVALID                     ((HRESULT)0x80040E45L)
  777.  
  778. //
  779. // MessageId: DB_E_BADACCESSORFLAGS
  780. //
  781. // MessageText:
  782. //
  783. //  One or more accessor flags were invalid.
  784. //
  785. #define DB_E_BADACCESSORFLAGS            ((HRESULT)0x80040E46L)
  786.  
  787. //
  788. // MessageId: DB_E_BADSTORAGEFLAGS
  789. //
  790. // MessageText:
  791. //
  792. //  One or more storage flags are invalid.
  793. //
  794. #define DB_E_BADSTORAGEFLAGS             ((HRESULT)0x80040E47L)
  795.  
  796. //
  797. // MessageId: DB_E_BYREFACCESSORNOTSUPPORTED
  798. //
  799. // MessageText:
  800. //
  801. //  Reference accessors are not supported by this provider.
  802. //
  803. #define DB_E_BYREFACCESSORNOTSUPPORTED   ((HRESULT)0x80040E48L)
  804.  
  805. //
  806. // MessageId: DB_E_NULLACCESSORNOTSUPPORTED
  807. //
  808. // MessageText:
  809. //
  810. //  Null accessors are not supported by this provider.
  811. //
  812. #define DB_E_NULLACCESSORNOTSUPPORTED    ((HRESULT)0x80040E49L)
  813.  
  814. //
  815. // MessageId: DB_E_NOTPREPARED
  816. //
  817. // MessageText:
  818. //
  819. //  Command was not prepared.
  820. //
  821. #define DB_E_NOTPREPARED                 ((HRESULT)0x80040E4AL)
  822.  
  823. //
  824. // MessageId: DB_E_BADACCESSORTYPE
  825. //
  826. // MessageText:
  827. //
  828. //  Accessor is not a parameter accessor.
  829. //
  830. #define DB_E_BADACCESSORTYPE             ((HRESULT)0x80040E4BL)
  831.  
  832. //
  833. // MessageId: DB_E_WRITEONLYACCESSOR
  834. //
  835. // MessageText:
  836. //
  837. //  Accessor is write-only.
  838. //
  839. #define DB_E_WRITEONLYACCESSOR           ((HRESULT)0x80040E4CL)
  840.  
  841. //
  842. // MessageId: DB_SEC_E_AUTH_FAILED
  843. //
  844. // MessageText:
  845. //
  846. //  Authentication failed.
  847. //
  848. #define DB_SEC_E_AUTH_FAILED             ((HRESULT)0x80040E4DL)
  849.  
  850. //
  851. // MessageId: DB_E_CANCELED
  852. //
  853. // MessageText:
  854. //
  855. //  Operation was canceled.
  856. //
  857. #define DB_E_CANCELED                    ((HRESULT)0x80040E4EL)
  858.  
  859. //@@@+ V2.0
  860. #if( OLEDBVER >= 0x0200 )
  861. //
  862. // MessageId: DB_E_CHAPTERNOTRELEASED
  863. //
  864. // MessageText:
  865. //
  866. //  Rowset is single-chaptered. The chapter was not released.
  867. //
  868. #define DB_E_CHAPTERNOTRELEASED          ((HRESULT)0x80040E4FL)
  869.  
  870. #endif // OLEDBVER >= 0x0200
  871. //@@@- V2.0
  872.  
  873. //
  874. // MessageId: DB_E_BADSOURCEHANDLE
  875. //
  876. // MessageText:
  877. //
  878. //  Source handle is invalid.
  879. //
  880. #define DB_E_BADSOURCEHANDLE             ((HRESULT)0x80040E50L)
  881.  
  882. //
  883. // MessageId: DB_E_PARAMUNAVAILABLE
  884. //
  885. // MessageText:
  886. //
  887. //  Provider cannot derive parameter information and SetParameterInfo has not been called.
  888. //
  889. #define DB_E_PARAMUNAVAILABLE            ((HRESULT)0x80040E51L)
  890.  
  891. //
  892. // MessageId: DB_E_ALREADYINITIALIZED
  893. //
  894. // MessageText:
  895. //
  896. //  Data source object is already initialized.
  897. //
  898. #define DB_E_ALREADYINITIALIZED          ((HRESULT)0x80040E52L)
  899.  
  900. //
  901. // MessageId: DB_E_NOTSUPPORTED
  902. //
  903. // MessageText:
  904. //
  905. //  Method is not supported by this provider.
  906. //
  907. #define DB_E_NOTSUPPORTED                ((HRESULT)0x80040E53L)
  908.  
  909. //
  910. // MessageId: DB_E_MAXPENDCHANGESEXCEEDED
  911. //
  912. // MessageText:
  913. //
  914. //  Number of rows with pending changes exceeded the limit.
  915. //
  916. #define DB_E_MAXPENDCHANGESEXCEEDED      ((HRESULT)0x80040E54L)
  917.  
  918. //
  919. // MessageId: DB_E_BADORDINAL
  920. //
  921. // MessageText:
  922. //
  923. //  Column does not exist.
  924. //
  925. #define DB_E_BADORDINAL                  ((HRESULT)0x80040E55L)
  926.  
  927. //
  928. // MessageId: DB_E_PENDINGCHANGES
  929. //
  930. // MessageText:
  931. //
  932. //  Pending changes exist on a row with a reference count of zero.
  933. //
  934. #define DB_E_PENDINGCHANGES              ((HRESULT)0x80040E56L)
  935.  
  936. //
  937. // MessageId: DB_E_DATAOVERFLOW
  938. //
  939. // MessageText:
  940. //
  941. //  Literal value in the command exceeded the range of the type of the associated column.
  942. //
  943. #define DB_E_DATAOVERFLOW                ((HRESULT)0x80040E57L)
  944.  
  945. //
  946. // MessageId: DB_E_BADHRESULT
  947. //
  948. // MessageText:
  949. //
  950. //  HRESULT is invalid.
  951. //
  952. #define DB_E_BADHRESULT                  ((HRESULT)0x80040E58L)
  953.  
  954. //
  955. // MessageId: DB_E_BADLOOKUPID
  956. //
  957. // MessageText:
  958. //
  959. //  Lookup ID is invalid.
  960. //
  961. #define DB_E_BADLOOKUPID                 ((HRESULT)0x80040E59L)
  962.  
  963. //
  964. // MessageId: DB_E_BADDYNAMICERRORID
  965. //
  966. // MessageText:
  967. //
  968. //  DynamicError ID is invalid.
  969. //
  970. #define DB_E_BADDYNAMICERRORID           ((HRESULT)0x80040E5AL)
  971.  
  972. //
  973. // MessageId: DB_E_PENDINGINSERT
  974. //
  975. // MessageText:
  976. //
  977. //  Most recent data for a newly inserted row could not be retrieved because the insert is pending.
  978. //
  979. #define DB_E_PENDINGINSERT               ((HRESULT)0x80040E5BL)
  980.  
  981. //
  982. // MessageId: DB_E_BADCONVERTFLAG
  983. //
  984. // MessageText:
  985. //
  986. //  Conversion flag is invalid.
  987. //
  988. #define DB_E_BADCONVERTFLAG              ((HRESULT)0x80040E5CL)
  989.  
  990. //
  991. // MessageId: DB_E_BADPARAMETERNAME
  992. //
  993. // MessageText:
  994. //
  995. //  Parameter name is unrecognized.
  996. //
  997. #define DB_E_BADPARAMETERNAME            ((HRESULT)0x80040E5DL)
  998.  
  999. //
  1000. // MessageId: DB_E_MULTIPLESTORAGE
  1001. //
  1002. // MessageText:
  1003. //
  1004. //  Multiple storage objects cannot be open simultaneously.
  1005. //
  1006. #define DB_E_MULTIPLESTORAGE             ((HRESULT)0x80040E5EL)
  1007.  
  1008. //
  1009. // MessageId: DB_E_CANTFILTER
  1010. //
  1011. // MessageText:
  1012. //
  1013. //  Filter cannot be opened.
  1014. //
  1015. #define DB_E_CANTFILTER                  ((HRESULT)0x80040E5FL)
  1016.  
  1017. //
  1018. // MessageId: DB_E_CANTORDER
  1019. //
  1020. // MessageText:
  1021. //
  1022. //  Order cannot be opened.
  1023. //
  1024. #define DB_E_CANTORDER                   ((HRESULT)0x80040E60L)
  1025.  
  1026. //@@@+ V2.0
  1027. #if( OLEDBVER >= 0x0200 )
  1028. //
  1029. // MessageId: MD_E_BADTUPLE
  1030. //
  1031. // MessageText:
  1032. //
  1033. //  Tuple is invalid.
  1034. //
  1035. #define MD_E_BADTUPLE                    ((HRESULT)0x80040E61L)
  1036.  
  1037. //
  1038. // MessageId: MD_E_BADCOORDINATE
  1039. //
  1040. // MessageText:
  1041. //
  1042. //  Coordinate is invalid.
  1043. //
  1044. #define MD_E_BADCOORDINATE               ((HRESULT)0x80040E62L)
  1045.  
  1046. //
  1047. // MessageId: MD_E_INVALIDAXIS
  1048. //
  1049. // MessageText:
  1050. //
  1051. //  Axis is invalid.
  1052. //
  1053. #define MD_E_INVALIDAXIS                 ((HRESULT)0x80040E63L)
  1054.  
  1055. //
  1056. // MessageId: MD_E_INVALIDCELLRANGE
  1057. //
  1058. // MessageText:
  1059. //
  1060. //  One or more cell ordinals is invalid.
  1061. //
  1062. #define MD_E_INVALIDCELLRANGE            ((HRESULT)0x80040E64L)
  1063.  
  1064. //
  1065. // MessageId: DB_E_NOCOLUMN
  1066. //
  1067. // MessageText:
  1068. //
  1069. //  Column ID is invalid.
  1070. //
  1071. #define DB_E_NOCOLUMN                    ((HRESULT)0x80040E65L)
  1072.  
  1073. //
  1074. // MessageId: DB_E_COMMANDNOTPERSISTED
  1075. //
  1076. // MessageText:
  1077. //
  1078. //  Command does not have a DBID.
  1079. //
  1080. #define DB_E_COMMANDNOTPERSISTED         ((HRESULT)0x80040E67L)
  1081.  
  1082. //
  1083. // MessageId: DB_E_DUPLICATEID
  1084. //
  1085. // MessageText:
  1086. //
  1087. //  DBID already exists.
  1088. //
  1089. #define DB_E_DUPLICATEID                 ((HRESULT)0x80040E68L)
  1090.  
  1091. //
  1092. // MessageId: DB_E_OBJECTCREATIONLIMITREACHED
  1093. //
  1094. // MessageText:
  1095. //
  1096. //  Session cannot be created because maximum number of active sessions was already reached. 
  1097. //  Consumer must release one or more sessions before creating a new session object. 
  1098. //
  1099. #define DB_E_OBJECTCREATIONLIMITREACHED  ((HRESULT)0x80040E69L)
  1100.  
  1101. //
  1102. // MessageId: DB_E_BADINDEXID
  1103. //
  1104. // MessageText:
  1105. //
  1106. //  Index ID is invalid.
  1107. //
  1108. #define DB_E_BADINDEXID                  ((HRESULT)0x80040E72L)
  1109.  
  1110. //
  1111. // MessageId: DB_E_BADINITSTRING
  1112. //
  1113. // MessageText:
  1114. //
  1115. //  Format of the initialization string does not conform to the OLE DB specification.
  1116. //
  1117. #define DB_E_BADINITSTRING               ((HRESULT)0x80040E73L)
  1118.  
  1119. //
  1120. // MessageId: DB_E_NOPROVIDERSREGISTERED
  1121. //
  1122. // MessageText:
  1123. //
  1124. //  No OLE DB providers of this source type are registered.
  1125. //
  1126. #define DB_E_NOPROVIDERSREGISTERED       ((HRESULT)0x80040E74L)
  1127.  
  1128. //
  1129. // MessageId: DB_E_MISMATCHEDPROVIDER
  1130. //
  1131. // MessageText:
  1132. //
  1133. //  Initialization string specifies a provider that does not match the active provider.
  1134. //
  1135. #define DB_E_MISMATCHEDPROVIDER          ((HRESULT)0x80040E75L)
  1136.  
  1137. //
  1138. // MessageId: DB_E_BADCOMMANDID
  1139. //
  1140. // MessageText:
  1141. //
  1142. //  DBID is invalid.
  1143. //
  1144. #define DB_E_BADCOMMANDID                ((HRESULT)0x80040E76L)
  1145.  
  1146. #endif // OLEDBVER >= 0x0200
  1147. //@@@- V2.0
  1148. //@@@+ V2.1
  1149. #if( OLEDBVER >= 0x0210 )
  1150. #define SEC_E_PERMISSIONDENIED DB_SEC_E_PERMISSIONDENIED
  1151. //
  1152. // MessageId: SEC_E_BADTRUSTEEID
  1153. //
  1154. // MessageText:
  1155. //
  1156. //  Trustee is invalid.
  1157. //
  1158. #define SEC_E_BADTRUSTEEID               ((HRESULT)0x80040E6AL)
  1159.  
  1160. //
  1161. // MessageId: SEC_E_NOTRUSTEEID
  1162. //
  1163. // MessageText:
  1164. //
  1165. //  Trustee was not recognized for this data source.
  1166. //
  1167. #define SEC_E_NOTRUSTEEID                ((HRESULT)0x80040E6BL)
  1168.  
  1169. //
  1170. // MessageId: SEC_E_NOMEMBERSHIPSUPPORT
  1171. //
  1172. // MessageText:
  1173. //
  1174. //  Trustee does not support memberships or collections.
  1175. //
  1176. #define SEC_E_NOMEMBERSHIPSUPPORT        ((HRESULT)0x80040E6CL)
  1177.  
  1178. //
  1179. // MessageId: SEC_E_INVALIDOBJECT
  1180. //
  1181. // MessageText:
  1182. //
  1183. //  Object is invalid or unknown to the provider.
  1184. //
  1185. #define SEC_E_INVALIDOBJECT              ((HRESULT)0x80040E6DL)
  1186.  
  1187. //
  1188. // MessageId: SEC_E_NOOWNER
  1189. //
  1190. // MessageText:
  1191. //
  1192. //  Object does not have an owner.
  1193. //
  1194. #define SEC_E_NOOWNER                    ((HRESULT)0x80040E6EL)
  1195.  
  1196. //
  1197. // MessageId: SEC_E_INVALIDACCESSENTRYLIST
  1198. //
  1199. // MessageText:
  1200. //
  1201. //  Access entry list is invalid.
  1202. //
  1203. #define SEC_E_INVALIDACCESSENTRYLIST     ((HRESULT)0x80040E6FL)
  1204.  
  1205. //
  1206. // MessageId: SEC_E_INVALIDOWNER
  1207. //
  1208. // MessageText:
  1209. //
  1210. //  Trustee supplied as owner is invalid or unknown to the provider.
  1211. //
  1212. #define SEC_E_INVALIDOWNER               ((HRESULT)0x80040E70L)
  1213.  
  1214. //
  1215. // MessageId: SEC_E_INVALIDACCESSENTRY
  1216. //
  1217. // MessageText:
  1218. //
  1219. //  Permission in the access entry list is invalid.
  1220. //
  1221. #define SEC_E_INVALIDACCESSENTRY         ((HRESULT)0x80040E71L)
  1222.  
  1223. //
  1224. // MessageId: DB_E_BADCONSTRAINTTYPE
  1225. //
  1226. // MessageText:
  1227. //
  1228. //  ConstraintType is invalid or not supported by the provider.
  1229. //
  1230. #define DB_E_BADCONSTRAINTTYPE           ((HRESULT)0x80040E77L)
  1231.  
  1232. //
  1233. // MessageId: DB_E_BADCONSTRAINTFORM
  1234. //
  1235. // MessageText:
  1236. //
  1237. //  ConstraintType is not DBCONSTRAINTTYPE_FOREIGNKEY and cForeignKeyColumns is not zero.
  1238. //
  1239. #define DB_E_BADCONSTRAINTFORM           ((HRESULT)0x80040E78L)
  1240.  
  1241. //
  1242. // MessageId: DB_E_BADDEFERRABILITY
  1243. //
  1244. // MessageText:
  1245. //
  1246. //  Specified deferrability flag is invalid or not supported by the provider.
  1247. //
  1248. #define DB_E_BADDEFERRABILITY            ((HRESULT)0x80040E79L)
  1249.  
  1250. //
  1251. // MessageId: DB_E_BADMATCHTYPE
  1252. //
  1253. // MessageText:
  1254. //
  1255. //  MatchType is invalid or the value is not supported by the provider.
  1256. //
  1257. #define DB_E_BADMATCHTYPE                ((HRESULT)0x80040E80L)
  1258.  
  1259. //
  1260. // MessageId: DB_E_BADUPDATEDELETERULE
  1261. //
  1262. // MessageText:
  1263. //
  1264. //  Constraint update rule or delete rule is invalid.
  1265. //
  1266. #define DB_E_BADUPDATEDELETERULE         ((HRESULT)0x80040E8AL)
  1267.  
  1268. //
  1269. // MessageId: DB_E_BADCONSTRAINTID
  1270. //
  1271. // MessageText:
  1272. //
  1273. //  Constraint does not exist.
  1274. //
  1275. #define DB_E_BADCONSTRAINTID             ((HRESULT)0x80040E8BL)
  1276.  
  1277. //
  1278. // MessageId: DB_E_BADCOMMANDFLAGS
  1279. //
  1280. // MessageText:
  1281. //
  1282. //  Command persistence flag is invalid.
  1283. //
  1284. #define DB_E_BADCOMMANDFLAGS             ((HRESULT)0x80040E8CL)
  1285.  
  1286. //
  1287. // MessageId: DB_E_OBJECTMISMATCH
  1288. //
  1289. // MessageText:
  1290. //
  1291. //  rguidColumnType points to a GUID that does not 
  1292. //  match the object type of this column, or this column
  1293. //  was not set.
  1294. //
  1295. #define DB_E_OBJECTMISMATCH              ((HRESULT)0x80040E8DL)
  1296.  
  1297. //
  1298. // MessageId: DB_E_NOSOURCEOBJECT
  1299. //
  1300. // MessageText:
  1301. //
  1302. //  Source row does not exist.
  1303. //
  1304. #define DB_E_NOSOURCEOBJECT              ((HRESULT)0x80040E91L)
  1305.  
  1306. //
  1307. // MessageId: DB_E_RESOURCELOCKED
  1308. //
  1309. // MessageText:
  1310. //
  1311. //  OLE DB object represented by this URL is locked by one 
  1312. //  or more other processes.
  1313. //
  1314. #define DB_E_RESOURCELOCKED              ((HRESULT)0x80040E92L)
  1315.  
  1316. //
  1317. // MessageId: DB_E_NOTCOLLECTION
  1318. //
  1319. // MessageText:
  1320. //
  1321. //  Client requested an object type that is valid only for 
  1322. //  a collection. 
  1323. //
  1324. #define DB_E_NOTCOLLECTION               ((HRESULT)0x80040E93L)
  1325.  
  1326. //
  1327. // MessageId: DB_E_READONLY
  1328. //
  1329. // MessageText:
  1330. //
  1331. //  Caller requested write access to a read-only object.
  1332. //
  1333. #define DB_E_READONLY                    ((HRESULT)0x80040E94L)
  1334.  
  1335. //
  1336. // MessageId: DB_E_ASYNCNOTSUPPORTED
  1337. //
  1338. // MessageText:
  1339. //
  1340. //  Asynchronous binding is not supported by this provider.
  1341. //
  1342. #define DB_E_ASYNCNOTSUPPORTED           ((HRESULT)0x80040E95L)
  1343.  
  1344. //
  1345. // MessageId: DB_E_CANNOTCONNECT
  1346. //
  1347. // MessageText:
  1348. //
  1349. //  Connection to the server for this URL cannot be established.
  1350. //
  1351. #define DB_E_CANNOTCONNECT               ((HRESULT)0x80040E96L)
  1352.  
  1353. //
  1354. // MessageId: DB_E_TIMEOUT
  1355. //
  1356. // MessageText:
  1357. //
  1358. //  Timeout occurred when attempting to bind to the object.
  1359. //
  1360. #define DB_E_TIMEOUT                     ((HRESULT)0x80040E97L)
  1361.  
  1362. //
  1363. // MessageId: DB_E_RESOURCEEXISTS
  1364. //
  1365. // MessageText:
  1366. //
  1367. //  Object cannot be created at this URL because an object named by this URL already exists.
  1368. //
  1369. #define DB_E_RESOURCEEXISTS              ((HRESULT)0x80040E98L)
  1370.  
  1371. //
  1372. // MessageId: DB_E_RESOURCEOUTOFSCOPE
  1373. //
  1374. // MessageText:
  1375. //
  1376. //  URL is outside of scope.
  1377. //
  1378. #define DB_E_RESOURCEOUTOFSCOPE          ((HRESULT)0x80040E8EL)
  1379.  
  1380. //
  1381. // MessageId: DB_E_DROPRESTRICTED
  1382. //
  1383. // MessageText:
  1384. //
  1385. //  Column or constraint could not be dropped because it is referenced by a dependent view or constraint.
  1386. //
  1387. #define DB_E_DROPRESTRICTED              ((HRESULT)0x80040E90L)
  1388.  
  1389. //
  1390. // MessageId: DB_E_DUPLICATECONSTRAINTID
  1391. //
  1392. // MessageText:
  1393. //
  1394. //  Constraint already exists.
  1395. //
  1396. #define DB_E_DUPLICATECONSTRAINTID       ((HRESULT)0x80040E99L)
  1397.  
  1398. //
  1399. // MessageId: DB_E_OUTOFSPACE
  1400. //
  1401. // MessageText:
  1402. //
  1403. //  Object cannot be created at this URL because the server is out of physical storage.
  1404. //
  1405. #define DB_E_OUTOFSPACE                  ((HRESULT)0x80040E9AL)
  1406.  
  1407. #define SEC_E_PERMISSIONDENIED DB_SEC_E_PERMISSIONDENIED
  1408. #endif // OLEDBVER >= 0x0210
  1409. //@@@- V2.1
  1410. //@@@+ V2.5
  1411. #if( OLEDBVER >= 0x0250 )
  1412. //
  1413. // MessageId: DB_SEC_E_SAFEMODE_DENIED
  1414. //
  1415. // MessageText:
  1416. //
  1417. //  Safety settings on this computer prohibit accessing a data source on another domain.
  1418. //
  1419. #define DB_SEC_E_SAFEMODE_DENIED         ((HRESULT)0x80040E9BL)
  1420.  
  1421. #endif // OLEDBVER >= 0x0250
  1422. //@@@- V2.5
  1423.  
  1424. //
  1425. // MessageId: DB_S_ROWLIMITEXCEEDED
  1426. //
  1427. // MessageText:
  1428. //
  1429. //  Fetching requested number of rows will exceed total number
  1430. //  of active rows supported by the rowset.
  1431. //
  1432. #define DB_S_ROWLIMITEXCEEDED            ((HRESULT)0x00040EC0L)
  1433.  
  1434. //
  1435. // MessageId: DB_S_COLUMNTYPEMISMATCH
  1436. //
  1437. // MessageText:
  1438. //
  1439. //  One or more column types are incompatible. Conversion errors will
  1440. //  occur during copying.
  1441. //
  1442. #define DB_S_COLUMNTYPEMISMATCH          ((HRESULT)0x00040EC1L)
  1443.  
  1444. //
  1445. // MessageId: DB_S_TYPEINFOOVERRIDDEN
  1446. //
  1447. // MessageText:
  1448. //
  1449. //  Parameter type information was overridden by caller.
  1450. //
  1451. #define DB_S_TYPEINFOOVERRIDDEN          ((HRESULT)0x00040EC2L)
  1452.  
  1453. //
  1454. // MessageId: DB_S_BOOKMARKSKIPPED
  1455. //
  1456. // MessageText:
  1457. //
  1458. //  Bookmark was skipped for deleted or nonmember row.
  1459. //
  1460. #define DB_S_BOOKMARKSKIPPED             ((HRESULT)0x00040EC3L)
  1461.  
  1462. //@@@+ V2.0
  1463. #if( OLEDBVER >= 0x0200 )
  1464. //
  1465. // MessageId: DB_S_NONEXTROWSET
  1466. //
  1467. // MessageText:
  1468. //
  1469. //  No more rowsets.
  1470. //
  1471. #define DB_S_NONEXTROWSET                ((HRESULT)0x00040EC5L)
  1472.  
  1473. #endif // OLEDBVER >= 0x0200
  1474. //@@@- V2.0
  1475.  
  1476. //
  1477. // MessageId: DB_S_ENDOFROWSET
  1478. //
  1479. // MessageText:
  1480. //
  1481. //  Start or end of rowset or chapter was reached.
  1482. //
  1483. #define DB_S_ENDOFROWSET                 ((HRESULT)0x00040EC6L)
  1484.  
  1485. //
  1486. // MessageId: DB_S_COMMANDREEXECUTED
  1487. //
  1488. // MessageText:
  1489. //
  1490. //  Command was reexecuted.
  1491. //
  1492. #define DB_S_COMMANDREEXECUTED           ((HRESULT)0x00040EC7L)
  1493.  
  1494. //
  1495. // MessageId: DB_S_BUFFERFULL
  1496. //
  1497. // MessageText:
  1498. //
  1499. //  Operation succeeded, but status array or string buffer could not be allocated. 
  1500. //
  1501. #define DB_S_BUFFERFULL                  ((HRESULT)0x00040EC8L)
  1502.  
  1503. //
  1504. // MessageId: DB_S_NORESULT
  1505. //
  1506. // MessageText:
  1507. //
  1508. //  No more results.
  1509. //
  1510. #define DB_S_NORESULT                    ((HRESULT)0x00040EC9L)
  1511.  
  1512. //
  1513. // MessageId: DB_S_CANTRELEASE
  1514. //
  1515. // MessageText:
  1516. //
  1517. //  Server cannot release or downgrade a lock until the end of the
  1518. //  transaction.
  1519. //
  1520. #define DB_S_CANTRELEASE                 ((HRESULT)0x00040ECAL)
  1521.  
  1522. //@@@+ V2.5
  1523. #if( OLEDBVER >= 0x0250 )
  1524. //
  1525. // MessageId: DB_S_GOALCHANGED
  1526. //
  1527. // MessageText:
  1528. //
  1529. //  Weight is not supported or exceeded the supported limit,
  1530. //  and was set to 0 or the supported limit.
  1531. //
  1532. #define DB_S_GOALCHANGED                 ((HRESULT)0x00040ECBL)
  1533.  
  1534. #endif // OLEDBVER >= 0x0250
  1535. //@@@- V2.5
  1536.  
  1537. //@@@+ V1.5
  1538. #if( OLEDBVER >= 0x0150 )
  1539. //
  1540. // MessageId: DB_S_UNWANTEDOPERATION
  1541. //
  1542. // MessageText:
  1543. //
  1544. //  Consumer does not want to receive further notification calls for this operation. 
  1545. //
  1546. #define DB_S_UNWANTEDOPERATION           ((HRESULT)0x00040ECCL)
  1547.  
  1548. #endif // OLEDBVER >= 0x0150
  1549. //@@@- V1.5
  1550.  
  1551. //
  1552. // MessageId: DB_S_DIALECTIGNORED
  1553. //
  1554. // MessageText:
  1555. //
  1556. //  Input dialect was ignored and command was processed using default dialect.
  1557. //
  1558. #define DB_S_DIALECTIGNORED              ((HRESULT)0x00040ECDL)
  1559.  
  1560. //
  1561. // MessageId: DB_S_UNWANTEDPHASE
  1562. //
  1563. // MessageText:
  1564. //
  1565. //  Consumer does not want to receive further notification calls for this phase.
  1566. //
  1567. #define DB_S_UNWANTEDPHASE               ((HRESULT)0x00040ECEL)
  1568.  
  1569. //
  1570. // MessageId: DB_S_UNWANTEDREASON
  1571. //
  1572. // MessageText:
  1573. //
  1574. //  Consumer does not want to receive further notification calls for this reason.
  1575. //
  1576. #define DB_S_UNWANTEDREASON              ((HRESULT)0x00040ECFL)
  1577.  
  1578. //@@@+ V1.5
  1579. #if( OLEDBVER >= 0x0150 )
  1580. //
  1581. // MessageId: DB_S_ASYNCHRONOUS
  1582. //
  1583. // MessageText:
  1584. //
  1585. //  Operation is being processed asynchronously.
  1586. //
  1587. #define DB_S_ASYNCHRONOUS                ((HRESULT)0x00040ED0L)
  1588.  
  1589. #endif // OLEDBVER >= 0x0150
  1590. //@@@- V1.5
  1591.  
  1592. //
  1593. // MessageId: DB_S_COLUMNSCHANGED
  1594. //
  1595. // MessageText:
  1596. //
  1597. //  Command was executed to reposition to the start of the rowset. Either the order of the columns 
  1598. //  changed, or columns were added to or removed from the rowset.
  1599. //
  1600. #define DB_S_COLUMNSCHANGED              ((HRESULT)0x00040ED1L)
  1601.  
  1602. //
  1603. // MessageId: DB_S_ERRORSRETURNED
  1604. //
  1605. // MessageText:
  1606. //
  1607. //  Method had some errors, which were returned in the error
  1608. //  array.
  1609. //
  1610. #define DB_S_ERRORSRETURNED              ((HRESULT)0x00040ED2L)
  1611.  
  1612. //
  1613. // MessageId: DB_S_BADROWHANDLE
  1614. //
  1615. // MessageText:
  1616. //
  1617. //  Row handle is invalid.
  1618. //
  1619. #define DB_S_BADROWHANDLE                ((HRESULT)0x00040ED3L)
  1620.  
  1621. //
  1622. // MessageId: DB_S_DELETEDROW
  1623. //
  1624. // MessageText:
  1625. //
  1626. //  Row handle referred to a deleted row.
  1627. //
  1628. #define DB_S_DELETEDROW                  ((HRESULT)0x00040ED4L)
  1629.  
  1630. //@@@+ V2.5
  1631. #if( OLEDBVER >= 0x0250 )
  1632. //
  1633. // MessageId: DB_S_TOOMANYCHANGES
  1634. //
  1635. // MessageText:
  1636. //
  1637. //  Provider cannot keep track of all the changes. Client
  1638. //  must refetch the data associated with the watch region by using another
  1639. //  method.
  1640. //
  1641. #define DB_S_TOOMANYCHANGES              ((HRESULT)0x00040ED5L)
  1642.  
  1643. #endif // OLEDBVER >= 0x0250
  1644. //@@@- V2.5
  1645.  
  1646. //
  1647. // MessageId: DB_S_STOPLIMITREACHED
  1648. //
  1649. // MessageText:
  1650. //
  1651. //  Execution stopped because a resource limit was reached. Results obtained so far were returned, 
  1652. //  but execution cannot resume.
  1653. //
  1654. #define DB_S_STOPLIMITREACHED            ((HRESULT)0x00040ED6L)
  1655.  
  1656. //
  1657. // MessageId: DB_S_LOCKUPGRADED
  1658. //
  1659. // MessageText:
  1660. //
  1661. //  Lock was upgraded from the value specified.
  1662. //
  1663. #define DB_S_LOCKUPGRADED                ((HRESULT)0x00040ED8L)
  1664.  
  1665. //
  1666. // MessageId: DB_S_PROPERTIESCHANGED
  1667. //
  1668. // MessageText:
  1669. //
  1670. //  One or more properties were changed as allowed by provider.
  1671. //
  1672. #define DB_S_PROPERTIESCHANGED           ((HRESULT)0x00040ED9L)
  1673.  
  1674. //
  1675. // MessageId: DB_S_ERRORSOCCURRED
  1676. //
  1677. // MessageText:
  1678. //
  1679. //  Multiple-step operation completed with one or more errors. Check each status value.
  1680. //
  1681. #define DB_S_ERRORSOCCURRED              ((HRESULT)0x00040EDAL)
  1682.  
  1683. //
  1684. // MessageId: DB_S_PARAMUNAVAILABLE
  1685. //
  1686. // MessageText:
  1687. //
  1688. //  Parameter is invalid.
  1689. //
  1690. #define DB_S_PARAMUNAVAILABLE            ((HRESULT)0x00040EDBL)
  1691.  
  1692. //
  1693. // MessageId: DB_S_MULTIPLECHANGES
  1694. //
  1695. // MessageText:
  1696. //
  1697. //  Updating a row caused more than one row to be updated in the data source.
  1698. //
  1699. #define DB_S_MULTIPLECHANGES             ((HRESULT)0x00040EDCL)
  1700.  
  1701. //@@@+ V2.1
  1702. #if( OLEDBVER >= 0x0210 )
  1703. //
  1704. // MessageId: DB_S_NOTSINGLETON
  1705. //
  1706. // MessageText:
  1707. //
  1708. //  Row object was requested on a non-singleton result. First row was returned.
  1709. //
  1710. #define DB_S_NOTSINGLETON                ((HRESULT)0x00040ED7L)
  1711.  
  1712. //
  1713. // MessageId: DB_S_NOROWSPECIFICCOLUMNS
  1714. //
  1715. // MessageText:
  1716. //
  1717. //  Row has no row-specific columns.
  1718. //
  1719. #define DB_S_NOROWSPECIFICCOLUMNS        ((HRESULT)0x00040EDDL)
  1720.  
  1721. #endif // OLEDBVER >= 0x0210
  1722. //@@@- V2.1
  1723. #pragma option pop /*P_O_Pop*/
  1724. #endif // _OLEDBERR_H_
  1725.