Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1615 lines
34 KiB

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