home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / oledberr.h < prev    next >
C/C++ Source or Header  |  1998-05-31  |  32KB  |  1,520 lines

  1. #ifndef _MSADERR_H_
  2. #define _MSADERR_H_
  3. #ifndef FACILITY_WINDOWS
  4. //+---------------------------------------------------------------------------
  5. //
  6. //  Microsoft OLE DB
  7. //  Copyright (C) Microsoft Corporation, 1994 - 1998.
  8. //
  9. //----------------------------------------------------------------------------
  10.  
  11.  
  12. //
  13. //  Values are 32 bit values layed out as follows:
  14. //
  15. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  16. //   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
  17. //  +-+-+-+-+-+---------------------+-------------------------------+
  18. //  |S|R|C|N|r|    Facility         |               Code            |
  19. //  +-+-+-+-+-+---------------------+-------------------------------+
  20. //
  21. //  where
  22. //
  23. //      S - Severity - indicates success/fail
  24. //
  25. //          0 - Success
  26. //          1 - Fail (COERROR)
  27. //
  28. //      R - reserved portion of the facility code, corresponds to NT's
  29. //              second severity bit.
  30. //
  31. //      C - reserved portion of the facility code, corresponds to NT's
  32. //              C field.
  33. //
  34. //      N - reserved portion of the facility code. Used to indicate a
  35. //              mapped NT status value.
  36. //
  37. //      r - reserved portion of the facility code. Reserved for internal
  38. //              use. Used to indicate HRESULT values that are not status
  39. //              values, but are instead message ids for display strings.
  40. //
  41. //      Facility - is the facility code
  42. //
  43. //      Code - is the facility's status code
  44. //
  45. //
  46. // Define the facility codes
  47. //
  48. #define FACILITY_WINDOWS                 0x8
  49. #define FACILITY_ITF                     0x4
  50.  
  51.  
  52. //
  53. // Define the severity codes
  54. //
  55. #define STATUS_SEVERITY_SUCCESS          0x0
  56. #define STATUS_SEVERITY_COERROR          0x2
  57.  
  58.  
  59. //
  60. // MessageId: DB_E_BOGUS
  61. //
  62. // MessageText:
  63. //
  64. //  Dummy error - need this error so that mc puts the above defines
  65. //  inside the FACILITY_WINDOWS guard, instead of leaving it empty
  66. //
  67. #define DB_E_BOGUS                       ((HRESULT)0x80040EFFL)
  68.  
  69. #endif // FACILITY_WINDOWS
  70.  
  71. //
  72. // Codes 0x0e00-0x0eff are reserved for the OLE DB group of
  73. // interfaces.
  74. //
  75. // Free codes are:
  76. //
  77. //        Error:
  78. //            -none-
  79. //
  80. //        Success:
  81. //            0x0eea
  82. //            0x0ed7
  83. //
  84.  
  85.  
  86. //
  87. // OLEDBVER
  88. //    OLE DB version number (0x0200); this can be overridden with an older
  89. // version number if necessary
  90. //
  91.  
  92. // If OLEDBVER is not defined, assume version 2.0
  93. #ifndef OLEDBVER
  94. #define OLEDBVER 0x0200
  95. #endif
  96.  
  97. //
  98. // MessageId: DB_E_BADACCESSORHANDLE
  99. //
  100. // MessageText:
  101. //
  102. //  Invalid accessor
  103. //
  104. #define DB_E_BADACCESSORHANDLE           ((HRESULT)0x80040E00L)
  105.  
  106. //
  107. // MessageId: DB_E_ROWLIMITEXCEEDED
  108. //
  109. // MessageText:
  110. //
  111. //  Creating another row would have exceeded the total number of active
  112. //  rows supported by the rowset
  113. //
  114. #define DB_E_ROWLIMITEXCEEDED            ((HRESULT)0x80040E01L)
  115.  
  116. //
  117. // MessageId: DB_E_READONLYACCESSOR
  118. //
  119. // MessageText:
  120. //
  121. //  Unable to write with a read-only accessor
  122. //
  123. #define DB_E_READONLYACCESSOR            ((HRESULT)0x80040E02L)
  124.  
  125. //
  126. // MessageId: DB_E_SCHEMAVIOLATION
  127. //
  128. // MessageText:
  129. //
  130. //  Given values violate the database schema
  131. //
  132. #define DB_E_SCHEMAVIOLATION             ((HRESULT)0x80040E03L)
  133.  
  134. //
  135. // MessageId: DB_E_BADROWHANDLE
  136. //
  137. // MessageText:
  138. //
  139. //  Invalid row handle
  140. //
  141. #define DB_E_BADROWHANDLE                ((HRESULT)0x80040E04L)
  142.  
  143. //
  144. // MessageId: DB_E_OBJECTOPEN
  145. //
  146. // MessageText:
  147. //
  148. //  An object was open
  149. //
  150. #define DB_E_OBJECTOPEN                  ((HRESULT)0x80040E05L)
  151.  
  152. //@@@+ V1.5
  153. #if( OLEDBVER >= 0x0150 )
  154. //
  155. // MessageId: DB_E_BADCHAPTER
  156. //
  157. // MessageText:
  158. //
  159. //  Invalid chapter
  160. //
  161. #define DB_E_BADCHAPTER                  ((HRESULT)0x80040E06L)
  162.  
  163. #endif // OLEDBVER >= 0x0150
  164. //@@@- V1.5
  165.  
  166. //
  167. // MessageId: DB_E_CANTCONVERTVALUE
  168. //
  169. // MessageText:
  170. //
  171. //  A literal value in the command could not be converted to the
  172. //  correct type due to a reason other than data overflow
  173. //
  174. #define DB_E_CANTCONVERTVALUE            ((HRESULT)0x80040E07L)
  175.  
  176. //
  177. // MessageId: DB_E_BADBINDINFO
  178. //
  179. // MessageText:
  180. //
  181. //  Invalid binding info
  182. //
  183. #define DB_E_BADBINDINFO                 ((HRESULT)0x80040E08L)
  184.  
  185. //
  186. // MessageId: DB_SEC_E_PERMISSIONDENIED
  187. //
  188. // MessageText:
  189. //
  190. //  Permission denied
  191. //
  192. #define DB_SEC_E_PERMISSIONDENIED        ((HRESULT)0x80040E09L)
  193.  
  194. //
  195. // MessageId: DB_E_NOTAREFERENCECOLUMN
  196. //
  197. // MessageText:
  198. //
  199. //  Specified column does not contain bookmarks or chapters
  200. //
  201. #define DB_E_NOTAREFERENCECOLUMN         ((HRESULT)0x80040E0AL)
  202.  
  203. //@@@+ V2.5
  204. #if( OLEDBVER >= 0x0250 )
  205. //
  206. // MessageId: DB_E_LIMITREJECTED
  207. //
  208. // MessageText:
  209. //
  210. //  Some cost limits were rejected
  211. //
  212. #define DB_E_LIMITREJECTED               ((HRESULT)0x80040E0BL)
  213.  
  214. #endif // OLEDBVER >= 0x0250
  215. //@@@- V2.5
  216.  
  217. //
  218. // MessageId: DB_E_NOCOMMAND
  219. //
  220. // MessageText:
  221. //
  222. //  No command has been set for the command object
  223. //
  224. #define DB_E_NOCOMMAND                   ((HRESULT)0x80040E0CL)
  225.  
  226. //@@@+ V2.5
  227. #if( OLEDBVER >= 0x0250 )
  228. //
  229. // MessageId: DB_E_COSTLIMIT
  230. //
  231. // MessageText:
  232. //
  233. //  Unable to find a query plan within the given cost limit
  234. //
  235. #define DB_E_COSTLIMIT                   ((HRESULT)0x80040E0DL)
  236.  
  237. #endif // OLEDBVER >= 0x0250
  238. //@@@- V2.5
  239.  
  240. //
  241. // MessageId: DB_E_BADBOOKMARK
  242. //
  243. // MessageText:
  244. //
  245. //  Invalid bookmark
  246. //
  247. #define DB_E_BADBOOKMARK                 ((HRESULT)0x80040E0EL)
  248.  
  249. //
  250. // MessageId: DB_E_BADLOCKMODE
  251. //
  252. // MessageText:
  253. //
  254. //  Invalid lock mode
  255. //
  256. #define DB_E_BADLOCKMODE                 ((HRESULT)0x80040E0FL)
  257.  
  258. //
  259. // MessageId: DB_E_PARAMNOTOPTIONAL
  260. //
  261. // MessageText:
  262. //
  263. //  No value given for one or more required parameters
  264. //
  265. #define DB_E_PARAMNOTOPTIONAL            ((HRESULT)0x80040E10L)
  266.  
  267. //
  268. // MessageId: DB_E_BADCOLUMNID
  269. //
  270. // MessageText:
  271. //
  272. //  Invalid column ID
  273. //
  274. #define DB_E_BADCOLUMNID                 ((HRESULT)0x80040E11L)
  275.  
  276. //
  277. // MessageId: DB_E_BADRATIO
  278. //
  279. // MessageText:
  280. //
  281. //  Invalid ratio
  282. //
  283. #define DB_E_BADRATIO                    ((HRESULT)0x80040E12L)
  284.  
  285. //@@@+ V2.0
  286. #if( OLEDBVER >= 0x0200 )
  287. //
  288. // MessageId: DB_E_BADVALUES
  289. //
  290. // MessageText:
  291. //
  292. //  Invalid value
  293. //
  294. #define DB_E_BADVALUES                   ((HRESULT)0x80040E13L)
  295.  
  296. #endif // OLEDBVER >= 0x0200
  297. //@@@- V2.0
  298.  
  299. //
  300. // MessageId: DB_E_ERRORSINCOMMAND
  301. //
  302. // MessageText:
  303. //
  304. //  The command contained one or more errors
  305. //
  306. #define DB_E_ERRORSINCOMMAND             ((HRESULT)0x80040E14L)
  307.  
  308. //
  309. // MessageId: DB_E_CANTCANCEL
  310. //
  311. // MessageText:
  312. //
  313. //  The executing command cannot be canceled
  314. //
  315. #define DB_E_CANTCANCEL                  ((HRESULT)0x80040E15L)
  316.  
  317. //
  318. // MessageId: DB_E_DIALECTNOTSUPPORTED
  319. //
  320. // MessageText:
  321. //
  322. //  The provider does not support the specified dialect
  323. //
  324. #define DB_E_DIALECTNOTSUPPORTED         ((HRESULT)0x80040E16L)
  325.  
  326. //
  327. // MessageId: DB_E_DUPLICATEDATASOURCE
  328. //
  329. // MessageText:
  330. //
  331. //  A data source with the specified name already exists
  332. //
  333. #define DB_E_DUPLICATEDATASOURCE         ((HRESULT)0x80040E17L)
  334.  
  335. //
  336. // MessageId: DB_E_CANNOTRESTART
  337. //
  338. // MessageText:
  339. //
  340. //  The rowset was built over a live data feed and cannot be restarted
  341. //
  342. #define DB_E_CANNOTRESTART               ((HRESULT)0x80040E18L)
  343.  
  344. //
  345. // MessageId: DB_E_NOTFOUND
  346. //
  347. // MessageText:
  348. //
  349. //  No key matching the described characteristics could be found within
  350. //  the current range
  351. //
  352. #define DB_E_NOTFOUND                    ((HRESULT)0x80040E19L)
  353.  
  354. //
  355. // MessageId: DB_E_NEWLYINSERTED
  356. //
  357. // MessageText:
  358. //
  359. //  The provider is unable to determine identity for newly inserted
  360. //  rows
  361. //
  362. #define DB_E_NEWLYINSERTED               ((HRESULT)0x80040E1BL)
  363.  
  364. //@@@+ V2.5
  365. #if( OLEDBVER >= 0x0250 )
  366. //
  367. // MessageId: DB_E_CANNOTFREE
  368. //
  369. // MessageText:
  370. //
  371. //  Ownership of this tree has been given to the provider
  372. //
  373. #define DB_E_CANNOTFREE                  ((HRESULT)0x80040E1AL)
  374.  
  375. //
  376. // MessageId: DB_E_GOALREJECTED
  377. //
  378. // MessageText:
  379. //
  380. //  No nonzero weights specified for any goals supported, so goal was
  381. //  rejected; current goal was not changed
  382. //
  383. #define DB_E_GOALREJECTED                ((HRESULT)0x80040E1CL)
  384.  
  385. #endif // OLEDBVER >= 0x0250
  386. //@@@- V2.5
  387.  
  388. //
  389. // MessageId: DB_E_UNSUPPORTEDCONVERSION
  390. //
  391. // MessageText:
  392. //
  393. //  Requested conversion is not supported
  394. //
  395. #define DB_E_UNSUPPORTEDCONVERSION       ((HRESULT)0x80040E1DL)
  396.  
  397. //
  398. // MessageId: DB_E_BADSTARTPOSITION
  399. //
  400. // MessageText:
  401. //
  402. //  lRowsOffset would position you past either end of the rowset,
  403. //  regardless of the cRows value specified; cRowsObtained is 0
  404. //
  405. #define DB_E_BADSTARTPOSITION            ((HRESULT)0x80040E1EL)
  406.  
  407. //@@@+ V2.0
  408. #if( OLEDBVER >= 0x0200 )
  409. //
  410. // MessageId: DB_E_NOQUERY
  411. //
  412. // MessageText:
  413. //
  414. //  Information was requested for a query, and the query was not set
  415. //
  416. #define DB_E_NOQUERY                     ((HRESULT)0x80040E1FL)
  417.  
  418. #endif // OLEDBVER >= 0x0200
  419. //@@@- V2.0
  420.  
  421. //
  422. // MessageId: DB_E_NOTREENTRANT
  423. //
  424. // MessageText:
  425. //
  426. //  Provider called a method from IRowsetNotify in the consumer and    the
  427. //  method has not yet returned
  428. //
  429. #define DB_E_NOTREENTRANT                ((HRESULT)0x80040E20L)
  430.  
  431. //
  432. // MessageId: DB_E_ERRORSOCCURRED
  433. //
  434. // MessageText:
  435. //
  436. //  Errors occurred
  437. //
  438. #define DB_E_ERRORSOCCURRED              ((HRESULT)0x80040E21L)
  439.  
  440. //
  441. // MessageId: DB_E_NOAGGREGATION
  442. //
  443. // MessageText:
  444. //
  445. //  A non-NULL controlling IUnknown was specified and the object being
  446. //  created does not support aggregation
  447. //
  448. #define DB_E_NOAGGREGATION               ((HRESULT)0x80040E22L)
  449.  
  450. //
  451. // MessageId: DB_E_DELETEDROW
  452. //
  453. // MessageText:
  454. //
  455. //  A given HROW referred to a hard- or soft-deleted row
  456. //
  457. #define DB_E_DELETEDROW                  ((HRESULT)0x80040E23L)
  458.  
  459. //
  460. // MessageId: DB_E_CANTFETCHBACKWARDS
  461. //
  462. // MessageText:
  463. //
  464. //  The rowset does not support fetching backwards
  465. //
  466. #define DB_E_CANTFETCHBACKWARDS          ((HRESULT)0x80040E24L)
  467.  
  468. //
  469. // MessageId: DB_E_ROWSNOTRELEASED
  470. //
  471. // MessageText:
  472. //
  473. //  All HROWs must be released before new ones can be obtained
  474. //
  475. #define DB_E_ROWSNOTRELEASED             ((HRESULT)0x80040E25L)
  476.  
  477. //
  478. // MessageId: DB_E_BADSTORAGEFLAG
  479. //
  480. // MessageText:
  481. //
  482. //  One of the specified storage flags was not supported
  483. //
  484. #define DB_E_BADSTORAGEFLAG              ((HRESULT)0x80040E26L)
  485.  
  486. //@@@+ V1.5
  487. #if( OLEDBVER >= 0x0150 )
  488. //
  489. // MessageId: DB_E_BADCOMPAREOP
  490. //
  491. // MessageText:
  492. //
  493. //  The comparison operator was invalid
  494. //
  495. #define DB_E_BADCOMPAREOP                ((HRESULT)0x80040E27L)
  496.  
  497. #endif // OLEDBVER >= 0x0150
  498. //@@@- V1.5
  499.  
  500. //
  501. // MessageId: DB_E_BADSTATUSVALUE
  502. //
  503. // MessageText:
  504. //
  505. //  The specified status flag was neither DBCOLUMNSTATUS_OK nor
  506. //  DBCOLUMNSTATUS_ISNULL
  507. //
  508. #define DB_E_BADSTATUSVALUE              ((HRESULT)0x80040E28L)
  509.  
  510. //
  511. // MessageId: DB_E_CANTSCROLLBACKWARDS
  512. //
  513. // MessageText:
  514. //
  515. //  The rowset cannot scroll backwards
  516. //
  517. #define DB_E_CANTSCROLLBACKWARDS         ((HRESULT)0x80040E29L)
  518.  
  519. //@@@+ V2.5
  520. #if( OLEDBVER >= 0x0250 )
  521. //
  522. // MessageId: DB_E_BADREGIONHANDLE
  523. //
  524. // MessageText:
  525. //
  526. //  Invalid region handle
  527. //
  528. #define DB_E_BADREGIONHANDLE             ((HRESULT)0x80040E2AL)
  529.  
  530. //
  531. // MessageId: DB_E_NONCONTIGUOUSRANGE
  532. //
  533. // MessageText:
  534. //
  535. //  The specified set of rows was not contiguous to or overlapping the
  536. //  rows in the specified watch region
  537. //
  538. #define DB_E_NONCONTIGUOUSRANGE          ((HRESULT)0x80040E2BL)
  539.  
  540. //
  541. // MessageId: DB_E_INVALIDTRANSITION
  542. //
  543. // MessageText:
  544. //
  545. //  A transition from ALL* to MOVE* or EXTEND* was specified
  546. //
  547. #define DB_E_INVALIDTRANSITION           ((HRESULT)0x80040E2CL)
  548.  
  549. //
  550. // MessageId: DB_E_NOTASUBREGION
  551. //
  552. // MessageText:
  553. //
  554. //  The specified region is not a proper subregion of the region
  555. //  identified by the given watch region handle
  556. //
  557. #define DB_E_NOTASUBREGION               ((HRESULT)0x80040E2DL)
  558.  
  559. #endif // OLEDBVER >= 0x0250
  560. //@@@- V2.5
  561.  
  562. //
  563. // MessageId: DB_E_MULTIPLESTATEMENTS
  564. //
  565. // MessageText:
  566. //
  567. //  The provider does not support multi-statement commands
  568. //
  569. #define DB_E_MULTIPLESTATEMENTS          ((HRESULT)0x80040E2EL)
  570.  
  571. //
  572. // MessageId: DB_E_INTEGRITYVIOLATION
  573. //
  574. // MessageText:
  575. //
  576. //  A specified value violated the integrity constraints for a column or
  577. //  table
  578. //
  579. #define DB_E_INTEGRITYVIOLATION          ((HRESULT)0x80040E2FL)
  580.  
  581. //
  582. // MessageId: DB_E_BADTYPENAME
  583. //
  584. // MessageText:
  585. //
  586. //  The given type name was unrecognized
  587. //
  588. #define DB_E_BADTYPENAME                 ((HRESULT)0x80040E30L)
  589.  
  590. //
  591. // MessageId: DB_E_ABORTLIMITREACHED
  592. //
  593. // MessageText:
  594. //
  595. //  Execution aborted because a resource limit has been reached; no
  596. //  results have been returned
  597. //
  598. #define DB_E_ABORTLIMITREACHED           ((HRESULT)0x80040E31L)
  599.  
  600. //@@@+ V2.0
  601. #if( OLEDBVER >= 0x0200 )
  602. //
  603. // MessageId: DB_E_ROWSETINCOMMAND
  604. //
  605. // MessageText:
  606. //
  607. //  Cannot clone a command object whose command tree contains a rowset
  608. //  or rowsets
  609. //
  610. #define DB_E_ROWSETINCOMMAND             ((HRESULT)0x80040E32L)
  611.  
  612. //
  613. // MessageId: DB_E_CANTTRANSLATE
  614. //
  615. // MessageText:
  616. //
  617. //  Cannot represent the current tree as text
  618. //
  619. #define DB_E_CANTTRANSLATE               ((HRESULT)0x80040E33L)
  620.  
  621. #endif // OLEDBVER >= 0x0200
  622. //@@@- V2.0
  623.  
  624. //
  625. // MessageId: DB_E_DUPLICATEINDEXID
  626. //
  627. // MessageText:
  628. //
  629. //  The specified index already exists
  630. //
  631. #define DB_E_DUPLICATEINDEXID            ((HRESULT)0x80040E34L)
  632.  
  633. //
  634. // MessageId: DB_E_NOINDEX
  635. //
  636. // MessageText:
  637. //
  638. //  The specified index does not exist
  639. //
  640. #define DB_E_NOINDEX                     ((HRESULT)0x80040E35L)
  641.  
  642. //
  643. // MessageId: DB_E_INDEXINUSE
  644. //
  645. // MessageText:
  646. //
  647. //  The specified index was in use
  648. //
  649. #define DB_E_INDEXINUSE                  ((HRESULT)0x80040E36L)
  650.  
  651. //
  652. // MessageId: DB_E_NOTABLE
  653. //
  654. // MessageText:
  655. //
  656. //  The specified table does not exist
  657. //
  658. #define DB_E_NOTABLE                     ((HRESULT)0x80040E37L)
  659.  
  660. //
  661. // MessageId: DB_E_CONCURRENCYVIOLATION
  662. //
  663. // MessageText:
  664. //
  665. //  The rowset was using optimistic concurrency and the value of a
  666. //  column has been changed since it was last read
  667. //
  668. #define DB_E_CONCURRENCYVIOLATION        ((HRESULT)0x80040E38L)
  669.  
  670. //
  671. // MessageId: DB_E_BADCOPY
  672. //
  673. // MessageText:
  674. //
  675. //  Errors were detected during the copy
  676. //
  677. #define DB_E_BADCOPY                     ((HRESULT)0x80040E39L)
  678.  
  679. //
  680. // MessageId: DB_E_BADPRECISION
  681. //
  682. // MessageText:
  683. //
  684. //  A specified precision was invalid
  685. //
  686. #define DB_E_BADPRECISION                ((HRESULT)0x80040E3AL)
  687.  
  688. //
  689. // MessageId: DB_E_BADSCALE
  690. //
  691. // MessageText:
  692. //
  693. //  A specified scale was invalid
  694. //
  695. #define DB_E_BADSCALE                    ((HRESULT)0x80040E3BL)
  696.  
  697. //
  698. // MessageId: DB_E_BADTABLEID
  699. //
  700. // MessageText:
  701. //
  702. //  Invalid table ID
  703. //
  704. #define DB_E_BADTABLEID                  ((HRESULT)0x80040E3CL)
  705.  
  706. // DB_E_BADID is deprecated; use DB_E_BADTABLEID instead
  707. #define DB_E_BADID DB_E_BADTABLEID
  708.  
  709. //
  710. // MessageId: DB_E_BADTYPE
  711. //
  712. // MessageText:
  713. //
  714. //  A specified type was invalid
  715. //
  716. #define DB_E_BADTYPE                     ((HRESULT)0x80040E3DL)
  717.  
  718. //
  719. // MessageId: DB_E_DUPLICATECOLUMNID
  720. //
  721. // MessageText:
  722. //
  723. //  A column ID was occurred more than once in the specification
  724. //
  725. #define DB_E_DUPLICATECOLUMNID           ((HRESULT)0x80040E3EL)
  726.  
  727. //
  728. // MessageId: DB_E_DUPLICATETABLEID
  729. //
  730. // MessageText:
  731. //
  732. //  The specified table already exists
  733. //
  734. #define DB_E_DUPLICATETABLEID            ((HRESULT)0x80040E3FL)
  735.  
  736. //
  737. // MessageId: DB_E_TABLEINUSE
  738. //
  739. // MessageText:
  740. //
  741. //  The specified table was in use
  742. //
  743. #define DB_E_TABLEINUSE                  ((HRESULT)0x80040E40L)
  744.  
  745. //
  746. // MessageId: DB_E_NOLOCALE
  747. //
  748. // MessageText:
  749. //
  750. //  The specified locale ID was not supported
  751. //
  752. #define DB_E_NOLOCALE                    ((HRESULT)0x80040E41L)
  753.  
  754. //
  755. // MessageId: DB_E_BADRECORDNUM
  756. //
  757. // MessageText:
  758. //
  759. //  The specified record number is invalid
  760. //
  761. #define DB_E_BADRECORDNUM                ((HRESULT)0x80040E42L)
  762.  
  763. //
  764. // MessageId: DB_E_BOOKMARKSKIPPED
  765. //
  766. // MessageText:
  767. //
  768. //  Although the bookmark was validly formed, no row could be found to
  769. //  match it
  770. //
  771. #define DB_E_BOOKMARKSKIPPED             ((HRESULT)0x80040E43L)
  772.  
  773. //
  774. // MessageId: DB_E_BADPROPERTYVALUE
  775. //
  776. // MessageText:
  777. //
  778. //  The value of a property was invalid
  779. //
  780. #define DB_E_BADPROPERTYVALUE            ((HRESULT)0x80040E44L)
  781.  
  782. //
  783. // MessageId: DB_E_INVALID
  784. //
  785. // MessageText:
  786. //
  787. //  The rowset was not chaptered
  788. //
  789. #define DB_E_INVALID                     ((HRESULT)0x80040E45L)
  790.  
  791. //
  792. // MessageId: DB_E_BADACCESSORFLAGS
  793. //
  794. // MessageText:
  795. //
  796. //  Invalid accessor
  797. //
  798. #define DB_E_BADACCESSORFLAGS            ((HRESULT)0x80040E46L)
  799.  
  800. //
  801. // MessageId: DB_E_BADSTORAGEFLAGS
  802. //
  803. // MessageText:
  804. //
  805. //  Invalid storage flags
  806. //
  807. #define DB_E_BADSTORAGEFLAGS             ((HRESULT)0x80040E47L)
  808.  
  809. //
  810. // MessageId: DB_E_BYREFACCESSORNOTSUPPORTED
  811. //
  812. // MessageText:
  813. //
  814. //  By-ref accessors are not supported by this provider
  815. //
  816. #define DB_E_BYREFACCESSORNOTSUPPORTED   ((HRESULT)0x80040E48L)
  817.  
  818. //
  819. // MessageId: DB_E_NULLACCESSORNOTSUPPORTED
  820. //
  821. // MessageText:
  822. //
  823. //  Null accessors are not supported by this provider
  824. //
  825. #define DB_E_NULLACCESSORNOTSUPPORTED    ((HRESULT)0x80040E49L)
  826.  
  827. //
  828. // MessageId: DB_E_NOTPREPARED
  829. //
  830. // MessageText:
  831. //
  832. //  The command was not prepared
  833. //
  834. #define DB_E_NOTPREPARED                 ((HRESULT)0x80040E4AL)
  835.  
  836. //
  837. // MessageId: DB_E_BADACCESSORTYPE
  838. //
  839. // MessageText:
  840. //
  841. //  The specified accessor was not a parameter accessor
  842. //
  843. #define DB_E_BADACCESSORTYPE             ((HRESULT)0x80040E4BL)
  844.  
  845. //
  846. // MessageId: DB_E_WRITEONLYACCESSOR
  847. //
  848. // MessageText:
  849. //
  850. //  The given accessor was write-only
  851. //
  852. #define DB_E_WRITEONLYACCESSOR           ((HRESULT)0x80040E4CL)
  853.  
  854. //
  855. // MessageId: DB_SEC_E_AUTH_FAILED
  856. //
  857. // MessageText:
  858. //
  859. //  Authentication failed
  860. //
  861. #define DB_SEC_E_AUTH_FAILED             ((HRESULT)0x80040E4DL)
  862.  
  863. //
  864. // MessageId: DB_E_CANCELED
  865. //
  866. // MessageText:
  867. //
  868. //  The change was canceled during notification; no columns are changed
  869. //
  870. #define DB_E_CANCELED                    ((HRESULT)0x80040E4EL)
  871.  
  872. //@@@+ V2.0
  873. #if( OLEDBVER >= 0x0200 )
  874. //
  875. // MessageId: DB_E_CHAPTERNOTRELEASED
  876. //
  877. // MessageText:
  878. //
  879. //  The rowset was single-chaptered and the chapter was not released
  880. //
  881. #define DB_E_CHAPTERNOTRELEASED          ((HRESULT)0x80040E4FL)
  882.  
  883. #endif // OLEDBVER >= 0x0200
  884. //@@@- V2.0
  885.  
  886. //
  887. // MessageId: DB_E_BADSOURCEHANDLE
  888. //
  889. // MessageText:
  890. //
  891. //  Invalid source handle
  892. //
  893. #define DB_E_BADSOURCEHANDLE             ((HRESULT)0x80040E50L)
  894.  
  895. //
  896. // MessageId: DB_E_PARAMUNAVAILABLE
  897. //
  898. // MessageText:
  899. //
  900. //  The provider cannot derive parameter info and SetParameterInfo has
  901. //  not been called
  902. //
  903. #define DB_E_PARAMUNAVAILABLE            ((HRESULT)0x80040E51L)
  904.  
  905. //
  906. // MessageId: DB_E_ALREADYINITIALIZED
  907. //
  908. // MessageText:
  909. //
  910. //  The data source object is already initialized
  911. //
  912. #define DB_E_ALREADYINITIALIZED          ((HRESULT)0x80040E52L)
  913.  
  914. //
  915. // MessageId: DB_E_NOTSUPPORTED
  916. //
  917. // MessageText:
  918. //
  919. //  The provider does not support this method
  920. //
  921. #define DB_E_NOTSUPPORTED                ((HRESULT)0x80040E53L)
  922.  
  923. //
  924. // MessageId: DB_E_MAXPENDCHANGESEXCEEDED
  925. //
  926. // MessageText:
  927. //
  928. //  The number of rows with pending changes has exceeded the set limit
  929. //
  930. #define DB_E_MAXPENDCHANGESEXCEEDED      ((HRESULT)0x80040E54L)
  931.  
  932. //
  933. // MessageId: DB_E_BADORDINAL
  934. //
  935. // MessageText:
  936. //
  937. //  The specified column did not exist
  938. //
  939. #define DB_E_BADORDINAL                  ((HRESULT)0x80040E55L)
  940.  
  941. //
  942. // MessageId: DB_E_PENDINGCHANGES
  943. //
  944. // MessageText:
  945. //
  946. //  There are pending changes on a row with a reference count of zero
  947. //
  948. #define DB_E_PENDINGCHANGES              ((HRESULT)0x80040E56L)
  949.  
  950. //
  951. // MessageId: DB_E_DATAOVERFLOW
  952. //
  953. // MessageText:
  954. //
  955. //  A literal value in the command overflowed the range of the type of
  956. //  the associated column
  957. //
  958. #define DB_E_DATAOVERFLOW                ((HRESULT)0x80040E57L)
  959.  
  960. //
  961. // MessageId: DB_E_BADHRESULT
  962. //
  963. // MessageText:
  964. //
  965. //  The supplied HRESULT was invalid
  966. //
  967. #define DB_E_BADHRESULT                  ((HRESULT)0x80040E58L)
  968.  
  969. //
  970. // MessageId: DB_E_BADLOOKUPID
  971. //
  972. // MessageText:
  973. //
  974. //  The supplied LookupID was invalid
  975. //
  976. #define DB_E_BADLOOKUPID                 ((HRESULT)0x80040E59L)
  977.  
  978. //
  979. // MessageId: DB_E_BADDYNAMICERRORID
  980. //
  981. // MessageText:
  982. //
  983. //  The supplied DynamicErrorID was invalid
  984. //
  985. #define DB_E_BADDYNAMICERRORID           ((HRESULT)0x80040E5AL)
  986.  
  987. //
  988. // MessageId: DB_E_PENDINGINSERT
  989. //
  990. // MessageText:
  991. //
  992. //  Unable to get visible data for a newly-inserted row that has not
  993. //  yet been updated
  994. //
  995. #define DB_E_PENDINGINSERT               ((HRESULT)0x80040E5BL)
  996.  
  997. //
  998. // MessageId: DB_E_BADCONVERTFLAG
  999. //
  1000. // MessageText:
  1001. //
  1002. //  Invalid conversion flag
  1003. //
  1004. #define DB_E_BADCONVERTFLAG              ((HRESULT)0x80040E5CL)
  1005.  
  1006. //
  1007. // MessageId: DB_E_BADPARAMETERNAME
  1008. //
  1009. // MessageText:
  1010. //
  1011. //  The given parameter name was unrecognized
  1012. //
  1013. #define DB_E_BADPARAMETERNAME            ((HRESULT)0x80040E5DL)
  1014.  
  1015. //
  1016. // MessageId: DB_E_MULTIPLESTORAGE
  1017. //
  1018. // MessageText:
  1019. //
  1020. //  Multiple storage objects can not be open simultaneously
  1021. //
  1022. #define DB_E_MULTIPLESTORAGE             ((HRESULT)0x80040E5EL)
  1023.  
  1024. //
  1025. // MessageId: DB_E_CANTFILTER
  1026. //
  1027. // MessageText:
  1028. //
  1029. //  The requested filter could not be opened
  1030. //
  1031. #define DB_E_CANTFILTER                  ((HRESULT)0x80040E5FL)
  1032.  
  1033. //
  1034. // MessageId: DB_E_CANTORDER
  1035. //
  1036. // MessageText:
  1037. //
  1038. //  The requested order could not be opened
  1039. //
  1040. #define DB_E_CANTORDER                   ((HRESULT)0x80040E60L)
  1041.  
  1042. //@@@+ V2.0
  1043. #if( OLEDBVER >= 0x0200 )
  1044. //
  1045. // MessageId: MD_E_BADTUPLE
  1046. //
  1047. // MessageText:
  1048. //
  1049. //  Bad tuple
  1050. //
  1051. #define MD_E_BADTUPLE                    ((HRESULT)0x80040E61L)
  1052.  
  1053. //
  1054. // MessageId: MD_E_BADCOORDINATE
  1055. //
  1056. // MessageText:
  1057. //
  1058. //  Bad coordinate
  1059. //
  1060. #define MD_E_BADCOORDINATE               ((HRESULT)0x80040E62L)
  1061.  
  1062. //
  1063. // MessageId: MD_E_INVALIDAXIS
  1064. //
  1065. // MessageText:
  1066. //
  1067. //  The given aixs was not valid for this Dataset
  1068. //
  1069. #define MD_E_INVALIDAXIS                 ((HRESULT)0x80040E63L)
  1070.  
  1071. //
  1072. // MessageId: MD_E_INVALIDCELLRANGE
  1073. //
  1074. // MessageText:
  1075. //
  1076. //  One or more of the given cell ordinals was invalid
  1077. //
  1078. #define MD_E_INVALIDCELLRANGE            ((HRESULT)0x80040E64L)
  1079.  
  1080. //
  1081. // MessageId: DB_E_NOCOLUMN
  1082. //
  1083. // MessageText:
  1084. //
  1085. //  The supplied columnID was invalid
  1086. //
  1087. #define DB_E_NOCOLUMN                    ((HRESULT)0x80040E65L)
  1088.  
  1089. //
  1090. // MessageId: DB_E_COMMANDNOTPERSISTED
  1091. //
  1092. // MessageText:
  1093. //
  1094. //  The supplied command does not have a DBID
  1095. //
  1096. #define DB_E_COMMANDNOTPERSISTED         ((HRESULT)0x80040E67L)
  1097.  
  1098. //
  1099. // MessageId: DB_E_DUPLICATEID
  1100. //
  1101. // MessageText:
  1102. //
  1103. //  The supplied DBID already exists
  1104. //
  1105. #define DB_E_DUPLICATEID                 ((HRESULT)0x80040E68L)
  1106.  
  1107. //
  1108. // MessageId: DB_E_OBJECTCREATIONLIMITREACHED
  1109. //
  1110. // MessageText:
  1111. //
  1112. //  The maximum number of Sessions supported by the provider has 
  1113. //  already been created. The consumer must release one or more 
  1114. //  currently held Sessions before obtaining a new Session Object
  1115. //
  1116. #define DB_E_OBJECTCREATIONLIMITREACHED  ((HRESULT)0x80040E69L)
  1117.  
  1118. //
  1119. // MessageId: DB_E_BADINDEXID
  1120. //
  1121. // MessageText:
  1122. //
  1123. //  The index ID is invalid
  1124. //
  1125. #define DB_E_BADINDEXID                  ((HRESULT)0x80040E72L)
  1126.  
  1127. //
  1128. // MessageId: DB_E_BADINITSTRING
  1129. //
  1130. // MessageText:
  1131. //
  1132. //  The initialization string specified does not conform to specificiation
  1133. //
  1134. #define DB_E_BADINITSTRING               ((HRESULT)0x80040E73L)
  1135.  
  1136. //
  1137. // MessageId: DB_E_NOPROVIDERSREGISTERED
  1138. //
  1139. // MessageText:
  1140. //
  1141. //  The OLE DB root enumerator did not return any providers that 
  1142. //  matched any of the SOURCES_TYPEs requested
  1143. //
  1144. #define DB_E_NOPROVIDERSREGISTERED       ((HRESULT)0x80040E74L)
  1145.  
  1146. //
  1147. // MessageId: DB_E_MISMATCHEDPROVIDER
  1148. //
  1149. // MessageText:
  1150. //
  1151. //  The initialization string specifies a provider which does not match the currently active provider
  1152. //
  1153. #define DB_E_MISMATCHEDPROVIDER          ((HRESULT)0x80040E75L)
  1154.  
  1155. #endif // OLEDBVER >= 0x0200
  1156. //@@@- V2.0
  1157. //@@@+ V2.1
  1158. #if( OLEDBVER >= 0x0210 )
  1159. #define SEC_E_PERMISSIONDENIED DB_SEC_E_PERMISSIONDENIED
  1160. //
  1161. // MessageId: SEC_E_BADTRUSTEEID
  1162. //
  1163. // MessageText:
  1164. //
  1165. //  Invalid trustee value
  1166. //
  1167. #define SEC_E_BADTRUSTEEID               ((HRESULT)0x80040E6AL)
  1168.  
  1169. //
  1170. // MessageId: SEC_E_NOTRUSTEEID
  1171. //
  1172. // MessageText:
  1173. //
  1174. //  The trustee is not for the current data source
  1175. //
  1176. #define SEC_E_NOTRUSTEEID                ((HRESULT)0x80040E6BL)
  1177.  
  1178. //
  1179. // MessageId: SEC_E_NOMEMBERSHIPSUPPORT
  1180. //
  1181. // MessageText:
  1182. //
  1183. //  The trustee does not support memberships/collections
  1184. //
  1185. #define SEC_E_NOMEMBERSHIPSUPPORT        ((HRESULT)0x80040E6CL)
  1186.  
  1187. //
  1188. // MessageId: SEC_E_INVALIDOBJECT
  1189. //
  1190. // MessageText:
  1191. //
  1192. //  The object is invalid or unknown to the provider
  1193. //
  1194. #define SEC_E_INVALIDOBJECT              ((HRESULT)0x80040E6DL)
  1195.  
  1196. //
  1197. // MessageId: SEC_E_NOOWNER
  1198. //
  1199. // MessageText:
  1200. //
  1201. //  No owner exists for the object
  1202. //
  1203. #define SEC_E_NOOWNER                    ((HRESULT)0x80040E6EL)
  1204.  
  1205. //
  1206. // MessageId: SEC_E_INVALIDACCESSENTRYLIST
  1207. //
  1208. // MessageText:
  1209. //
  1210. //  The access entry list supplied is invalid
  1211. //
  1212. #define SEC_E_INVALIDACCESSENTRYLIST     ((HRESULT)0x80040E6FL)
  1213.  
  1214. //
  1215. // MessageId: SEC_E_INVALIDOWNER
  1216. //
  1217. // MessageText:
  1218. //
  1219. //  The trustee supplied as owner is invalid or unknown to the provider
  1220. //
  1221. #define SEC_E_INVALIDOWNER               ((HRESULT)0x80040E70L)
  1222.  
  1223. //
  1224. // MessageId: SEC_E_INVALIDACCESSENTRY
  1225. //
  1226. // MessageText:
  1227. //
  1228. //  The permission supplied in the access entry list is invalid
  1229. //
  1230. #define SEC_E_INVALIDACCESSENTRY         ((HRESULT)0x80040E71L)
  1231.  
  1232. #define SEC_E_PERMISSIONDENIED DB_SEC_E_PERMISSIONDENIED
  1233. #endif // OLEDBVER >= 0x0210
  1234. //@@@- V2.1
  1235.  
  1236. //
  1237. // MessageId: DB_S_ROWLIMITEXCEEDED
  1238. //
  1239. // MessageText:
  1240. //
  1241. //  Fetching requested number of rows would have exceeded total number
  1242. //  of active rows supported by the rowset
  1243. //
  1244. #define DB_S_ROWLIMITEXCEEDED            ((HRESULT)0x00040EC0L)
  1245.  
  1246. //
  1247. // MessageId: DB_S_COLUMNTYPEMISMATCH
  1248. //
  1249. // MessageText:
  1250. //
  1251. //  One or more column types are incompatible; conversion errors will
  1252. //  occur during copying
  1253. //
  1254. #define DB_S_COLUMNTYPEMISMATCH          ((HRESULT)0x00040EC1L)
  1255.  
  1256. //
  1257. // MessageId: DB_S_TYPEINFOOVERRIDDEN
  1258. //
  1259. // MessageText:
  1260. //
  1261. //  Parameter type information has been overridden by caller
  1262. //
  1263. #define DB_S_TYPEINFOOVERRIDDEN          ((HRESULT)0x00040EC2L)
  1264.  
  1265. //
  1266. // MessageId: DB_S_BOOKMARKSKIPPED
  1267. //
  1268. // MessageText:
  1269. //
  1270. //  Skipped bookmark for deleted or non-member row
  1271. //
  1272. #define DB_S_BOOKMARKSKIPPED             ((HRESULT)0x00040EC3L)
  1273.  
  1274. //@@@+ V2.0
  1275. #if( OLEDBVER >= 0x0200 )
  1276. //
  1277. // MessageId: DB_S_NONEXTROWSET
  1278. //
  1279. // MessageText:
  1280. //
  1281. //  There are no more rowsets
  1282. //
  1283. #define DB_S_NONEXTROWSET                ((HRESULT)0x00040EC5L)
  1284.  
  1285. #endif // OLEDBVER >= 0x0200
  1286. //@@@- V2.0
  1287.  
  1288. //
  1289. // MessageId: DB_S_ENDOFROWSET
  1290. //
  1291. // MessageText:
  1292. //
  1293. //  Reached start or end of rowset or chapter
  1294. //
  1295. #define DB_S_ENDOFROWSET                 ((HRESULT)0x00040EC6L)
  1296.  
  1297. //
  1298. // MessageId: DB_S_COMMANDREEXECUTED
  1299. //
  1300. // MessageText:
  1301. //
  1302. //  The provider re-executed the command
  1303. //
  1304. #define DB_S_COMMANDREEXECUTED           ((HRESULT)0x00040EC7L)
  1305.  
  1306. //
  1307. // MessageId: DB_S_BUFFERFULL
  1308. //
  1309. // MessageText:
  1310. //
  1311. //  Variable data buffer full
  1312. //
  1313. #define DB_S_BUFFERFULL                  ((HRESULT)0x00040EC8L)
  1314.  
  1315. //
  1316. // MessageId: DB_S_NORESULT
  1317. //
  1318. // MessageText:
  1319. //
  1320. //  There are no more results
  1321. //
  1322. #define DB_S_NORESULT                    ((HRESULT)0x00040EC9L)
  1323.  
  1324. //
  1325. // MessageId: DB_S_CANTRELEASE
  1326. //
  1327. // MessageText:
  1328. //
  1329. //  Server cannot release or downgrade a lock until the end of the
  1330. //  transaction
  1331. //
  1332. #define DB_S_CANTRELEASE                 ((HRESULT)0x00040ECAL)
  1333.  
  1334. //@@@+ V2.5
  1335. #if( OLEDBVER >= 0x0250 )
  1336. //
  1337. // MessageId: DB_S_GOALCHANGED
  1338. //
  1339. // MessageText:
  1340. //
  1341. //  Specified weight was not supported or exceeded the supported limit
  1342. //  and was set to 0 or the supported limit
  1343. //
  1344. #define DB_S_GOALCHANGED                 ((HRESULT)0x00040ECBL)
  1345.  
  1346. #endif // OLEDBVER >= 0x0250
  1347. //@@@- V2.5
  1348.  
  1349. //@@@+ V1.5
  1350. #if( OLEDBVER >= 0x0150 )
  1351. //
  1352. // MessageId: DB_S_UNWANTEDOPERATION
  1353. //
  1354. // MessageText:
  1355. //
  1356. //  Consumer is uninterested in receiving further notification calls for
  1357. //  this reason
  1358. //
  1359. #define DB_S_UNWANTEDOPERATION           ((HRESULT)0x00040ECCL)
  1360.  
  1361. #endif // OLEDBVER >= 0x0150
  1362. //@@@- V1.5
  1363.  
  1364. //
  1365. // MessageId: DB_S_DIALECTIGNORED
  1366. //
  1367. // MessageText:
  1368. //
  1369. //  Input dialect was ignored and text was returned in different
  1370. //  dialect
  1371. //
  1372. #define DB_S_DIALECTIGNORED              ((HRESULT)0x00040ECDL)
  1373.  
  1374. //
  1375. // MessageId: DB_S_UNWANTEDPHASE
  1376. //
  1377. // MessageText:
  1378. //
  1379. //  Consumer is uninterested in receiving further notification calls for
  1380. //  this phase
  1381. //
  1382. #define DB_S_UNWANTEDPHASE               ((HRESULT)0x00040ECEL)
  1383.  
  1384. //
  1385. // MessageId: DB_S_UNWANTEDREASON
  1386. //
  1387. // MessageText:
  1388. //
  1389. //  Consumer is uninterested in receiving further notification calls for
  1390. //  this reason
  1391. //
  1392. #define DB_S_UNWANTEDREASON              ((HRESULT)0x00040ECFL)
  1393.  
  1394. //@@@+ V1.5
  1395. #if( OLEDBVER >= 0x0150 )
  1396. //
  1397. // MessageId: DB_S_ASYNCHRONOUS
  1398. //
  1399. // MessageText:
  1400. //
  1401. //  The operation is being processed asynchronously
  1402. //
  1403. #define DB_S_ASYNCHRONOUS                ((HRESULT)0x00040ED0L)
  1404.  
  1405. #endif // OLEDBVER >= 0x0150
  1406. //@@@- V1.5
  1407.  
  1408. //
  1409. // MessageId: DB_S_COLUMNSCHANGED
  1410. //
  1411. // MessageText:
  1412. //
  1413. //  In order to reposition to the start of the rowset, the provider had
  1414. //  to reexecute the query; either the order of the columns changed or
  1415. //  columns were added to or removed from the rowset
  1416. //
  1417. #define DB_S_COLUMNSCHANGED              ((HRESULT)0x00040ED1L)
  1418.  
  1419. //
  1420. // MessageId: DB_S_ERRORSRETURNED
  1421. //
  1422. // MessageText:
  1423. //
  1424. //  The method had some errors; errors have been returned in the error
  1425. //  array
  1426. //
  1427. #define DB_S_ERRORSRETURNED              ((HRESULT)0x00040ED2L)
  1428.  
  1429. //
  1430. // MessageId: DB_S_BADROWHANDLE
  1431. //
  1432. // MessageText:
  1433. //
  1434. //  Invalid row handle
  1435. //
  1436. #define DB_S_BADROWHANDLE                ((HRESULT)0x00040ED3L)
  1437.  
  1438. //
  1439. // MessageId: DB_S_DELETEDROW
  1440. //
  1441. // MessageText:
  1442. //
  1443. //  A given HROW referred to a hard-deleted row
  1444. //
  1445. #define DB_S_DELETEDROW                  ((HRESULT)0x00040ED4L)
  1446.  
  1447. //@@@+ V2.5
  1448. #if( OLEDBVER >= 0x0250 )
  1449. //
  1450. // MessageId: DB_S_TOOMANYCHANGES
  1451. //
  1452. // MessageText:
  1453. //
  1454. //  The provider was unable to keep track of all the changes; the client
  1455. //  must refetch the data associated with the watch region using another
  1456. //  method
  1457. //
  1458. #define DB_S_TOOMANYCHANGES              ((HRESULT)0x00040ED5L)
  1459.  
  1460. #endif // OLEDBVER >= 0x0250
  1461. //@@@- V2.5
  1462.  
  1463. //
  1464. // MessageId: DB_S_STOPLIMITREACHED
  1465. //
  1466. // MessageText:
  1467. //
  1468. //  Execution stopped because a resource limit has been reached; results
  1469. //  obtained so far have been returned but execution cannot be resumed
  1470. //
  1471. #define DB_S_STOPLIMITREACHED            ((HRESULT)0x00040ED6L)
  1472.  
  1473. //
  1474. // MessageId: DB_S_LOCKUPGRADED
  1475. //
  1476. // MessageText:
  1477. //
  1478. //  A lock was upgraded from the value specified
  1479. //
  1480. #define DB_S_LOCKUPGRADED                ((HRESULT)0x00040ED8L)
  1481.  
  1482. //
  1483. // MessageId: DB_S_PROPERTIESCHANGED
  1484. //
  1485. // MessageText:
  1486. //
  1487. //  One or more properties were changed as allowed by provider
  1488. //
  1489. #define DB_S_PROPERTIESCHANGED           ((HRESULT)0x00040ED9L)
  1490.  
  1491. //
  1492. // MessageId: DB_S_ERRORSOCCURRED
  1493. //
  1494. // MessageText:
  1495. //
  1496. //  Errors occurred
  1497. //
  1498. #define DB_S_ERRORSOCCURRED              ((HRESULT)0x00040EDAL)
  1499.  
  1500. //
  1501. // MessageId: DB_S_PARAMUNAVAILABLE
  1502. //
  1503. // MessageText:
  1504. //
  1505. //  A specified parameter was invalid
  1506. //
  1507. #define DB_S_PARAMUNAVAILABLE            ((HRESULT)0x00040EDBL)
  1508.  
  1509. //
  1510. // MessageId: DB_S_MULTIPLECHANGES
  1511. //
  1512. // MessageText:
  1513. //
  1514. //  Updating this row caused more than one row to be updated in the
  1515. //  data source
  1516. //
  1517. #define DB_S_MULTIPLECHANGES             ((HRESULT)0x00040EDCL)
  1518.  
  1519. #endif // _OLEDBERR_H_
  1520.