home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / WINERROR.H < prev    next >
C/C++ Source or Header  |  1997-01-16  |  203KB  |  9,905 lines

  1. /************************************************************************
  2. *                                                                       *
  3. *   winerror.h --  error code definitions for the Win32 API functions   *
  4. *                                                                       *
  5. *   Copyright (c) 1991-1996, Microsoft Corp. All rights reserved.       *
  6. *                                                                       *
  7. ************************************************************************/
  8.  
  9. #ifndef _WINERROR_
  10. #define _WINERROR_
  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                 8
  43. #define FACILITY_STORAGE                 3
  44. #define FACILITY_RPC                     1
  45. #define FACILITY_SSPI                    9
  46. #define FACILITY_WIN32                   7
  47. #define FACILITY_CONTROL                 10
  48. #define FACILITY_NULL                    0
  49. #define FACILITY_INTERNET                12
  50. #define FACILITY_ITF                     4
  51. #define FACILITY_DISPATCH                2
  52. #define FACILITY_CERT                    11
  53.  
  54.  
  55. //
  56. // Define the severity codes
  57. //
  58.  
  59.  
  60. //
  61. // MessageId: ERROR_SUCCESS
  62. //
  63. // MessageText:
  64. //
  65. //  The operation completed successfully.
  66. //
  67. #define ERROR_SUCCESS                    0L
  68.  
  69. #define NO_ERROR 0L                                                 // dderror
  70.  
  71. //
  72. // MessageId: ERROR_INVALID_FUNCTION
  73. //
  74. // MessageText:
  75. //
  76. //  Incorrect function.
  77. //
  78. #define ERROR_INVALID_FUNCTION           1L    // dderror
  79.  
  80. //
  81. // MessageId: ERROR_FILE_NOT_FOUND
  82. //
  83. // MessageText:
  84. //
  85. //  The system cannot find the file specified.
  86. //
  87. #define ERROR_FILE_NOT_FOUND             2L
  88.  
  89. //
  90. // MessageId: ERROR_PATH_NOT_FOUND
  91. //
  92. // MessageText:
  93. //
  94. //  The system cannot find the path specified.
  95. //
  96. #define ERROR_PATH_NOT_FOUND             3L
  97.  
  98. //
  99. // MessageId: ERROR_TOO_MANY_OPEN_FILES
  100. //
  101. // MessageText:
  102. //
  103. //  The system cannot open the file.
  104. //
  105. #define ERROR_TOO_MANY_OPEN_FILES        4L
  106.  
  107. //
  108. // MessageId: ERROR_ACCESS_DENIED
  109. //
  110. // MessageText:
  111. //
  112. //  Access is denied.
  113. //
  114. #define ERROR_ACCESS_DENIED              5L
  115.  
  116. //
  117. // MessageId: ERROR_INVALID_HANDLE
  118. //
  119. // MessageText:
  120. //
  121. //  The handle is invalid.
  122. //
  123. #define ERROR_INVALID_HANDLE             6L
  124.  
  125. //
  126. // MessageId: ERROR_ARENA_TRASHED
  127. //
  128. // MessageText:
  129. //
  130. //  The storage control blocks were destroyed.
  131. //
  132. #define ERROR_ARENA_TRASHED              7L
  133.  
  134. //
  135. // MessageId: ERROR_NOT_ENOUGH_MEMORY
  136. //
  137. // MessageText:
  138. //
  139. //  Not enough storage is available to process this command.
  140. //
  141. #define ERROR_NOT_ENOUGH_MEMORY          8L    // dderror
  142.  
  143. //
  144. // MessageId: ERROR_INVALID_BLOCK
  145. //
  146. // MessageText:
  147. //
  148. //  The storage control block address is invalid.
  149. //
  150. #define ERROR_INVALID_BLOCK              9L
  151.  
  152. //
  153. // MessageId: ERROR_BAD_ENVIRONMENT
  154. //
  155. // MessageText:
  156. //
  157. //  The environment is incorrect.
  158. //
  159. #define ERROR_BAD_ENVIRONMENT            10L
  160.  
  161. //
  162. // MessageId: ERROR_BAD_FORMAT
  163. //
  164. // MessageText:
  165. //
  166. //  An attempt was made to load a program with an
  167. //  incorrect format.
  168. //
  169. #define ERROR_BAD_FORMAT                 11L
  170.  
  171. //
  172. // MessageId: ERROR_INVALID_ACCESS
  173. //
  174. // MessageText:
  175. //
  176. //  The access code is invalid.
  177. //
  178. #define ERROR_INVALID_ACCESS             12L
  179.  
  180. //
  181. // MessageId: ERROR_INVALID_DATA
  182. //
  183. // MessageText:
  184. //
  185. //  The data is invalid.
  186. //
  187. #define ERROR_INVALID_DATA               13L
  188.  
  189. //
  190. // MessageId: ERROR_OUTOFMEMORY
  191. //
  192. // MessageText:
  193. //
  194. //  Not enough storage is available to complete this operation.
  195. //
  196. #define ERROR_OUTOFMEMORY                14L
  197.  
  198. //
  199. // MessageId: ERROR_INVALID_DRIVE
  200. //
  201. // MessageText:
  202. //
  203. //  The system cannot find the drive specified.
  204. //
  205. #define ERROR_INVALID_DRIVE              15L
  206.  
  207. //
  208. // MessageId: ERROR_CURRENT_DIRECTORY
  209. //
  210. // MessageText:
  211. //
  212. //  The directory cannot be removed.
  213. //
  214. #define ERROR_CURRENT_DIRECTORY          16L
  215.  
  216. //
  217. // MessageId: ERROR_NOT_SAME_DEVICE
  218. //
  219. // MessageText:
  220. //
  221. //  The system cannot move the file
  222. //  to a different disk drive.
  223. //
  224. #define ERROR_NOT_SAME_DEVICE            17L
  225.  
  226. //
  227. // MessageId: ERROR_NO_MORE_FILES
  228. //
  229. // MessageText:
  230. //
  231. //  There are no more files.
  232. //
  233. #define ERROR_NO_MORE_FILES              18L
  234.  
  235. //
  236. // MessageId: ERROR_WRITE_PROTECT
  237. //
  238. // MessageText:
  239. //
  240. //  The media is write protected.
  241. //
  242. #define ERROR_WRITE_PROTECT              19L
  243.  
  244. //
  245. // MessageId: ERROR_BAD_UNIT
  246. //
  247. // MessageText:
  248. //
  249. //  The system cannot find the device specified.
  250. //
  251. #define ERROR_BAD_UNIT                   20L
  252.  
  253. //
  254. // MessageId: ERROR_NOT_READY
  255. //
  256. // MessageText:
  257. //
  258. //  The device is not ready.
  259. //
  260. #define ERROR_NOT_READY                  21L
  261.  
  262. //
  263. // MessageId: ERROR_BAD_COMMAND
  264. //
  265. // MessageText:
  266. //
  267. //  The device does not recognize the command.
  268. //
  269. #define ERROR_BAD_COMMAND                22L
  270.  
  271. //
  272. // MessageId: ERROR_CRC
  273. //
  274. // MessageText:
  275. //
  276. //  Data error (cyclic redundancy check)
  277. //
  278. #define ERROR_CRC                        23L
  279.  
  280. //
  281. // MessageId: ERROR_BAD_LENGTH
  282. //
  283. // MessageText:
  284. //
  285. //  The program issued a command but the
  286. //  command length is incorrect.
  287. //
  288. #define ERROR_BAD_LENGTH                 24L
  289.  
  290. //
  291. // MessageId: ERROR_SEEK
  292. //
  293. // MessageText:
  294. //
  295. //  The drive cannot locate a specific
  296. //  area or track on the disk.
  297. //
  298. #define ERROR_SEEK                       25L
  299.  
  300. //
  301. // MessageId: ERROR_NOT_DOS_DISK
  302. //
  303. // MessageText:
  304. //
  305. //  The specified disk or diskette cannot be accessed.
  306. //
  307. #define ERROR_NOT_DOS_DISK               26L
  308.  
  309. //
  310. // MessageId: ERROR_SECTOR_NOT_FOUND
  311. //
  312. // MessageText:
  313. //
  314. //  The drive cannot find the sector requested.
  315. //
  316. #define ERROR_SECTOR_NOT_FOUND           27L
  317.  
  318. //
  319. // MessageId: ERROR_OUT_OF_PAPER
  320. //
  321. // MessageText:
  322. //
  323. //  The printer is out of paper.
  324. //
  325. #define ERROR_OUT_OF_PAPER               28L
  326.  
  327. //
  328. // MessageId: ERROR_WRITE_FAULT
  329. //
  330. // MessageText:
  331. //
  332. //  The system cannot write to the specified device.
  333. //
  334. #define ERROR_WRITE_FAULT                29L
  335.  
  336. //
  337. // MessageId: ERROR_READ_FAULT
  338. //
  339. // MessageText:
  340. //
  341. //  The system cannot read from the specified device.
  342. //
  343. #define ERROR_READ_FAULT                 30L
  344.  
  345. //
  346. // MessageId: ERROR_GEN_FAILURE
  347. //
  348. // MessageText:
  349. //
  350. //  A device attached to the system is not functioning.
  351. //
  352. #define ERROR_GEN_FAILURE                31L
  353.  
  354. //
  355. // MessageId: ERROR_SHARING_VIOLATION
  356. //
  357. // MessageText:
  358. //
  359. //  The process cannot access the file because
  360. //  it is being used by another process.
  361. //
  362. #define ERROR_SHARING_VIOLATION          32L
  363.  
  364. //
  365. // MessageId: ERROR_LOCK_VIOLATION
  366. //
  367. // MessageText:
  368. //
  369. //  The process cannot access the file because
  370. //  another process has locked a portion of the file.
  371. //
  372. #define ERROR_LOCK_VIOLATION             33L
  373.  
  374. //
  375. // MessageId: ERROR_WRONG_DISK
  376. //
  377. // MessageText:
  378. //
  379. //  The wrong diskette is in the drive.
  380. //  Insert %2 (Volume Serial Number: %3)
  381. //  into drive %1.
  382. //
  383. #define ERROR_WRONG_DISK                 34L
  384.  
  385. //
  386. // MessageId: ERROR_SHARING_BUFFER_EXCEEDED
  387. //
  388. // MessageText:
  389. //
  390. //  Too many files opened for sharing.
  391. //
  392. #define ERROR_SHARING_BUFFER_EXCEEDED    36L
  393.  
  394. //
  395. // MessageId: ERROR_HANDLE_EOF
  396. //
  397. // MessageText:
  398. //
  399. //  Reached end of file.
  400. //
  401. #define ERROR_HANDLE_EOF                 38L
  402.  
  403. //
  404. // MessageId: ERROR_HANDLE_DISK_FULL
  405. //
  406. // MessageText:
  407. //
  408. //  The disk is full.
  409. //
  410. #define ERROR_HANDLE_DISK_FULL           39L
  411.  
  412. //
  413. // MessageId: ERROR_NOT_SUPPORTED
  414. //
  415. // MessageText:
  416. //
  417. //  The network request is not supported.
  418. //
  419. #define ERROR_NOT_SUPPORTED              50L
  420.  
  421. //
  422. // MessageId: ERROR_REM_NOT_LIST
  423. //
  424. // MessageText:
  425. //
  426. //  The remote computer is not available.
  427. //
  428. #define ERROR_REM_NOT_LIST               51L
  429.  
  430. //
  431. // MessageId: ERROR_DUP_NAME
  432. //
  433. // MessageText:
  434. //
  435. //  A duplicate name exists on the network.
  436. //
  437. #define ERROR_DUP_NAME                   52L
  438.  
  439. //
  440. // MessageId: ERROR_BAD_NETPATH
  441. //
  442. // MessageText:
  443. //
  444. //  The network path was not found.
  445. //
  446. #define ERROR_BAD_NETPATH                53L
  447.  
  448. //
  449. // MessageId: ERROR_NETWORK_BUSY
  450. //
  451. // MessageText:
  452. //
  453. //  The network is busy.
  454. //
  455. #define ERROR_NETWORK_BUSY               54L
  456.  
  457. //
  458. // MessageId: ERROR_DEV_NOT_EXIST
  459. //
  460. // MessageText:
  461. //
  462. //  The specified network resource or device is no longer
  463. //  available.
  464. //
  465. #define ERROR_DEV_NOT_EXIST              55L    // dderror
  466.  
  467. //
  468. // MessageId: ERROR_TOO_MANY_CMDS
  469. //
  470. // MessageText:
  471. //
  472. //  The network BIOS command limit has been reached.
  473. //
  474. #define ERROR_TOO_MANY_CMDS              56L
  475.  
  476. //
  477. // MessageId: ERROR_ADAP_HDW_ERR
  478. //
  479. // MessageText:
  480. //
  481. //  A network adapter hardware error occurred.
  482. //
  483. #define ERROR_ADAP_HDW_ERR               57L
  484.  
  485. //
  486. // MessageId: ERROR_BAD_NET_RESP
  487. //
  488. // MessageText:
  489. //
  490. //  The specified server cannot perform the requested
  491. //  operation.
  492. //
  493. #define ERROR_BAD_NET_RESP               58L
  494.  
  495. //
  496. // MessageId: ERROR_UNEXP_NET_ERR
  497. //
  498. // MessageText:
  499. //
  500. //  An unexpected network error occurred.
  501. //
  502. #define ERROR_UNEXP_NET_ERR              59L
  503.  
  504. //
  505. // MessageId: ERROR_BAD_REM_ADAP
  506. //
  507. // MessageText:
  508. //
  509. //  The remote adapter is not compatible.
  510. //
  511. #define ERROR_BAD_REM_ADAP               60L
  512.  
  513. //
  514. // MessageId: ERROR_PRINTQ_FULL
  515. //
  516. // MessageText:
  517. //
  518. //  The printer queue is full.
  519. //
  520. #define ERROR_PRINTQ_FULL                61L
  521.  
  522. //
  523. // MessageId: ERROR_NO_SPOOL_SPACE
  524. //
  525. // MessageText:
  526. //
  527. //  Space to store the file waiting to be printed is
  528. //  not available on the server.
  529. //
  530. #define ERROR_NO_SPOOL_SPACE             62L
  531.  
  532. //
  533. // MessageId: ERROR_PRINT_CANCELLED
  534. //
  535. // MessageText:
  536. //
  537. //  Your file waiting to be printed was deleted.
  538. //
  539. #define ERROR_PRINT_CANCELLED            63L
  540.  
  541. //
  542. // MessageId: ERROR_NETNAME_DELETED
  543. //
  544. // MessageText:
  545. //
  546. //  The specified network name is no longer available.
  547. //
  548. #define ERROR_NETNAME_DELETED            64L
  549.  
  550. //
  551. // MessageId: ERROR_NETWORK_ACCESS_DENIED
  552. //
  553. // MessageText:
  554. //
  555. //  Network access is denied.
  556. //
  557. #define ERROR_NETWORK_ACCESS_DENIED      65L
  558.  
  559. //
  560. // MessageId: ERROR_BAD_DEV_TYPE
  561. //
  562. // MessageText:
  563. //
  564. //  The network resource type is not correct.
  565. //
  566. #define ERROR_BAD_DEV_TYPE               66L
  567.  
  568. //
  569. // MessageId: ERROR_BAD_NET_NAME
  570. //
  571. // MessageText:
  572. //
  573. //  The network name cannot be found.
  574. //
  575. #define ERROR_BAD_NET_NAME               67L
  576.  
  577. //
  578. // MessageId: ERROR_TOO_MANY_NAMES
  579. //
  580. // MessageText:
  581. //
  582. //  The name limit for the local computer network
  583. //  adapter card was exceeded.
  584. //
  585. #define ERROR_TOO_MANY_NAMES             68L
  586.  
  587. //
  588. // MessageId: ERROR_TOO_MANY_SESS
  589. //
  590. // MessageText:
  591. //
  592. //  The network BIOS session limit was exceeded.
  593. //
  594. #define ERROR_TOO_MANY_SESS              69L
  595.  
  596. //
  597. // MessageId: ERROR_SHARING_PAUSED
  598. //
  599. // MessageText:
  600. //
  601. //  The remote server has been paused or is in the
  602. //  process of being started.
  603. //
  604. #define ERROR_SHARING_PAUSED             70L
  605.  
  606. //
  607. // MessageId: ERROR_REQ_NOT_ACCEP
  608. //
  609. // MessageText:
  610. //
  611. //  No more connections can be made to this remote computer at this time
  612. //  because there are already as many connections as the computer can accept.
  613. //
  614. #define ERROR_REQ_NOT_ACCEP              71L
  615.  
  616. //
  617. // MessageId: ERROR_REDIR_PAUSED
  618. //
  619. // MessageText:
  620. //
  621. //  The specified printer or disk device has been paused.
  622. //
  623. #define ERROR_REDIR_PAUSED               72L
  624.  
  625. //
  626. // MessageId: ERROR_FILE_EXISTS
  627. //
  628. // MessageText:
  629. //
  630. //  The file exists.
  631. //
  632. #define ERROR_FILE_EXISTS                80L
  633.  
  634. //
  635. // MessageId: ERROR_CANNOT_MAKE
  636. //
  637. // MessageText:
  638. //
  639. //  The directory or file cannot be created.
  640. //
  641. #define ERROR_CANNOT_MAKE                82L
  642.  
  643. //
  644. // MessageId: ERROR_FAIL_I24
  645. //
  646. // MessageText:
  647. //
  648. //  Fail on INT 24
  649. //
  650. #define ERROR_FAIL_I24                   83L
  651.  
  652. //
  653. // MessageId: ERROR_OUT_OF_STRUCTURES
  654. //
  655. // MessageText:
  656. //
  657. //  Storage to process this request is not available.
  658. //
  659. #define ERROR_OUT_OF_STRUCTURES          84L
  660.  
  661. //
  662. // MessageId: ERROR_ALREADY_ASSIGNED
  663. //
  664. // MessageText:
  665. //
  666. //  The local device name is already in use.
  667. //
  668. #define ERROR_ALREADY_ASSIGNED           85L
  669.  
  670. //
  671. // MessageId: ERROR_INVALID_PASSWORD
  672. //
  673. // MessageText:
  674. //
  675. //  The specified network password is not correct.
  676. //
  677. #define ERROR_INVALID_PASSWORD           86L
  678.  
  679. //
  680. // MessageId: ERROR_INVALID_PARAMETER
  681. //
  682. // MessageText:
  683. //
  684. //  The parameter is incorrect.
  685. //
  686. #define ERROR_INVALID_PARAMETER          87L    // dderror
  687.  
  688. //
  689. // MessageId: ERROR_NET_WRITE_FAULT
  690. //
  691. // MessageText:
  692. //
  693. //  A write fault occurred on the network.
  694. //
  695. #define ERROR_NET_WRITE_FAULT            88L
  696.  
  697. //
  698. // MessageId: ERROR_NO_PROC_SLOTS
  699. //
  700. // MessageText:
  701. //
  702. //  The system cannot start another process at
  703. //  this time.
  704. //
  705. #define ERROR_NO_PROC_SLOTS              89L
  706.  
  707. //
  708. // MessageId: ERROR_TOO_MANY_SEMAPHORES
  709. //
  710. // MessageText:
  711. //
  712. //  Cannot create another system semaphore.
  713. //
  714. #define ERROR_TOO_MANY_SEMAPHORES        100L
  715.  
  716. //
  717. // MessageId: ERROR_EXCL_SEM_ALREADY_OWNED
  718. //
  719. // MessageText:
  720. //
  721. //  The exclusive semaphore is owned by another process.
  722. //
  723. #define ERROR_EXCL_SEM_ALREADY_OWNED     101L
  724.  
  725. //
  726. // MessageId: ERROR_SEM_IS_SET
  727. //
  728. // MessageText:
  729. //
  730. //  The semaphore is set and cannot be closed.
  731. //
  732. #define ERROR_SEM_IS_SET                 102L
  733.  
  734. //
  735. // MessageId: ERROR_TOO_MANY_SEM_REQUESTS
  736. //
  737. // MessageText:
  738. //
  739. //  The semaphore cannot be set again.
  740. //
  741. #define ERROR_TOO_MANY_SEM_REQUESTS      103L
  742.  
  743. //
  744. // MessageId: ERROR_INVALID_AT_INTERRUPT_TIME
  745. //
  746. // MessageText:
  747. //
  748. //  Cannot request exclusive semaphores at interrupt time.
  749. //
  750. #define ERROR_INVALID_AT_INTERRUPT_TIME  104L
  751.  
  752. //
  753. // MessageId: ERROR_SEM_OWNER_DIED
  754. //
  755. // MessageText:
  756. //
  757. //  The previous ownership of this semaphore has ended.
  758. //
  759. #define ERROR_SEM_OWNER_DIED             105L
  760.  
  761. //
  762. // MessageId: ERROR_SEM_USER_LIMIT
  763. //
  764. // MessageText:
  765. //
  766. //  Insert the diskette for drive %1.
  767. //
  768. #define ERROR_SEM_USER_LIMIT             106L
  769.  
  770. //
  771. // MessageId: ERROR_DISK_CHANGE
  772. //
  773. // MessageText:
  774. //
  775. //  Program stopped because alternate diskette was not inserted.
  776. //
  777. #define ERROR_DISK_CHANGE                107L
  778.  
  779. //
  780. // MessageId: ERROR_DRIVE_LOCKED
  781. //
  782. // MessageText:
  783. //
  784. //  The disk is in use or locked by
  785. //  another process.
  786. //
  787. #define ERROR_DRIVE_LOCKED               108L
  788.  
  789. //
  790. // MessageId: ERROR_BROKEN_PIPE
  791. //
  792. // MessageText:
  793. //
  794. //  The pipe has been ended.
  795. //
  796. #define ERROR_BROKEN_PIPE                109L
  797.  
  798. //
  799. // MessageId: ERROR_OPEN_FAILED
  800. //
  801. // MessageText:
  802. //
  803. //  The system cannot open the
  804. //  device or file specified.
  805. //
  806. #define ERROR_OPEN_FAILED                110L
  807.  
  808. //
  809. // MessageId: ERROR_BUFFER_OVERFLOW
  810. //
  811. // MessageText:
  812. //
  813. //  The file name is too long.
  814. //
  815. #define ERROR_BUFFER_OVERFLOW            111L
  816.  
  817. //
  818. // MessageId: ERROR_DISK_FULL
  819. //
  820. // MessageText:
  821. //
  822. //  There is not enough space on the disk.
  823. //
  824. #define ERROR_DISK_FULL                  112L
  825.  
  826. //
  827. // MessageId: ERROR_NO_MORE_SEARCH_HANDLES
  828. //
  829. // MessageText:
  830. //
  831. //  No more internal file identifiers available.
  832. //
  833. #define ERROR_NO_MORE_SEARCH_HANDLES     113L
  834.  
  835. //
  836. // MessageId: ERROR_INVALID_TARGET_HANDLE
  837. //
  838. // MessageText:
  839. //
  840. //  The target internal file identifier is incorrect.
  841. //
  842. #define ERROR_INVALID_TARGET_HANDLE      114L
  843.  
  844. //
  845. // MessageId: ERROR_INVALID_CATEGORY
  846. //
  847. // MessageText:
  848. //
  849. //  The IOCTL call made by the application program is
  850. //  not correct.
  851. //
  852. #define ERROR_INVALID_CATEGORY           117L
  853.  
  854. //
  855. // MessageId: ERROR_INVALID_VERIFY_SWITCH
  856. //
  857. // MessageText:
  858. //
  859. //  The verify-on-write switch parameter value is not
  860. //  correct.
  861. //
  862. #define ERROR_INVALID_VERIFY_SWITCH      118L
  863.  
  864. //
  865. // MessageId: ERROR_BAD_DRIVER_LEVEL
  866. //
  867. // MessageText:
  868. //
  869. //  The system does not support the command requested.
  870. //
  871. #define ERROR_BAD_DRIVER_LEVEL           119L
  872.  
  873. //
  874. // MessageId: ERROR_CALL_NOT_IMPLEMENTED
  875. //
  876. // MessageText:
  877. //
  878. //  This function is only valid in Windows NT mode.
  879. //
  880. #define ERROR_CALL_NOT_IMPLEMENTED       120L
  881.  
  882. //
  883. // MessageId: ERROR_SEM_TIMEOUT
  884. //
  885. // MessageText:
  886. //
  887. //  The semaphore timeout period has expired.
  888. //
  889. #define ERROR_SEM_TIMEOUT                121L
  890.  
  891. //
  892. // MessageId: ERROR_INSUFFICIENT_BUFFER
  893. //
  894. // MessageText:
  895. //
  896. //  The data area passed to a system call is too
  897. //  small.
  898. //
  899. #define ERROR_INSUFFICIENT_BUFFER        122L    // dderror
  900.  
  901. //
  902. // MessageId: ERROR_INVALID_NAME
  903. //
  904. // MessageText:
  905. //
  906. //  The filename, directory name, or volume label syntax is incorrect.
  907. //
  908. #define ERROR_INVALID_NAME               123L
  909.  
  910. //
  911. // MessageId: ERROR_INVALID_LEVEL
  912. //
  913. // MessageText:
  914. //
  915. //  The system call level is not correct.
  916. //
  917. #define ERROR_INVALID_LEVEL              124L
  918.  
  919. //
  920. // MessageId: ERROR_NO_VOLUME_LABEL
  921. //
  922. // MessageText:
  923. //
  924. //  The disk has no volume label.
  925. //
  926. #define ERROR_NO_VOLUME_LABEL            125L
  927.  
  928. //
  929. // MessageId: ERROR_MOD_NOT_FOUND
  930. //
  931. // MessageText:
  932. //
  933. //  The specified module could not be found.
  934. //
  935. #define ERROR_MOD_NOT_FOUND              126L
  936.  
  937. //
  938. // MessageId: ERROR_PROC_NOT_FOUND
  939. //
  940. // MessageText:
  941. //
  942. //  The specified procedure could not be found.
  943. //
  944. #define ERROR_PROC_NOT_FOUND             127L
  945.  
  946. //
  947. // MessageId: ERROR_WAIT_NO_CHILDREN
  948. //
  949. // MessageText:
  950. //
  951. //  There are no child processes to wait for.
  952. //
  953. #define ERROR_WAIT_NO_CHILDREN           128L
  954.  
  955. //
  956. // MessageId: ERROR_CHILD_NOT_COMPLETE
  957. //
  958. // MessageText:
  959. //
  960. //  The %1 application cannot be run in Windows NT mode.
  961. //
  962. #define ERROR_CHILD_NOT_COMPLETE         129L
  963.  
  964. //
  965. // MessageId: ERROR_DIRECT_ACCESS_HANDLE
  966. //
  967. // MessageText:
  968. //
  969. //  Attempt to use a file handle to an open disk partition for an
  970. //  operation other than raw disk I/O.
  971. //
  972. #define ERROR_DIRECT_ACCESS_HANDLE       130L
  973.  
  974. //
  975. // MessageId: ERROR_NEGATIVE_SEEK
  976. //
  977. // MessageText:
  978. //
  979. //  An attempt was made to move the file pointer before the beginning of the file.
  980. //
  981. #define ERROR_NEGATIVE_SEEK              131L
  982.  
  983. //
  984. // MessageId: ERROR_SEEK_ON_DEVICE
  985. //
  986. // MessageText:
  987. //
  988. //  The file pointer cannot be set on the specified device or file.
  989. //
  990. #define ERROR_SEEK_ON_DEVICE             132L
  991.  
  992. //
  993. // MessageId: ERROR_IS_JOIN_TARGET
  994. //
  995. // MessageText:
  996. //
  997. //  A JOIN or SUBST command
  998. //  cannot be used for a drive that
  999. //  contains previously joined drives.
  1000. //
  1001. #define ERROR_IS_JOIN_TARGET             133L
  1002.  
  1003. //
  1004. // MessageId: ERROR_IS_JOINED
  1005. //
  1006. // MessageText:
  1007. //
  1008. //  An attempt was made to use a
  1009. //  JOIN or SUBST command on a drive that has
  1010. //  already been joined.
  1011. //
  1012. #define ERROR_IS_JOINED                  134L
  1013.  
  1014. //
  1015. // MessageId: ERROR_IS_SUBSTED
  1016. //
  1017. // MessageText:
  1018. //
  1019. //  An attempt was made to use a
  1020. //  JOIN or SUBST command on a drive that has
  1021. //  already been substituted.
  1022. //
  1023. #define ERROR_IS_SUBSTED                 135L
  1024.  
  1025. //
  1026. // MessageId: ERROR_NOT_JOINED
  1027. //
  1028. // MessageText:
  1029. //
  1030. //  The system tried to delete
  1031. //  the JOIN of a drive that is not joined.
  1032. //
  1033. #define ERROR_NOT_JOINED                 136L
  1034.  
  1035. //
  1036. // MessageId: ERROR_NOT_SUBSTED
  1037. //
  1038. // MessageText:
  1039. //
  1040. //  The system tried to delete the
  1041. //  substitution of a drive that is not substituted.
  1042. //
  1043. #define ERROR_NOT_SUBSTED                137L
  1044.  
  1045. //
  1046. // MessageId: ERROR_JOIN_TO_JOIN
  1047. //
  1048. // MessageText:
  1049. //
  1050. //  The system tried to join a drive
  1051. //  to a directory on a joined drive.
  1052. //
  1053. #define ERROR_JOIN_TO_JOIN               138L
  1054.  
  1055. //
  1056. // MessageId: ERROR_SUBST_TO_SUBST
  1057. //
  1058. // MessageText:
  1059. //
  1060. //  The system tried to substitute a
  1061. //  drive to a directory on a substituted drive.
  1062. //
  1063. #define ERROR_SUBST_TO_SUBST             139L
  1064.  
  1065. //
  1066. // MessageId: ERROR_JOIN_TO_SUBST
  1067. //
  1068. // MessageText:
  1069. //
  1070. //  The system tried to join a drive to
  1071. //  a directory on a substituted drive.
  1072. //
  1073. #define ERROR_JOIN_TO_SUBST              140L
  1074.  
  1075. //
  1076. // MessageId: ERROR_SUBST_TO_JOIN
  1077. //
  1078. // MessageText:
  1079. //
  1080. //  The system tried to SUBST a drive
  1081. //  to a directory on a joined drive.
  1082. //
  1083. #define ERROR_SUBST_TO_JOIN              141L
  1084.  
  1085. //
  1086. // MessageId: ERROR_BUSY_DRIVE
  1087. //
  1088. // MessageText:
  1089. //
  1090. //  The system cannot perform a JOIN or SUBST at this time.
  1091. //
  1092. #define ERROR_BUSY_DRIVE                 142L
  1093.  
  1094. //
  1095. // MessageId: ERROR_SAME_DRIVE
  1096. //
  1097. // MessageText:
  1098. //
  1099. //  The system cannot join or substitute a
  1100. //  drive to or for a directory on the same drive.
  1101. //
  1102. #define ERROR_SAME_DRIVE                 143L
  1103.  
  1104. //
  1105. // MessageId: ERROR_DIR_NOT_ROOT
  1106. //
  1107. // MessageText:
  1108. //
  1109. //  The directory is not a subdirectory of the root directory.
  1110. //
  1111. #define ERROR_DIR_NOT_ROOT               144L
  1112.  
  1113. //
  1114. // MessageId: ERROR_DIR_NOT_EMPTY
  1115. //
  1116. // MessageText:
  1117. //
  1118. //  The directory is not empty.
  1119. //
  1120. #define ERROR_DIR_NOT_EMPTY              145L
  1121.  
  1122. //
  1123. // MessageId: ERROR_IS_SUBST_PATH
  1124. //
  1125. // MessageText:
  1126. //
  1127. //  The path specified is being used in
  1128. //  a substitute.
  1129. //
  1130. #define ERROR_IS_SUBST_PATH              146L
  1131.  
  1132. //
  1133. // MessageId: ERROR_IS_JOIN_PATH
  1134. //
  1135. // MessageText:
  1136. //
  1137. //  Not enough resources are available to
  1138. //  process this command.
  1139. //
  1140. #define ERROR_IS_JOIN_PATH               147L
  1141.  
  1142. //
  1143. // MessageId: ERROR_PATH_BUSY
  1144. //
  1145. // MessageText:
  1146. //
  1147. //  The path specified cannot be used at this time.
  1148. //
  1149. #define ERROR_PATH_BUSY                  148L
  1150.  
  1151. //
  1152. // MessageId: ERROR_IS_SUBST_TARGET
  1153. //
  1154. // MessageText:
  1155. //
  1156. //  An attempt was made to join
  1157. //  or substitute a drive for which a directory
  1158. //  on the drive is the target of a previous
  1159. //  substitute.
  1160. //
  1161. #define ERROR_IS_SUBST_TARGET            149L
  1162.  
  1163. //
  1164. // MessageId: ERROR_SYSTEM_TRACE
  1165. //
  1166. // MessageText:
  1167. //
  1168. //  System trace information was not specified in your
  1169. //  CONFIG.SYS file, or tracing is disallowed.
  1170. //
  1171. #define ERROR_SYSTEM_TRACE               150L
  1172.  
  1173. //
  1174. // MessageId: ERROR_INVALID_EVENT_COUNT
  1175. //
  1176. // MessageText:
  1177. //
  1178. //  The number of specified semaphore events for
  1179. //  DosMuxSemWait is not correct.
  1180. //
  1181. #define ERROR_INVALID_EVENT_COUNT        151L
  1182.  
  1183. //
  1184. // MessageId: ERROR_TOO_MANY_MUXWAITERS
  1185. //
  1186. // MessageText:
  1187. //
  1188. //  DosMuxSemWait did not execute; too many semaphores
  1189. //  are already set.
  1190. //
  1191. #define ERROR_TOO_MANY_MUXWAITERS        152L
  1192.  
  1193. //
  1194. // MessageId: ERROR_INVALID_LIST_FORMAT
  1195. //
  1196. // MessageText:
  1197. //
  1198. //  The DosMuxSemWait list is not correct.
  1199. //
  1200. #define ERROR_INVALID_LIST_FORMAT        153L
  1201.  
  1202. //
  1203. // MessageId: ERROR_LABEL_TOO_LONG
  1204. //
  1205. // MessageText:
  1206. //
  1207. //  The volume label you entered exceeds the label character
  1208. //  limit of the target file system.
  1209. //
  1210. #define ERROR_LABEL_TOO_LONG             154L
  1211.  
  1212. //
  1213. // MessageId: ERROR_TOO_MANY_TCBS
  1214. //
  1215. // MessageText:
  1216. //
  1217. //  Cannot create another thread.
  1218. //
  1219. #define ERROR_TOO_MANY_TCBS              155L
  1220.  
  1221. //
  1222. // MessageId: ERROR_SIGNAL_REFUSED
  1223. //
  1224. // MessageText:
  1225. //
  1226. //  The recipient process has refused the signal.
  1227. //
  1228. #define ERROR_SIGNAL_REFUSED             156L
  1229.  
  1230. //
  1231. // MessageId: ERROR_DISCARDED
  1232. //
  1233. // MessageText:
  1234. //
  1235. //  The segment is already discarded and cannot be locked.
  1236. //
  1237. #define ERROR_DISCARDED                  157L
  1238.  
  1239. //
  1240. // MessageId: ERROR_NOT_LOCKED
  1241. //
  1242. // MessageText:
  1243. //
  1244. //  The segment is already unlocked.
  1245. //
  1246. #define ERROR_NOT_LOCKED                 158L
  1247.  
  1248. //
  1249. // MessageId: ERROR_BAD_THREADID_ADDR
  1250. //
  1251. // MessageText:
  1252. //
  1253. //  The address for the thread ID is not correct.
  1254. //
  1255. #define ERROR_BAD_THREADID_ADDR          159L
  1256.  
  1257. //
  1258. // MessageId: ERROR_BAD_ARGUMENTS
  1259. //
  1260. // MessageText:
  1261. //
  1262. //  The argument string passed to DosExecPgm is not correct.
  1263. //
  1264. #define ERROR_BAD_ARGUMENTS              160L
  1265.  
  1266. //
  1267. // MessageId: ERROR_BAD_PATHNAME
  1268. //
  1269. // MessageText:
  1270. //
  1271. //  The specified path is invalid.
  1272. //
  1273. #define ERROR_BAD_PATHNAME               161L
  1274.  
  1275. //
  1276. // MessageId: ERROR_SIGNAL_PENDING
  1277. //
  1278. // MessageText:
  1279. //
  1280. //  A signal is already pending.
  1281. //
  1282. #define ERROR_SIGNAL_PENDING             162L
  1283.  
  1284. //
  1285. // MessageId: ERROR_MAX_THRDS_REACHED
  1286. //
  1287. // MessageText:
  1288. //
  1289. //  No more threads can be created in the system.
  1290. //
  1291. #define ERROR_MAX_THRDS_REACHED          164L
  1292.  
  1293. //
  1294. // MessageId: ERROR_LOCK_FAILED
  1295. //
  1296. // MessageText:
  1297. //
  1298. //  Unable to lock a region of a file.
  1299. //
  1300. #define ERROR_LOCK_FAILED                167L
  1301.  
  1302. //
  1303. // MessageId: ERROR_BUSY
  1304. //
  1305. // MessageText:
  1306. //
  1307. //  The requested resource is in use.
  1308. //
  1309. #define ERROR_BUSY                       170L
  1310.  
  1311. //
  1312. // MessageId: ERROR_CANCEL_VIOLATION
  1313. //
  1314. // MessageText:
  1315. //
  1316. //  A lock request was not outstanding for the supplied cancel region.
  1317. //
  1318. #define ERROR_CANCEL_VIOLATION           173L
  1319.  
  1320. //
  1321. // MessageId: ERROR_ATOMIC_LOCKS_NOT_SUPPORTED
  1322. //
  1323. // MessageText:
  1324. //
  1325. //  The file system does not support atomic changes to the lock type.
  1326. //
  1327. #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174L
  1328.  
  1329. //
  1330. // MessageId: ERROR_INVALID_SEGMENT_NUMBER
  1331. //
  1332. // MessageText:
  1333. //
  1334. //  The system detected a segment number that was not correct.
  1335. //
  1336. #define ERROR_INVALID_SEGMENT_NUMBER     180L
  1337.  
  1338. //
  1339. // MessageId: ERROR_INVALID_ORDINAL
  1340. //
  1341. // MessageText:
  1342. //
  1343. //  The operating system cannot run %1.
  1344. //
  1345. #define ERROR_INVALID_ORDINAL            182L
  1346.  
  1347. //
  1348. // MessageId: ERROR_ALREADY_EXISTS
  1349. //
  1350. // MessageText:
  1351. //
  1352. //  Cannot create a file when that file already exists.
  1353. //
  1354. #define ERROR_ALREADY_EXISTS             183L
  1355.  
  1356. //
  1357. // MessageId: ERROR_INVALID_FLAG_NUMBER
  1358. //
  1359. // MessageText:
  1360. //
  1361. //  The flag passed is not correct.
  1362. //
  1363. #define ERROR_INVALID_FLAG_NUMBER        186L
  1364.  
  1365. //
  1366. // MessageId: ERROR_SEM_NOT_FOUND
  1367. //
  1368. // MessageText:
  1369. //
  1370. //  The specified system semaphore name was not found.
  1371. //
  1372. #define ERROR_SEM_NOT_FOUND              187L
  1373.  
  1374. //
  1375. // MessageId: ERROR_INVALID_STARTING_CODESEG
  1376. //
  1377. // MessageText:
  1378. //
  1379. //  The operating system cannot run %1.
  1380. //
  1381. #define ERROR_INVALID_STARTING_CODESEG   188L
  1382.  
  1383. //
  1384. // MessageId: ERROR_INVALID_STACKSEG
  1385. //
  1386. // MessageText:
  1387. //
  1388. //  The operating system cannot run %1.
  1389. //
  1390. #define ERROR_INVALID_STACKSEG           189L
  1391.  
  1392. //
  1393. // MessageId: ERROR_INVALID_MODULETYPE
  1394. //
  1395. // MessageText:
  1396. //
  1397. //  The operating system cannot run %1.
  1398. //
  1399. #define ERROR_INVALID_MODULETYPE         190L
  1400.  
  1401. //
  1402. // MessageId: ERROR_INVALID_EXE_SIGNATURE
  1403. //
  1404. // MessageText:
  1405. //
  1406. //  Cannot run %1 in Windows NT mode.
  1407. //
  1408. #define ERROR_INVALID_EXE_SIGNATURE      191L
  1409.  
  1410. //
  1411. // MessageId: ERROR_EXE_MARKED_INVALID
  1412. //
  1413. // MessageText:
  1414. //
  1415. //  The operating system cannot run %1.
  1416. //
  1417. #define ERROR_EXE_MARKED_INVALID         192L
  1418.  
  1419. //
  1420. // MessageId: ERROR_BAD_EXE_FORMAT
  1421. //
  1422. // MessageText:
  1423. //
  1424. //  %1 is not a valid Windows NT application.
  1425. //
  1426. #define ERROR_BAD_EXE_FORMAT             193L
  1427.  
  1428. //
  1429. // MessageId: ERROR_ITERATED_DATA_EXCEEDS_64k
  1430. //
  1431. // MessageText:
  1432. //
  1433. //  The operating system cannot run %1.
  1434. //
  1435. #define ERROR_ITERATED_DATA_EXCEEDS_64k  194L
  1436.  
  1437. //
  1438. // MessageId: ERROR_INVALID_MINALLOCSIZE
  1439. //
  1440. // MessageText:
  1441. //
  1442. //  The operating system cannot run %1.
  1443. //
  1444. #define ERROR_INVALID_MINALLOCSIZE       195L
  1445.  
  1446. //
  1447. // MessageId: ERROR_DYNLINK_FROM_INVALID_RING
  1448. //
  1449. // MessageText:
  1450. //
  1451. //  The operating system cannot run this
  1452. //  application program.
  1453. //
  1454. #define ERROR_DYNLINK_FROM_INVALID_RING  196L
  1455.  
  1456. //
  1457. // MessageId: ERROR_IOPL_NOT_ENABLED
  1458. //
  1459. // MessageText:
  1460. //
  1461. //  The operating system is not presently
  1462. //  configured to run this application.
  1463. //
  1464. #define ERROR_IOPL_NOT_ENABLED           197L
  1465.  
  1466. //
  1467. // MessageId: ERROR_INVALID_SEGDPL
  1468. //
  1469. // MessageText:
  1470. //
  1471. //  The operating system cannot run %1.
  1472. //
  1473. #define ERROR_INVALID_SEGDPL             198L
  1474.  
  1475. //
  1476. // MessageId: ERROR_AUTODATASEG_EXCEEDS_64k
  1477. //
  1478. // MessageText:
  1479. //
  1480. //  The operating system cannot run this
  1481. //  application program.
  1482. //
  1483. #define ERROR_AUTODATASEG_EXCEEDS_64k    199L
  1484.  
  1485. //
  1486. // MessageId: ERROR_RING2SEG_MUST_BE_MOVABLE
  1487. //
  1488. // MessageText:
  1489. //
  1490. //  The code segment cannot be greater than or equal to 64KB.
  1491. //
  1492. #define ERROR_RING2SEG_MUST_BE_MOVABLE   200L
  1493.  
  1494. //
  1495. // MessageId: ERROR_RELOC_CHAIN_XEEDS_SEGLIM
  1496. //
  1497. // MessageText:
  1498. //
  1499. //  The operating system cannot run %1.
  1500. //
  1501. #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM   201L
  1502.  
  1503. //
  1504. // MessageId: ERROR_INFLOOP_IN_RELOC_CHAIN
  1505. //
  1506. // MessageText:
  1507. //
  1508. //  The operating system cannot run %1.
  1509. //
  1510. #define ERROR_INFLOOP_IN_RELOC_CHAIN     202L
  1511.  
  1512. //
  1513. // MessageId: ERROR_ENVVAR_NOT_FOUND
  1514. //
  1515. // MessageText:
  1516. //
  1517. //  The system could not find the environment
  1518. //  option that was entered.
  1519. //
  1520. #define ERROR_ENVVAR_NOT_FOUND           203L
  1521.  
  1522. //
  1523. // MessageId: ERROR_NO_SIGNAL_SENT
  1524. //
  1525. // MessageText:
  1526. //
  1527. //  No process in the command subtree has a
  1528. //  signal handler.
  1529. //
  1530. #define ERROR_NO_SIGNAL_SENT             205L
  1531.  
  1532. //
  1533. // MessageId: ERROR_FILENAME_EXCED_RANGE
  1534. //
  1535. // MessageText:
  1536. //
  1537. //  The filename or extension is too long.
  1538. //
  1539. #define ERROR_FILENAME_EXCED_RANGE       206L
  1540.  
  1541. //
  1542. // MessageId: ERROR_RING2_STACK_IN_USE
  1543. //
  1544. // MessageText:
  1545. //
  1546. //  The ring 2 stack is in use.
  1547. //
  1548. #define ERROR_RING2_STACK_IN_USE         207L
  1549.  
  1550. //
  1551. // MessageId: ERROR_META_EXPANSION_TOO_LONG
  1552. //
  1553. // MessageText:
  1554. //
  1555. //  The global filename characters, * or ?, are entered
  1556. //  incorrectly or too many global filename characters are specified.
  1557. //
  1558. #define ERROR_META_EXPANSION_TOO_LONG    208L
  1559.  
  1560. //
  1561. // MessageId: ERROR_INVALID_SIGNAL_NUMBER
  1562. //
  1563. // MessageText:
  1564. //
  1565. //  The signal being posted is not correct.
  1566. //
  1567. #define ERROR_INVALID_SIGNAL_NUMBER      209L
  1568.  
  1569. //
  1570. // MessageId: ERROR_THREAD_1_INACTIVE
  1571. //
  1572. // MessageText:
  1573. //
  1574. //  The signal handler cannot be set.
  1575. //
  1576. #define ERROR_THREAD_1_INACTIVE          210L
  1577.  
  1578. //
  1579. // MessageId: ERROR_LOCKED
  1580. //
  1581. // MessageText:
  1582. //
  1583. //  The segment is locked and cannot be reallocated.
  1584. //
  1585. #define ERROR_LOCKED                     212L
  1586.  
  1587. //
  1588. // MessageId: ERROR_TOO_MANY_MODULES
  1589. //
  1590. // MessageText:
  1591. //
  1592. //  Too many dynamic link modules are attached to this
  1593. //  program or dynamic link module.
  1594. //
  1595. #define ERROR_TOO_MANY_MODULES           214L
  1596.  
  1597. //
  1598. // MessageId: ERROR_NESTING_NOT_ALLOWED
  1599. //
  1600. // MessageText:
  1601. //
  1602. //  Can't nest calls to LoadModule.
  1603. //
  1604. #define ERROR_NESTING_NOT_ALLOWED        215L
  1605.  
  1606. //
  1607. // MessageId: ERROR_EXE_MACHINE_TYPE_MISMATCH
  1608. //
  1609. // MessageText:
  1610. //
  1611. //  The image file %1 is valid, but is for a machine type other
  1612. //  than the current machine.
  1613. //
  1614. #define ERROR_EXE_MACHINE_TYPE_MISMATCH  216L
  1615.  
  1616. //
  1617. // MessageId: ERROR_BAD_PIPE
  1618. //
  1619. // MessageText:
  1620. //
  1621. //  The pipe state is invalid.
  1622. //
  1623. #define ERROR_BAD_PIPE                   230L
  1624.  
  1625. //
  1626. // MessageId: ERROR_PIPE_BUSY
  1627. //
  1628. // MessageText:
  1629. //
  1630. //  All pipe instances are busy.
  1631. //
  1632. #define ERROR_PIPE_BUSY                  231L
  1633.  
  1634. //
  1635. // MessageId: ERROR_NO_DATA
  1636. //
  1637. // MessageText:
  1638. //
  1639. //  The pipe is being closed.
  1640. //
  1641. #define ERROR_NO_DATA                    232L
  1642.  
  1643. //
  1644. // MessageId: ERROR_PIPE_NOT_CONNECTED
  1645. //
  1646. // MessageText:
  1647. //
  1648. //  No process is on the other end of the pipe.
  1649. //
  1650. #define ERROR_PIPE_NOT_CONNECTED         233L
  1651.  
  1652. //
  1653. // MessageId: ERROR_MORE_DATA
  1654. //
  1655. // MessageText:
  1656. //
  1657. //  More data is available.
  1658. //
  1659. #define ERROR_MORE_DATA                  234L    // dderror
  1660.  
  1661. //
  1662. // MessageId: ERROR_VC_DISCONNECTED
  1663. //
  1664. // MessageText:
  1665. //
  1666. //  The session was cancelled.
  1667. //
  1668. #define ERROR_VC_DISCONNECTED            240L
  1669.  
  1670. //
  1671. // MessageId: ERROR_INVALID_EA_NAME
  1672. //
  1673. // MessageText:
  1674. //
  1675. //  The specified extended attribute name was invalid.
  1676. //
  1677. #define ERROR_INVALID_EA_NAME            254L
  1678.  
  1679. //
  1680. // MessageId: ERROR_EA_LIST_INCONSISTENT
  1681. //
  1682. // MessageText:
  1683. //
  1684. //  The extended attributes are inconsistent.
  1685. //
  1686. #define ERROR_EA_LIST_INCONSISTENT       255L
  1687.  
  1688. //
  1689. // MessageId: ERROR_NO_MORE_ITEMS
  1690. //
  1691. // MessageText:
  1692. //
  1693. //  No more data is available.
  1694. //
  1695. #define ERROR_NO_MORE_ITEMS              259L
  1696.  
  1697. //
  1698. // MessageId: ERROR_CANNOT_COPY
  1699. //
  1700. // MessageText:
  1701. //
  1702. //  The Copy API cannot be used.
  1703. //
  1704. #define ERROR_CANNOT_COPY                266L
  1705.  
  1706. //
  1707. // MessageId: ERROR_DIRECTORY
  1708. //
  1709. // MessageText:
  1710. //
  1711. //  The directory name is invalid.
  1712. //
  1713. #define ERROR_DIRECTORY                  267L
  1714.  
  1715. //
  1716. // MessageId: ERROR_EAS_DIDNT_FIT
  1717. //
  1718. // MessageText:
  1719. //
  1720. //  The extended attributes did not fit in the buffer.
  1721. //
  1722. #define ERROR_EAS_DIDNT_FIT              275L
  1723.  
  1724. //
  1725. // MessageId: ERROR_EA_FILE_CORRUPT
  1726. //
  1727. // MessageText:
  1728. //
  1729. //  The extended attribute file on the mounted file system is corrupt.
  1730. //
  1731. #define ERROR_EA_FILE_CORRUPT            276L
  1732.  
  1733. //
  1734. // MessageId: ERROR_EA_TABLE_FULL
  1735. //
  1736. // MessageText:
  1737. //
  1738. //  The extended attribute table file is full.
  1739. //
  1740. #define ERROR_EA_TABLE_FULL              277L
  1741.  
  1742. //
  1743. // MessageId: ERROR_INVALID_EA_HANDLE
  1744. //
  1745. // MessageText:
  1746. //
  1747. //  The specified extended attribute handle is invalid.
  1748. //
  1749. #define ERROR_INVALID_EA_HANDLE          278L
  1750.  
  1751. //
  1752. // MessageId: ERROR_EAS_NOT_SUPPORTED
  1753. //
  1754. // MessageText:
  1755. //
  1756. //  The mounted file system does not support extended attributes.
  1757. //
  1758. #define ERROR_EAS_NOT_SUPPORTED          282L
  1759.  
  1760. //
  1761. // MessageId: ERROR_NOT_OWNER
  1762. //
  1763. // MessageText:
  1764. //
  1765. //  Attempt to release mutex not owned by caller.
  1766. //
  1767. #define ERROR_NOT_OWNER                  288L
  1768.  
  1769. //
  1770. // MessageId: ERROR_TOO_MANY_POSTS
  1771. //
  1772. // MessageText:
  1773. //
  1774. //  Too many posts were made to a semaphore.
  1775. //
  1776. #define ERROR_TOO_MANY_POSTS             298L
  1777.  
  1778. //
  1779. // MessageId: ERROR_PARTIAL_COPY
  1780. //
  1781. // MessageText:
  1782. //
  1783. //  Only part of a Read/WriteProcessMemory request was completed.
  1784. //
  1785. #define ERROR_PARTIAL_COPY               299L
  1786.  
  1787. //
  1788. // MessageId: ERROR_MR_MID_NOT_FOUND
  1789. //
  1790. // MessageText:
  1791. //
  1792. //  The system cannot find message for message number 0x%1
  1793. //  in message file for %2.
  1794. //
  1795. #define ERROR_MR_MID_NOT_FOUND           317L
  1796.  
  1797. //
  1798. // MessageId: ERROR_INVALID_ADDRESS
  1799. //
  1800. // MessageText:
  1801. //
  1802. //  Attempt to access invalid address.
  1803. //
  1804. #define ERROR_INVALID_ADDRESS            487L
  1805.  
  1806. //
  1807. // MessageId: ERROR_ARITHMETIC_OVERFLOW
  1808. //
  1809. // MessageText:
  1810. //
  1811. //  Arithmetic result exceeded 32 bits.
  1812. //
  1813. #define ERROR_ARITHMETIC_OVERFLOW        534L
  1814.  
  1815. //
  1816. // MessageId: ERROR_PIPE_CONNECTED
  1817. //
  1818. // MessageText:
  1819. //
  1820. //  There is a process on other end of the pipe.
  1821. //
  1822. #define ERROR_PIPE_CONNECTED             535L
  1823.  
  1824. //
  1825. // MessageId: ERROR_PIPE_LISTENING
  1826. //
  1827. // MessageText:
  1828. //
  1829. //  Waiting for a process to open the other end of the pipe.
  1830. //
  1831. #define ERROR_PIPE_LISTENING             536L
  1832.  
  1833. //
  1834. // MessageId: ERROR_EA_ACCESS_DENIED
  1835. //
  1836. // MessageText:
  1837. //
  1838. //  Access to the extended attribute was denied.
  1839. //
  1840. #define ERROR_EA_ACCESS_DENIED           994L
  1841.  
  1842. //
  1843. // MessageId: ERROR_OPERATION_ABORTED
  1844. //
  1845. // MessageText:
  1846. //
  1847. //  The I/O operation has been aborted because of either a thread exit
  1848. //  or an application request.
  1849. //
  1850. #define ERROR_OPERATION_ABORTED          995L
  1851.  
  1852. //
  1853. // MessageId: ERROR_IO_INCOMPLETE
  1854. //
  1855. // MessageText:
  1856. //
  1857. //  Overlapped I/O event is not in a signalled state.
  1858. //
  1859. #define ERROR_IO_INCOMPLETE              996L
  1860.  
  1861. //
  1862. // MessageId: ERROR_IO_PENDING
  1863. //
  1864. // MessageText:
  1865. //
  1866. //  Overlapped I/O operation is in progress.
  1867. //
  1868. #define ERROR_IO_PENDING                 997L    // dderror
  1869.  
  1870. //
  1871. // MessageId: ERROR_NOACCESS
  1872. //
  1873. // MessageText:
  1874. //
  1875. //  Invalid access to memory location.
  1876. //
  1877. #define ERROR_NOACCESS                   998L
  1878.  
  1879. //
  1880. // MessageId: ERROR_SWAPERROR
  1881. //
  1882. // MessageText:
  1883. //
  1884. //  Error performing inpage operation.
  1885. //
  1886. #define ERROR_SWAPERROR                  999L
  1887.  
  1888. //
  1889. // MessageId: ERROR_STACK_OVERFLOW
  1890. //
  1891. // MessageText:
  1892. //
  1893. //  Recursion too deep, stack overflowed.
  1894. //
  1895. #define ERROR_STACK_OVERFLOW             1001L
  1896.  
  1897. //
  1898. // MessageId: ERROR_INVALID_MESSAGE
  1899. //
  1900. // MessageText:
  1901. //
  1902. //  The window cannot act on the sent message.
  1903. //
  1904. #define ERROR_INVALID_MESSAGE            1002L
  1905.  
  1906. //
  1907. // MessageId: ERROR_CAN_NOT_COMPLETE
  1908. //
  1909. // MessageText:
  1910. //
  1911. //  Cannot complete this function.
  1912. //
  1913. #define ERROR_CAN_NOT_COMPLETE           1003L
  1914.  
  1915. //
  1916. // MessageId: ERROR_INVALID_FLAGS
  1917. //
  1918. // MessageText:
  1919. //
  1920. //  Invalid flags.
  1921. //
  1922. #define ERROR_INVALID_FLAGS              1004L
  1923.  
  1924. //
  1925. // MessageId: ERROR_UNRECOGNIZED_VOLUME
  1926. //
  1927. // MessageText:
  1928. //
  1929. //  The volume does not contain a recognized file system.
  1930. //  Please make sure that all required file system drivers are loaded and that the
  1931. //  volume is not corrupt.
  1932. //
  1933. #define ERROR_UNRECOGNIZED_VOLUME        1005L
  1934.  
  1935. //
  1936. // MessageId: ERROR_FILE_INVALID
  1937. //
  1938. // MessageText:
  1939. //
  1940. //  The volume for a file has been externally altered such that the
  1941. //  opened file is no longer valid.
  1942. //
  1943. #define ERROR_FILE_INVALID               1006L
  1944.  
  1945. //
  1946. // MessageId: ERROR_FULLSCREEN_MODE
  1947. //
  1948. // MessageText:
  1949. //
  1950. //  The requested operation cannot be performed in full-screen mode.
  1951. //
  1952. #define ERROR_FULLSCREEN_MODE            1007L
  1953.  
  1954. //
  1955. // MessageId: ERROR_NO_TOKEN
  1956. //
  1957. // MessageText:
  1958. //
  1959. //  An attempt was made to reference a token that does not exist.
  1960. //
  1961. #define ERROR_NO_TOKEN                   1008L
  1962.  
  1963. //
  1964. // MessageId: ERROR_BADDB
  1965. //
  1966. // MessageText:
  1967. //
  1968. //  The configuration registry database is corrupt.
  1969. //
  1970. #define ERROR_BADDB                      1009L
  1971.  
  1972. //
  1973. // MessageId: ERROR_BADKEY
  1974. //
  1975. // MessageText:
  1976. //
  1977. //  The configuration registry key is invalid.
  1978. //
  1979. #define ERROR_BADKEY                     1010L
  1980.  
  1981. //
  1982. // MessageId: ERROR_CANTOPEN
  1983. //
  1984. // MessageText:
  1985. //
  1986. //  The configuration registry key could not be opened.
  1987. //
  1988. #define ERROR_CANTOPEN                   1011L
  1989.  
  1990. //
  1991. // MessageId: ERROR_CANTREAD
  1992. //
  1993. // MessageText:
  1994. //
  1995. //  The configuration registry key could not be read.
  1996. //
  1997. #define ERROR_CANTREAD                   1012L
  1998.  
  1999. //
  2000. // MessageId: ERROR_CANTWRITE
  2001. //
  2002. // MessageText:
  2003. //
  2004. //  The configuration registry key could not be written.
  2005. //
  2006. #define ERROR_CANTWRITE                  1013L
  2007.  
  2008. //
  2009. // MessageId: ERROR_REGISTRY_RECOVERED
  2010. //
  2011. // MessageText:
  2012. //
  2013. //  One of the files in the Registry database had to be recovered
  2014. //  by use of a log or alternate copy.  The recovery was successful.
  2015. //
  2016. #define ERROR_REGISTRY_RECOVERED         1014L
  2017.  
  2018. //
  2019. // MessageId: ERROR_REGISTRY_CORRUPT
  2020. //
  2021. // MessageText:
  2022. //
  2023. //  The Registry is corrupt. The structure of one of the files that contains
  2024. //  Registry data is corrupt, or the system's image of the file in memory
  2025. //  is corrupt, or the file could not be recovered because the alternate
  2026. //  copy or log was absent or corrupt.
  2027. //
  2028. #define ERROR_REGISTRY_CORRUPT           1015L
  2029.  
  2030. //
  2031. // MessageId: ERROR_REGISTRY_IO_FAILED
  2032. //
  2033. // MessageText:
  2034. //
  2035. //  An I/O operation initiated by the Registry failed unrecoverably.
  2036. //  The Registry could not read in, or write out, or flush, one of the files
  2037. //  that contain the system's image of the Registry.
  2038. //
  2039. #define ERROR_REGISTRY_IO_FAILED         1016L
  2040.  
  2041. //
  2042. // MessageId: ERROR_NOT_REGISTRY_FILE
  2043. //
  2044. // MessageText:
  2045. //
  2046. //  The system has attempted to load or restore a file into the Registry, but the
  2047. //  specified file is not in a Registry file format.
  2048. //
  2049. #define ERROR_NOT_REGISTRY_FILE          1017L
  2050.  
  2051. //
  2052. // MessageId: ERROR_KEY_DELETED
  2053. //
  2054. // MessageText:
  2055. //
  2056. //  Illegal operation attempted on a Registry key which has been marked for deletion.
  2057. //
  2058. #define ERROR_KEY_DELETED                1018L
  2059.  
  2060. //
  2061. // MessageId: ERROR_NO_LOG_SPACE
  2062. //
  2063. // MessageText:
  2064. //
  2065. //  System could not allocate the required space in a Registry log.
  2066. //
  2067. #define ERROR_NO_LOG_SPACE               1019L
  2068.  
  2069. //
  2070. // MessageId: ERROR_KEY_HAS_CHILDREN
  2071. //
  2072. // MessageText:
  2073. //
  2074. //  Cannot create a symbolic link in a Registry key that already
  2075. //  has subkeys or values.
  2076. //
  2077. #define ERROR_KEY_HAS_CHILDREN           1020L
  2078.  
  2079. //
  2080. // MessageId: ERROR_CHILD_MUST_BE_VOLATILE
  2081. //
  2082. // MessageText:
  2083. //
  2084. //  Cannot create a stable subkey under a volatile parent key.
  2085. //
  2086. #define ERROR_CHILD_MUST_BE_VOLATILE     1021L
  2087.  
  2088. //
  2089. // MessageId: ERROR_NOTIFY_ENUM_DIR
  2090. //
  2091. // MessageText:
  2092. //
  2093. //  A notify change request is being completed and the information
  2094. //  is not being returned in the caller's buffer. The caller now
  2095. //  needs to enumerate the files to find the changes.
  2096. //
  2097. #define ERROR_NOTIFY_ENUM_DIR            1022L
  2098.  
  2099. //
  2100. // MessageId: ERROR_DEPENDENT_SERVICES_RUNNING
  2101. //
  2102. // MessageText:
  2103. //
  2104. //  A stop control has been sent to a service which other running services
  2105. //  are dependent on.
  2106. //
  2107. #define ERROR_DEPENDENT_SERVICES_RUNNING 1051L
  2108.  
  2109. //
  2110. // MessageId: ERROR_INVALID_SERVICE_CONTROL
  2111. //
  2112. // MessageText:
  2113. //
  2114. //  The requested control is not valid for this service
  2115. //
  2116. #define ERROR_INVALID_SERVICE_CONTROL    1052L
  2117.  
  2118. //
  2119. // MessageId: ERROR_SERVICE_REQUEST_TIMEOUT
  2120. //
  2121. // MessageText:
  2122. //
  2123. //  The service did not respond to the start or control request in a timely
  2124. //  fashion.
  2125. //
  2126. #define ERROR_SERVICE_REQUEST_TIMEOUT    1053L
  2127.  
  2128. //
  2129. // MessageId: ERROR_SERVICE_NO_THREAD
  2130. //
  2131. // MessageText:
  2132. //
  2133. //  A thread could not be created for the service.
  2134. //
  2135. #define ERROR_SERVICE_NO_THREAD          1054L
  2136.  
  2137. //
  2138. // MessageId: ERROR_SERVICE_DATABASE_LOCKED
  2139. //
  2140. // MessageText:
  2141. //
  2142. //  The service database is locked.
  2143. //
  2144. #define ERROR_SERVICE_DATABASE_LOCKED    1055L
  2145.  
  2146. //
  2147. // MessageId: ERROR_SERVICE_ALREADY_RUNNING
  2148. //
  2149. // MessageText:
  2150. //
  2151. //  An instance of the service is already running.
  2152. //
  2153. #define ERROR_SERVICE_ALREADY_RUNNING    1056L
  2154.  
  2155. //
  2156. // MessageId: ERROR_INVALID_SERVICE_ACCOUNT
  2157. //
  2158. // MessageText:
  2159. //
  2160. //  The account name is invalid or does not exist.
  2161. //
  2162. #define ERROR_INVALID_SERVICE_ACCOUNT    1057L
  2163.  
  2164. //
  2165. // MessageId: ERROR_SERVICE_DISABLED
  2166. //
  2167. // MessageText:
  2168. //
  2169. //  The specified service is disabled and cannot be started.
  2170. //
  2171. #define ERROR_SERVICE_DISABLED           1058L
  2172.  
  2173. //
  2174. // MessageId: ERROR_CIRCULAR_DEPENDENCY
  2175. //
  2176. // MessageText:
  2177. //
  2178. //  Circular service dependency was specified.
  2179. //
  2180. #define ERROR_CIRCULAR_DEPENDENCY        1059L
  2181.  
  2182. //
  2183. // MessageId: ERROR_SERVICE_DOES_NOT_EXIST
  2184. //
  2185. // MessageText:
  2186. //
  2187. //  The specified service does not exist as an installed service.
  2188. //
  2189. #define ERROR_SERVICE_DOES_NOT_EXIST     1060L
  2190.  
  2191. //
  2192. // MessageId: ERROR_SERVICE_CANNOT_ACCEPT_CTRL
  2193. //
  2194. // MessageText:
  2195. //
  2196. //  The service cannot accept control messages at this time.
  2197. //
  2198. #define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061L
  2199.  
  2200. //
  2201. // MessageId: ERROR_SERVICE_NOT_ACTIVE
  2202. //
  2203. // MessageText:
  2204. //
  2205. //  The service has not been started.
  2206. //
  2207. #define ERROR_SERVICE_NOT_ACTIVE         1062L
  2208.  
  2209. //
  2210. // MessageId: ERROR_FAILED_SERVICE_CONTROLLER_CONNECT
  2211. //
  2212. // MessageText:
  2213. //
  2214. //  The service process could not connect to the service controller.
  2215. //
  2216. #define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063L
  2217.  
  2218. //
  2219. // MessageId: ERROR_EXCEPTION_IN_SERVICE
  2220. //
  2221. // MessageText:
  2222. //
  2223. //  An exception occurred in the service when handling the control request.
  2224. //
  2225. #define ERROR_EXCEPTION_IN_SERVICE       1064L
  2226.  
  2227. //
  2228. // MessageId: ERROR_DATABASE_DOES_NOT_EXIST
  2229. //
  2230. // MessageText:
  2231. //
  2232. //  The database specified does not exist.
  2233. //
  2234. #define ERROR_DATABASE_DOES_NOT_EXIST    1065L
  2235.  
  2236. //
  2237. // MessageId: ERROR_SERVICE_SPECIFIC_ERROR
  2238. //
  2239. // MessageText:
  2240. //
  2241. //  The service has returned a service-specific error code.
  2242. //
  2243. #define ERROR_SERVICE_SPECIFIC_ERROR     1066L
  2244.  
  2245. //
  2246. // MessageId: ERROR_PROCESS_ABORTED
  2247. //
  2248. // MessageText:
  2249. //
  2250. //  The process terminated unexpectedly.
  2251. //
  2252. #define ERROR_PROCESS_ABORTED            1067L
  2253.  
  2254. //
  2255. // MessageId: ERROR_SERVICE_DEPENDENCY_FAIL
  2256. //
  2257. // MessageText:
  2258. //
  2259. //  The dependency service or group failed to start.
  2260. //
  2261. #define ERROR_SERVICE_DEPENDENCY_FAIL    1068L
  2262.  
  2263. //
  2264. // MessageId: ERROR_SERVICE_LOGON_FAILED
  2265. //
  2266. // MessageText:
  2267. //
  2268. //  The service did not start due to a logon failure.
  2269. //
  2270. #define ERROR_SERVICE_LOGON_FAILED       1069L
  2271.  
  2272. //
  2273. // MessageId: ERROR_SERVICE_START_HANG
  2274. //
  2275. // MessageText:
  2276. //
  2277. //  After starting, the service hung in a start-pending state.
  2278. //
  2279. #define ERROR_SERVICE_START_HANG         1070L
  2280.  
  2281. //
  2282. // MessageId: ERROR_INVALID_SERVICE_LOCK
  2283. //
  2284. // MessageText:
  2285. //
  2286. //  The specified service database lock is invalid.
  2287. //
  2288. #define ERROR_INVALID_SERVICE_LOCK       1071L
  2289.  
  2290. //
  2291. // MessageId: ERROR_SERVICE_MARKED_FOR_DELETE
  2292. //
  2293. // MessageText:
  2294. //
  2295. //  The specified service has been marked for deletion.
  2296. //
  2297. #define ERROR_SERVICE_MARKED_FOR_DELETE  1072L
  2298.  
  2299. //
  2300. // MessageId: ERROR_SERVICE_EXISTS
  2301. //
  2302. // MessageText:
  2303. //
  2304. //  The specified service already exists.
  2305. //
  2306. #define ERROR_SERVICE_EXISTS             1073L
  2307.  
  2308. //
  2309. // MessageId: ERROR_ALREADY_RUNNING_LKG
  2310. //
  2311. // MessageText:
  2312. //
  2313. //  The system is currently running with the last-known-good configuration.
  2314. //
  2315. #define ERROR_ALREADY_RUNNING_LKG        1074L
  2316.  
  2317. //
  2318. // MessageId: ERROR_SERVICE_DEPENDENCY_DELETED
  2319. //
  2320. // MessageText:
  2321. //
  2322. //  The dependency service does not exist or has been marked for
  2323. //  deletion.
  2324. //
  2325. #define ERROR_SERVICE_DEPENDENCY_DELETED 1075L
  2326.  
  2327. //
  2328. // MessageId: ERROR_BOOT_ALREADY_ACCEPTED
  2329. //
  2330. // MessageText:
  2331. //
  2332. //  The current boot has already been accepted for use as the
  2333. //  last-known-good control set.
  2334. //
  2335. #define ERROR_BOOT_ALREADY_ACCEPTED      1076L
  2336.  
  2337. //
  2338. // MessageId: ERROR_SERVICE_NEVER_STARTED
  2339. //
  2340. // MessageText:
  2341. //
  2342. //  No attempts to start the service have been made since the last boot.
  2343. //
  2344. #define ERROR_SERVICE_NEVER_STARTED      1077L
  2345.  
  2346. //
  2347. // MessageId: ERROR_DUPLICATE_SERVICE_NAME
  2348. //
  2349. // MessageText:
  2350. //
  2351. //  The name is already in use as either a service name or a service display
  2352. //  name.
  2353. //
  2354. #define ERROR_DUPLICATE_SERVICE_NAME     1078L
  2355.  
  2356. //
  2357. // MessageId: ERROR_DIFFERENT_SERVICE_ACCOUNT
  2358. //
  2359. // MessageText:
  2360. //
  2361. //  The account specified for this service is different from the account
  2362. //  specified for other services running in the same process.
  2363. //
  2364. #define ERROR_DIFFERENT_SERVICE_ACCOUNT  1079L
  2365.  
  2366. //
  2367. // MessageId: ERROR_END_OF_MEDIA
  2368. //
  2369. // MessageText:
  2370. //
  2371. //  The physical end of the tape has been reached.
  2372. //
  2373. #define ERROR_END_OF_MEDIA               1100L
  2374.  
  2375. //
  2376. // MessageId: ERROR_FILEMARK_DETECTED
  2377. //
  2378. // MessageText:
  2379. //
  2380. //  A tape access reached a filemark.
  2381. //
  2382. #define ERROR_FILEMARK_DETECTED          1101L
  2383.  
  2384. //
  2385. // MessageId: ERROR_BEGINNING_OF_MEDIA
  2386. //
  2387. // MessageText:
  2388. //
  2389. //  Beginning of tape or partition was encountered.
  2390. //
  2391. #define ERROR_BEGINNING_OF_MEDIA         1102L
  2392.  
  2393. //
  2394. // MessageId: ERROR_SETMARK_DETECTED
  2395. //
  2396. // MessageText:
  2397. //
  2398. //  A tape access reached the end of a set of files.
  2399. //
  2400. #define ERROR_SETMARK_DETECTED           1103L
  2401.  
  2402. //
  2403. // MessageId: ERROR_NO_DATA_DETECTED
  2404. //
  2405. // MessageText:
  2406. //
  2407. //  No more data is on the tape.
  2408. //
  2409. #define ERROR_NO_DATA_DETECTED           1104L
  2410.  
  2411. //
  2412. // MessageId: ERROR_PARTITION_FAILURE
  2413. //
  2414. // MessageText:
  2415. //
  2416. //  Tape could not be partitioned.
  2417. //
  2418. #define ERROR_PARTITION_FAILURE          1105L
  2419.  
  2420. //
  2421. // MessageId: ERROR_INVALID_BLOCK_LENGTH
  2422. //
  2423. // MessageText:
  2424. //
  2425. //  When accessing a new tape of a multivolume partition, the current
  2426. //  blocksize is incorrect.
  2427. //
  2428. #define ERROR_INVALID_BLOCK_LENGTH       1106L
  2429.  
  2430. //
  2431. // MessageId: ERROR_DEVICE_NOT_PARTITIONED
  2432. //
  2433. // MessageText:
  2434. //
  2435. //  Tape partition information could not be found when loading a tape.
  2436. //
  2437. #define ERROR_DEVICE_NOT_PARTITIONED     1107L
  2438.  
  2439. //
  2440. // MessageId: ERROR_UNABLE_TO_LOCK_MEDIA
  2441. //
  2442. // MessageText:
  2443. //
  2444. //  Unable to lock the media eject mechanism.
  2445. //
  2446. #define ERROR_UNABLE_TO_LOCK_MEDIA       1108L
  2447.  
  2448. //
  2449. // MessageId: ERROR_UNABLE_TO_UNLOAD_MEDIA
  2450. //
  2451. // MessageText:
  2452. //
  2453. //  Unable to unload the media.
  2454. //
  2455. #define ERROR_UNABLE_TO_UNLOAD_MEDIA     1109L
  2456.  
  2457. //
  2458. // MessageId: ERROR_MEDIA_CHANGED
  2459. //
  2460. // MessageText:
  2461. //
  2462. //  Media in drive may have changed.
  2463. //
  2464. #define ERROR_MEDIA_CHANGED              1110L
  2465.  
  2466. //
  2467. // MessageId: ERROR_BUS_RESET
  2468. //
  2469. // MessageText:
  2470. //
  2471. //  The I/O bus was reset.
  2472. //
  2473. #define ERROR_BUS_RESET                  1111L
  2474.  
  2475. //
  2476. // MessageId: ERROR_NO_MEDIA_IN_DRIVE
  2477. //
  2478. // MessageText:
  2479. //
  2480. //  No media in drive.
  2481. //
  2482. #define ERROR_NO_MEDIA_IN_DRIVE          1112L
  2483.  
  2484. //
  2485. // MessageId: ERROR_NO_UNICODE_TRANSLATION
  2486. //
  2487. // MessageText:
  2488. //
  2489. //  No mapping for the Unicode character exists in the target multi-byte code page.
  2490. //
  2491. #define ERROR_NO_UNICODE_TRANSLATION     1113L
  2492.  
  2493. //
  2494. // MessageId: ERROR_DLL_INIT_FAILED
  2495. //
  2496. // MessageText:
  2497. //
  2498. //  A dynamic link library (DLL) initialization routine failed.
  2499. //
  2500. #define ERROR_DLL_INIT_FAILED            1114L
  2501.  
  2502. //
  2503. // MessageId: ERROR_SHUTDOWN_IN_PROGRESS
  2504. //
  2505. // MessageText:
  2506. //
  2507. //  A system shutdown is in progress.
  2508. //
  2509. #define ERROR_SHUTDOWN_IN_PROGRESS       1115L
  2510.  
  2511. //
  2512. // MessageId: ERROR_NO_SHUTDOWN_IN_PROGRESS
  2513. //
  2514. // MessageText:
  2515. //
  2516. //  Unable to abort the system shutdown because no shutdown was in progress.
  2517. //
  2518. #define ERROR_NO_SHUTDOWN_IN_PROGRESS    1116L
  2519.  
  2520. //
  2521. // MessageId: ERROR_IO_DEVICE
  2522. //
  2523. // MessageText:
  2524. //
  2525. //  The request could not be performed because of an I/O device error.
  2526. //
  2527. #define ERROR_IO_DEVICE                  1117L
  2528.  
  2529. //
  2530. // MessageId: ERROR_SERIAL_NO_DEVICE
  2531. //
  2532. // MessageText:
  2533. //
  2534. //  No serial device was successfully initialized.  The serial driver will unload.
  2535. //
  2536. #define ERROR_SERIAL_NO_DEVICE           1118L
  2537.  
  2538. //
  2539. // MessageId: ERROR_IRQ_BUSY
  2540. //
  2541. // MessageText:
  2542. //
  2543. //  Unable to open a device that was sharing an interrupt request (IRQ)
  2544. //  with other devices. At least one other device that uses that IRQ
  2545. //  was already opened.
  2546. //
  2547. #define ERROR_IRQ_BUSY                   1119L
  2548.  
  2549. //
  2550. // MessageId: ERROR_MORE_WRITES
  2551. //
  2552. // MessageText:
  2553. //
  2554. //  A serial I/O operation was completed by another write to the serial port.
  2555. //  (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
  2556. //
  2557. #define ERROR_MORE_WRITES                1120L
  2558.  
  2559. //
  2560. // MessageId: ERROR_COUNTER_TIMEOUT
  2561. //
  2562. // MessageText:
  2563. //
  2564. //  A serial I/O operation completed because the time-out period expired.
  2565. //  (The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
  2566. //
  2567. #define ERROR_COUNTER_TIMEOUT            1121L
  2568.  
  2569. //
  2570. // MessageId: ERROR_FLOPPY_ID_MARK_NOT_FOUND
  2571. //
  2572. // MessageText:
  2573. //
  2574. //  No ID address mark was found on the floppy disk.
  2575. //
  2576. #define ERROR_FLOPPY_ID_MARK_NOT_FOUND   1122L
  2577.  
  2578. //
  2579. // MessageId: ERROR_FLOPPY_WRONG_CYLINDER
  2580. //
  2581. // MessageText:
  2582. //
  2583. //  Mismatch between the floppy disk sector ID field and the floppy disk
  2584. //  controller track address.
  2585. //
  2586. #define ERROR_FLOPPY_WRONG_CYLINDER      1123L
  2587.  
  2588. //
  2589. // MessageId: ERROR_FLOPPY_UNKNOWN_ERROR
  2590. //
  2591. // MessageText:
  2592. //
  2593. //  The floppy disk controller reported an error that is not recognized
  2594. //  by the floppy disk driver.
  2595. //
  2596. #define ERROR_FLOPPY_UNKNOWN_ERROR       1124L
  2597.  
  2598. //
  2599. // MessageId: ERROR_FLOPPY_BAD_REGISTERS
  2600. //
  2601. // MessageText:
  2602. //
  2603. //  The floppy disk controller returned inconsistent results in its registers.
  2604. //
  2605. #define ERROR_FLOPPY_BAD_REGISTERS       1125L
  2606.  
  2607. //
  2608. // MessageId: ERROR_DISK_RECALIBRATE_FAILED
  2609. //
  2610. // MessageText:
  2611. //
  2612. //  While accessing the hard disk, a recalibrate operation failed, even after retries.
  2613. //
  2614. #define ERROR_DISK_RECALIBRATE_FAILED    1126L
  2615.  
  2616. //
  2617. // MessageId: ERROR_DISK_OPERATION_FAILED
  2618. //
  2619. // MessageText:
  2620. //
  2621. //  While accessing the hard disk, a disk operation failed even after retries.
  2622. //
  2623. #define ERROR_DISK_OPERATION_FAILED      1127L
  2624.  
  2625. //
  2626. // MessageId: ERROR_DISK_RESET_FAILED
  2627. //
  2628. // MessageText:
  2629. //
  2630. //  While accessing the hard disk, a disk controller reset was needed, but
  2631. //  even that failed.
  2632. //
  2633. #define ERROR_DISK_RESET_FAILED          1128L
  2634.  
  2635. //
  2636. // MessageId: ERROR_EOM_OVERFLOW
  2637. //
  2638. // MessageText:
  2639. //
  2640. //  Physical end of tape encountered.
  2641. //
  2642. #define ERROR_EOM_OVERFLOW               1129L
  2643.  
  2644. //
  2645. // MessageId: ERROR_NOT_ENOUGH_SERVER_MEMORY
  2646. //
  2647. // MessageText:
  2648. //
  2649. //  Not enough server storage is available to process this command.
  2650. //
  2651. #define ERROR_NOT_ENOUGH_SERVER_MEMORY   1130L
  2652.  
  2653. //
  2654. // MessageId: ERROR_POSSIBLE_DEADLOCK
  2655. //
  2656. // MessageText:
  2657. //
  2658. //  A potential deadlock condition has been detected.
  2659. //
  2660. #define ERROR_POSSIBLE_DEADLOCK          1131L
  2661.  
  2662. //
  2663. // MessageId: ERROR_MAPPED_ALIGNMENT
  2664. //
  2665. // MessageText:
  2666. //
  2667. //  The base address or the file offset specified does not have the proper
  2668. //  alignment.
  2669. //
  2670. #define ERROR_MAPPED_ALIGNMENT           1132L
  2671.  
  2672. //
  2673. // MessageId: ERROR_SET_POWER_STATE_VETOED
  2674. //
  2675. // MessageText:
  2676. //
  2677. //  An attempt to change the system power state was vetoed by another
  2678. //  application or driver.
  2679. //
  2680. #define ERROR_SET_POWER_STATE_VETOED     1140L
  2681.  
  2682. //
  2683. // MessageId: ERROR_SET_POWER_STATE_FAILED
  2684. //
  2685. // MessageText:
  2686. //
  2687. //  The system BIOS failed an attempt to change the system power state.
  2688. //
  2689. #define ERROR_SET_POWER_STATE_FAILED     1141L
  2690.  
  2691. //
  2692. // MessageId: ERROR_TOO_MANY_LINKS
  2693. //
  2694. // MessageText:
  2695. //
  2696. //  An attempt was made to create more links on a file than
  2697. //  the file system supports.
  2698. //
  2699. #define ERROR_TOO_MANY_LINKS             1142L
  2700.  
  2701. //
  2702. // MessageId: ERROR_OLD_WIN_VERSION
  2703. //
  2704. // MessageText:
  2705. //
  2706. //  The specified program requires a newer version of Windows.
  2707. //
  2708. #define ERROR_OLD_WIN_VERSION            1150L
  2709.  
  2710. //
  2711. // MessageId: ERROR_APP_WRONG_OS
  2712. //
  2713. // MessageText:
  2714. //
  2715. //  The specified program is not a Windows or MS-DOS program.
  2716. //
  2717. #define ERROR_APP_WRONG_OS               1151L
  2718.  
  2719. //
  2720. // MessageId: ERROR_SINGLE_INSTANCE_APP
  2721. //
  2722. // MessageText:
  2723. //
  2724. //  Cannot start more than one instance of the specified program.
  2725. //
  2726. #define ERROR_SINGLE_INSTANCE_APP        1152L
  2727.  
  2728. //
  2729. // MessageId: ERROR_RMODE_APP
  2730. //
  2731. // MessageText:
  2732. //
  2733. //  The specified program was written for an older version of Windows.
  2734. //
  2735. #define ERROR_RMODE_APP                  1153L
  2736.  
  2737. //
  2738. // MessageId: ERROR_INVALID_DLL
  2739. //
  2740. // MessageText:
  2741. //
  2742. //  One of the library files needed to run this application is damaged.
  2743. //
  2744. #define ERROR_INVALID_DLL                1154L
  2745.  
  2746. //
  2747. // MessageId: ERROR_NO_ASSOCIATION
  2748. //
  2749. // MessageText:
  2750. //
  2751. //  No application is associated with the specified file for this operation.
  2752. //
  2753. #define ERROR_NO_ASSOCIATION             1155L
  2754.  
  2755. //
  2756. // MessageId: ERROR_DDE_FAIL
  2757. //
  2758. // MessageText:
  2759. //
  2760. //  An error occurred in sending the command to the application.
  2761. //
  2762. #define ERROR_DDE_FAIL                   1156L
  2763.  
  2764. //
  2765. // MessageId: ERROR_DLL_NOT_FOUND
  2766. //
  2767. // MessageText:
  2768. //
  2769. //  One of the library files needed to run this application cannot be found.
  2770. //
  2771. #define ERROR_DLL_NOT_FOUND              1157L
  2772.  
  2773.  
  2774.  
  2775.  
  2776. ///////////////////////////
  2777. //                       //
  2778. // Winnet32 Status Codes //
  2779. //                       //
  2780. ///////////////////////////
  2781.  
  2782.  
  2783. //
  2784. // MessageId: ERROR_BAD_USERNAME
  2785. //
  2786. // MessageText:
  2787. //
  2788. //  The specified username is invalid.
  2789. //
  2790. #define ERROR_BAD_USERNAME               2202L
  2791.  
  2792. //
  2793. // MessageId: ERROR_NOT_CONNECTED
  2794. //
  2795. // MessageText:
  2796. //
  2797. //  This network connection does not exist.
  2798. //
  2799. #define ERROR_NOT_CONNECTED              2250L
  2800.  
  2801. //
  2802. // MessageId: ERROR_OPEN_FILES
  2803. //
  2804. // MessageText:
  2805. //
  2806. //  This network connection has files open or requests pending.
  2807. //
  2808. #define ERROR_OPEN_FILES                 2401L
  2809.  
  2810. //
  2811. // MessageId: ERROR_ACTIVE_CONNECTIONS
  2812. //
  2813. // MessageText:
  2814. //
  2815. //  Active connections still exist.
  2816. //
  2817. #define ERROR_ACTIVE_CONNECTIONS         2402L
  2818.  
  2819. //
  2820. // MessageId: ERROR_DEVICE_IN_USE
  2821. //
  2822. // MessageText:
  2823. //
  2824. //  The device is in use by an active process and cannot be disconnected.
  2825. //
  2826. #define ERROR_DEVICE_IN_USE              2404L
  2827.  
  2828. //
  2829. // MessageId: ERROR_BAD_DEVICE
  2830. //
  2831. // MessageText:
  2832. //
  2833. //  The specified device name is invalid.
  2834. //
  2835. #define ERROR_BAD_DEVICE                 1200L
  2836.  
  2837. //
  2838. // MessageId: ERROR_CONNECTION_UNAVAIL
  2839. //
  2840. // MessageText:
  2841. //
  2842. //  The device is not currently connected but it is a remembered connection.
  2843. //
  2844. #define ERROR_CONNECTION_UNAVAIL         1201L
  2845.  
  2846. //
  2847. // MessageId: ERROR_DEVICE_ALREADY_REMEMBERED
  2848. //
  2849. // MessageText:
  2850. //
  2851. //  An attempt was made to remember a device that had previously been remembered.
  2852. //
  2853. #define ERROR_DEVICE_ALREADY_REMEMBERED  1202L
  2854.  
  2855. //
  2856. // MessageId: ERROR_NO_NET_OR_BAD_PATH
  2857. //
  2858. // MessageText:
  2859. //
  2860. //  No network provider accepted the given network path.
  2861. //
  2862. #define ERROR_NO_NET_OR_BAD_PATH         1203L
  2863.  
  2864. //
  2865. // MessageId: ERROR_BAD_PROVIDER
  2866. //
  2867. // MessageText:
  2868. //
  2869. //  The specified network provider name is invalid.
  2870. //
  2871. #define ERROR_BAD_PROVIDER               1204L
  2872.  
  2873. //
  2874. // MessageId: ERROR_CANNOT_OPEN_PROFILE
  2875. //
  2876. // MessageText:
  2877. //
  2878. //  Unable to open the network connection profile.
  2879. //
  2880. #define ERROR_CANNOT_OPEN_PROFILE        1205L
  2881.  
  2882. //
  2883. // MessageId: ERROR_BAD_PROFILE
  2884. //
  2885. // MessageText:
  2886. //
  2887. //  The network connection profile is corrupt.
  2888. //
  2889. #define ERROR_BAD_PROFILE                1206L
  2890.  
  2891. //
  2892. // MessageId: ERROR_NOT_CONTAINER
  2893. //
  2894. // MessageText:
  2895. //
  2896. //  Cannot enumerate a non-container.
  2897. //
  2898. #define ERROR_NOT_CONTAINER              1207L
  2899.  
  2900. //
  2901. // MessageId: ERROR_EXTENDED_ERROR
  2902. //
  2903. // MessageText:
  2904. //
  2905. //  An extended error has occurred.
  2906. //
  2907. #define ERROR_EXTENDED_ERROR             1208L
  2908.  
  2909. //
  2910. // MessageId: ERROR_INVALID_GROUPNAME
  2911. //
  2912. // MessageText:
  2913. //
  2914. //  The format of the specified group name is invalid.
  2915. //
  2916. #define ERROR_INVALID_GROUPNAME          1209L
  2917.  
  2918. //
  2919. // MessageId: ERROR_INVALID_COMPUTERNAME
  2920. //
  2921. // MessageText:
  2922. //
  2923. //  The format of the specified computer name is invalid.
  2924. //
  2925. #define ERROR_INVALID_COMPUTERNAME       1210L
  2926.  
  2927. //
  2928. // MessageId: ERROR_INVALID_EVENTNAME
  2929. //
  2930. // MessageText:
  2931. //
  2932. //  The format of the specified event name is invalid.
  2933. //
  2934. #define ERROR_INVALID_EVENTNAME          1211L
  2935.  
  2936. //
  2937. // MessageId: ERROR_INVALID_DOMAINNAME
  2938. //
  2939. // MessageText:
  2940. //
  2941. //  The format of the specified domain name is invalid.
  2942. //
  2943. #define ERROR_INVALID_DOMAINNAME         1212L
  2944.  
  2945. //
  2946. // MessageId: ERROR_INVALID_SERVICENAME
  2947. //
  2948. // MessageText:
  2949. //
  2950. //  The format of the specified service name is invalid.
  2951. //
  2952. #define ERROR_INVALID_SERVICENAME        1213L
  2953.  
  2954. //
  2955. // MessageId: ERROR_INVALID_NETNAME
  2956. //
  2957. // MessageText:
  2958. //
  2959. //  The format of the specified network name is invalid.
  2960. //
  2961. #define ERROR_INVALID_NETNAME            1214L
  2962.  
  2963. //
  2964. // MessageId: ERROR_INVALID_SHARENAME
  2965. //
  2966. // MessageText:
  2967. //
  2968. //  The format of the specified share name is invalid.
  2969. //
  2970. #define ERROR_INVALID_SHARENAME          1215L
  2971.  
  2972. //
  2973. // MessageId: ERROR_INVALID_PASSWORDNAME
  2974. //
  2975. // MessageText:
  2976. //
  2977. //  The format of the specified password is invalid.
  2978. //
  2979. #define ERROR_INVALID_PASSWORDNAME       1216L
  2980.  
  2981. //
  2982. // MessageId: ERROR_INVALID_MESSAGENAME
  2983. //
  2984. // MessageText:
  2985. //
  2986. //  The format of the specified message name is invalid.
  2987. //
  2988. #define ERROR_INVALID_MESSAGENAME        1217L
  2989.  
  2990. //
  2991. // MessageId: ERROR_INVALID_MESSAGEDEST
  2992. //
  2993. // MessageText:
  2994. //
  2995. //  The format of the specified message destination is invalid.
  2996. //
  2997. #define ERROR_INVALID_MESSAGEDEST        1218L
  2998.  
  2999. //
  3000. // MessageId: ERROR_SESSION_CREDENTIAL_CONFLICT
  3001. //
  3002. // MessageText:
  3003. //
  3004. //  The credentials supplied conflict with an existing set of credentials.
  3005. //
  3006. #define ERROR_SESSION_CREDENTIAL_CONFLICT 1219L
  3007.  
  3008. //
  3009. // MessageId: ERROR_REMOTE_SESSION_LIMIT_EXCEEDED
  3010. //
  3011. // MessageText:
  3012. //
  3013. //  An attempt was made to establish a session to a network server, but there
  3014. //  are already too many sessions established to that server.
  3015. //
  3016. #define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 1220L
  3017.  
  3018. //
  3019. // MessageId: ERROR_DUP_DOMAINNAME
  3020. //
  3021. // MessageText:
  3022. //
  3023. //  The workgroup or domain name is already in use by another computer on the
  3024. //  network.
  3025. //
  3026. #define ERROR_DUP_DOMAINNAME             1221L
  3027.  
  3028. //
  3029. // MessageId: ERROR_NO_NETWORK
  3030. //
  3031. // MessageText:
  3032. //
  3033. //  The network is not present or not started.
  3034. //
  3035. #define ERROR_NO_NETWORK                 1222L
  3036.  
  3037. //
  3038. // MessageId: ERROR_CANCELLED
  3039. //
  3040. // MessageText:
  3041. //
  3042. //  The operation was cancelled by the user.
  3043. //
  3044. #define ERROR_CANCELLED                  1223L
  3045.  
  3046. //
  3047. // MessageId: ERROR_USER_MAPPED_FILE
  3048. //
  3049. // MessageText:
  3050. //
  3051. //  The requested operation cannot be performed on a file with a user mapped section open.
  3052. //
  3053. #define ERROR_USER_MAPPED_FILE           1224L
  3054.  
  3055. //
  3056. // MessageId: ERROR_CONNECTION_REFUSED
  3057. //
  3058. // MessageText:
  3059. //
  3060. //  The remote system refused the network connection.
  3061. //
  3062. #define ERROR_CONNECTION_REFUSED         1225L
  3063.  
  3064. //
  3065. // MessageId: ERROR_GRACEFUL_DISCONNECT
  3066. //
  3067. // MessageText:
  3068. //
  3069. //  The network connection was gracefully closed.
  3070. //
  3071. #define ERROR_GRACEFUL_DISCONNECT        1226L
  3072.  
  3073. //
  3074. // MessageId: ERROR_ADDRESS_ALREADY_ASSOCIATED
  3075. //
  3076. // MessageText:
  3077. //
  3078. //  The network transport endpoint already has an address associated with it.
  3079. //
  3080. #define ERROR_ADDRESS_ALREADY_ASSOCIATED 1227L
  3081.  
  3082. //
  3083. // MessageId: ERROR_ADDRESS_NOT_ASSOCIATED
  3084. //
  3085. // MessageText:
  3086. //
  3087. //  An address has not yet been associated with the network endpoint.
  3088. //
  3089. #define ERROR_ADDRESS_NOT_ASSOCIATED     1228L
  3090.  
  3091. //
  3092. // MessageId: ERROR_CONNECTION_INVALID
  3093. //
  3094. // MessageText:
  3095. //
  3096. //  An operation was attempted on a non-existent network connection.
  3097. //
  3098. #define ERROR_CONNECTION_INVALID         1229L
  3099.  
  3100. //
  3101. // MessageId: ERROR_CONNECTION_ACTIVE
  3102. //
  3103. // MessageText:
  3104. //
  3105. //  An invalid operation was attempted on an active network connection.
  3106. //
  3107. #define ERROR_CONNECTION_ACTIVE          1230L
  3108.  
  3109. //
  3110. // MessageId: ERROR_NETWORK_UNREACHABLE
  3111. //
  3112. // MessageText:
  3113. //
  3114. //  The remote network is not reachable by the transport.
  3115. //
  3116. #define ERROR_NETWORK_UNREACHABLE        1231L
  3117.  
  3118. //
  3119. // MessageId: ERROR_HOST_UNREACHABLE
  3120. //
  3121. // MessageText:
  3122. //
  3123. //  The remote system is not reachable by the transport.
  3124. //
  3125. #define ERROR_HOST_UNREACHABLE           1232L
  3126.  
  3127. //
  3128. // MessageId: ERROR_PROTOCOL_UNREACHABLE
  3129. //
  3130. // MessageText:
  3131. //
  3132. //  The remote system does not support the transport protocol.
  3133. //
  3134. #define ERROR_PROTOCOL_UNREACHABLE       1233L
  3135.  
  3136. //
  3137. // MessageId: ERROR_PORT_UNREACHABLE
  3138. //
  3139. // MessageText:
  3140. //
  3141. //  No service is operating at the destination network endpoint
  3142. //  on the remote system.
  3143. //
  3144. #define ERROR_PORT_UNREACHABLE           1234L
  3145.  
  3146. //
  3147. // MessageId: ERROR_REQUEST_ABORTED
  3148. //
  3149. // MessageText:
  3150. //
  3151. //  The request was aborted.
  3152. //
  3153. #define ERROR_REQUEST_ABORTED            1235L
  3154.  
  3155. //
  3156. // MessageId: ERROR_CONNECTION_ABORTED
  3157. //
  3158. // MessageText:
  3159. //
  3160. //  The network connection was aborted by the local system.
  3161. //
  3162. #define ERROR_CONNECTION_ABORTED         1236L
  3163.  
  3164. //
  3165. // MessageId: ERROR_RETRY
  3166. //
  3167. // MessageText:
  3168. //
  3169. //  The operation could not be completed.  A retry should be performed.
  3170. //
  3171. #define ERROR_RETRY                      1237L
  3172.  
  3173. //
  3174. // MessageId: ERROR_CONNECTION_COUNT_LIMIT
  3175. //
  3176. // MessageText:
  3177. //
  3178. //  A connection to the server could not be made because the limit on the number of
  3179. //  concurrent connections for this account has been reached.
  3180. //
  3181. #define ERROR_CONNECTION_COUNT_LIMIT     1238L
  3182.  
  3183. //
  3184. // MessageId: ERROR_LOGIN_TIME_RESTRICTION
  3185. //
  3186. // MessageText:
  3187. //
  3188. //  Attempting to login during an unauthorized time of day for this account.
  3189. //
  3190. #define ERROR_LOGIN_TIME_RESTRICTION     1239L
  3191.  
  3192. //
  3193. // MessageId: ERROR_LOGIN_WKSTA_RESTRICTION
  3194. //
  3195. // MessageText:
  3196. //
  3197. //  The account is not authorized to login from this station.
  3198. //
  3199. #define ERROR_LOGIN_WKSTA_RESTRICTION    1240L
  3200.  
  3201. //
  3202. // MessageId: ERROR_INCORRECT_ADDRESS
  3203. //
  3204. // MessageText:
  3205. //
  3206. //  The network address could not be used for the operation requested.
  3207. //
  3208. #define ERROR_INCORRECT_ADDRESS          1241L
  3209.  
  3210. //
  3211. // MessageId: ERROR_ALREADY_REGISTERED
  3212. //
  3213. // MessageText:
  3214. //
  3215. //  The service is already registered.
  3216. //
  3217. #define ERROR_ALREADY_REGISTERED         1242L
  3218.  
  3219. //
  3220. // MessageId: ERROR_SERVICE_NOT_FOUND
  3221. //
  3222. // MessageText:
  3223. //
  3224. //  The specified service does not exist.
  3225. //
  3226. #define ERROR_SERVICE_NOT_FOUND          1243L
  3227.  
  3228. //
  3229. // MessageId: ERROR_NOT_AUTHENTICATED
  3230. //
  3231. // MessageText:
  3232. //
  3233. //  The operation being requested was not performed because the user
  3234. //  has not been authenticated.
  3235. //
  3236. #define ERROR_NOT_AUTHENTICATED          1244L
  3237.  
  3238. //
  3239. // MessageId: ERROR_NOT_LOGGED_ON
  3240. //
  3241. // MessageText:
  3242. //
  3243. //  The operation being requested was not performed because the user
  3244. //  has not logged on to the network.
  3245. //  The specified service does not exist.
  3246. //
  3247. #define ERROR_NOT_LOGGED_ON              1245L
  3248.  
  3249. //
  3250. // MessageId: ERROR_CONTINUE
  3251. //
  3252. // MessageText:
  3253. //
  3254. //  Return that wants caller to continue with work in progress.
  3255. //
  3256. #define ERROR_CONTINUE                   1246L
  3257.  
  3258. //
  3259. // MessageId: ERROR_ALREADY_INITIALIZED
  3260. //
  3261. // MessageText:
  3262. //
  3263. //  An attempt was made to perform an initialization operation when
  3264. //  initialization has already been completed.
  3265. //
  3266. #define ERROR_ALREADY_INITIALIZED        1247L
  3267.  
  3268. //
  3269. // MessageId: ERROR_NO_MORE_DEVICES
  3270. //
  3271. // MessageText:
  3272. //
  3273. //  No more local devices.
  3274. //
  3275. #define ERROR_NO_MORE_DEVICES            1248L
  3276.  
  3277.  
  3278.  
  3279.  
  3280. ///////////////////////////
  3281. //                       //
  3282. // Security Status Codes //
  3283. //                       //
  3284. ///////////////////////////
  3285.  
  3286.  
  3287. //
  3288. // MessageId: ERROR_NOT_ALL_ASSIGNED
  3289. //
  3290. // MessageText:
  3291. //
  3292. //  Not all privileges referenced are assigned to the caller.
  3293. //
  3294. #define ERROR_NOT_ALL_ASSIGNED           1300L
  3295.  
  3296. //
  3297. // MessageId: ERROR_SOME_NOT_MAPPED
  3298. //
  3299. // MessageText:
  3300. //
  3301. //  Some mapping between account names and security IDs was not done.
  3302. //
  3303. #define ERROR_SOME_NOT_MAPPED            1301L
  3304.  
  3305. //
  3306. // MessageId: ERROR_NO_QUOTAS_FOR_ACCOUNT
  3307. //
  3308. // MessageText:
  3309. //
  3310. //  No system quota limits are specifically set for this account.
  3311. //
  3312. #define ERROR_NO_QUOTAS_FOR_ACCOUNT      1302L
  3313.  
  3314. //
  3315. // MessageId: ERROR_LOCAL_USER_SESSION_KEY
  3316. //
  3317. // MessageText:
  3318. //
  3319. //  No encryption key is available.  A well-known encryption key was returned.
  3320. //
  3321. #define ERROR_LOCAL_USER_SESSION_KEY     1303L
  3322.  
  3323. //
  3324. // MessageId: ERROR_NULL_LM_PASSWORD
  3325. //
  3326. // MessageText:
  3327. //
  3328. //  The NT password is too complex to be converted to a LAN Manager
  3329. //  password.  The LAN Manager password returned is a NULL string.
  3330. //
  3331. #define ERROR_NULL_LM_PASSWORD           1304L
  3332.  
  3333. //
  3334. // MessageId: ERROR_UNKNOWN_REVISION
  3335. //
  3336. // MessageText:
  3337. //
  3338. //  The revision level is unknown.
  3339. //
  3340. #define ERROR_UNKNOWN_REVISION           1305L
  3341.  
  3342. //
  3343. // MessageId: ERROR_REVISION_MISMATCH
  3344. //
  3345. // MessageText:
  3346. //
  3347. //  Indicates two revision levels are incompatible.
  3348. //
  3349. #define ERROR_REVISION_MISMATCH          1306L
  3350.  
  3351. //
  3352. // MessageId: ERROR_INVALID_OWNER
  3353. //
  3354. // MessageText:
  3355. //
  3356. //  This security ID may not be assigned as the owner of this object.
  3357. //
  3358. #define ERROR_INVALID_OWNER              1307L
  3359.  
  3360. //
  3361. // MessageId: ERROR_INVALID_PRIMARY_GROUP
  3362. //
  3363. // MessageText:
  3364. //
  3365. //  This security ID may not be assigned as the primary group of an object.
  3366. //
  3367. #define ERROR_INVALID_PRIMARY_GROUP      1308L
  3368.  
  3369. //
  3370. // MessageId: ERROR_NO_IMPERSONATION_TOKEN
  3371. //
  3372. // MessageText:
  3373. //
  3374. //  An attempt has been made to operate on an impersonation token
  3375. //  by a thread that is not currently impersonating a client.
  3376. //
  3377. #define ERROR_NO_IMPERSONATION_TOKEN     1309L
  3378.  
  3379. //
  3380. // MessageId: ERROR_CANT_DISABLE_MANDATORY
  3381. //
  3382. // MessageText:
  3383. //
  3384. //  The group may not be disabled.
  3385. //
  3386. #define ERROR_CANT_DISABLE_MANDATORY     1310L
  3387.  
  3388. //
  3389. // MessageId: ERROR_NO_LOGON_SERVERS
  3390. //
  3391. // MessageText:
  3392. //
  3393. //  There are currently no logon servers available to service the logon
  3394. //  request.
  3395. //
  3396. #define ERROR_NO_LOGON_SERVERS           1311L
  3397.  
  3398. //
  3399. // MessageId: ERROR_NO_SUCH_LOGON_SESSION
  3400. //
  3401. // MessageText:
  3402. //
  3403. //   A specified logon session does not exist.  It may already have
  3404. //   been terminated.
  3405. //
  3406. #define ERROR_NO_SUCH_LOGON_SESSION      1312L
  3407.  
  3408. //
  3409. // MessageId: ERROR_NO_SUCH_PRIVILEGE
  3410. //
  3411. // MessageText:
  3412. //
  3413. //   A specified privilege does not exist.
  3414. //
  3415. #define ERROR_NO_SUCH_PRIVILEGE          1313L
  3416.  
  3417. //
  3418. // MessageId: ERROR_PRIVILEGE_NOT_HELD
  3419. //
  3420. // MessageText:
  3421. //
  3422. //   A required privilege is not held by the client.
  3423. //
  3424. #define ERROR_PRIVILEGE_NOT_HELD         1314L
  3425.  
  3426. //
  3427. // MessageId: ERROR_INVALID_ACCOUNT_NAME
  3428. //
  3429. // MessageText:
  3430. //
  3431. //  The name provided is not a properly formed account name.
  3432. //
  3433. #define ERROR_INVALID_ACCOUNT_NAME       1315L
  3434.  
  3435. //
  3436. // MessageId: ERROR_USER_EXISTS
  3437. //
  3438. // MessageText:
  3439. //
  3440. //  The specified user already exists.
  3441. //
  3442. #define ERROR_USER_EXISTS                1316L
  3443.  
  3444. //
  3445. // MessageId: ERROR_NO_SUCH_USER
  3446. //
  3447. // MessageText:
  3448. //
  3449. //  The specified user does not exist.
  3450. //
  3451. #define ERROR_NO_SUCH_USER               1317L
  3452.  
  3453. //
  3454. // MessageId: ERROR_GROUP_EXISTS
  3455. //
  3456. // MessageText:
  3457. //
  3458. //  The specified group already exists.
  3459. //
  3460. #define ERROR_GROUP_EXISTS               1318L
  3461.  
  3462. //
  3463. // MessageId: ERROR_NO_SUCH_GROUP
  3464. //
  3465. // MessageText:
  3466. //
  3467. //  The specified group does not exist.
  3468. //
  3469. #define ERROR_NO_SUCH_GROUP              1319L
  3470.  
  3471. //
  3472. // MessageId: ERROR_MEMBER_IN_GROUP
  3473. //
  3474. // MessageText:
  3475. //
  3476. //  Either the specified user account is already a member of the specified
  3477. //  group, or the specified group cannot be deleted because it contains
  3478. //  a member.
  3479. //
  3480. #define ERROR_MEMBER_IN_GROUP            1320L
  3481.  
  3482. //
  3483. // MessageId: ERROR_MEMBER_NOT_IN_GROUP
  3484. //
  3485. // MessageText:
  3486. //
  3487. //  The specified user account is not a member of the specified group account.
  3488. //
  3489. #define ERROR_MEMBER_NOT_IN_GROUP        1321L
  3490.  
  3491. //
  3492. // MessageId: ERROR_LAST_ADMIN
  3493. //
  3494. // MessageText:
  3495. //
  3496. //  The last remaining administration account cannot be disabled
  3497. //  or deleted.
  3498. //
  3499. #define ERROR_LAST_ADMIN                 1322L
  3500.  
  3501. //
  3502. // MessageId: ERROR_WRONG_PASSWORD
  3503. //
  3504. // MessageText:
  3505. //
  3506. //  Unable to update the password.  The value provided as the current
  3507. //  password is incorrect.
  3508. //
  3509. #define ERROR_WRONG_PASSWORD             1323L
  3510.  
  3511. //
  3512. // MessageId: ERROR_ILL_FORMED_PASSWORD
  3513. //
  3514. // MessageText:
  3515. //
  3516. //  Unable to update the password.  The value provided for the new password
  3517. //  contains values that are not allowed in passwords.
  3518. //
  3519. #define ERROR_ILL_FORMED_PASSWORD        1324L
  3520.  
  3521. //
  3522. // MessageId: ERROR_PASSWORD_RESTRICTION
  3523. //
  3524. // MessageText:
  3525. //
  3526. //  Unable to update the password because a password update rule has been
  3527. //  violated.
  3528. //
  3529. #define ERROR_PASSWORD_RESTRICTION       1325L
  3530.  
  3531. //
  3532. // MessageId: ERROR_LOGON_FAILURE
  3533. //
  3534. // MessageText:
  3535. //
  3536. //  Logon failure: unknown user name or bad password.
  3537. //
  3538. #define ERROR_LOGON_FAILURE              1326L
  3539.  
  3540. //
  3541. // MessageId: ERROR_ACCOUNT_RESTRICTION
  3542. //
  3543. // MessageText:
  3544. //
  3545. //  Logon failure: user account restriction.
  3546. //
  3547. #define ERROR_ACCOUNT_RESTRICTION        1327L
  3548.  
  3549. //
  3550. // MessageId: ERROR_INVALID_LOGON_HOURS
  3551. //
  3552. // MessageText:
  3553. //
  3554. //  Logon failure: account logon time restriction violation.
  3555. //
  3556. #define ERROR_INVALID_LOGON_HOURS        1328L
  3557.  
  3558. //
  3559. // MessageId: ERROR_INVALID_WORKSTATION
  3560. //
  3561. // MessageText:
  3562. //
  3563. //  Logon failure: user not allowed to log on to this computer.
  3564. //
  3565. #define ERROR_INVALID_WORKSTATION        1329L
  3566.  
  3567. //
  3568. // MessageId: ERROR_PASSWORD_EXPIRED
  3569. //
  3570. // MessageText:
  3571. //
  3572. //  Logon failure: the specified account password has expired.
  3573. //
  3574. #define ERROR_PASSWORD_EXPIRED           1330L
  3575.  
  3576. //
  3577. // MessageId: ERROR_ACCOUNT_DISABLED
  3578. //
  3579. // MessageText:
  3580. //
  3581. //  Logon failure: account currently disabled.
  3582. //
  3583. #define ERROR_ACCOUNT_DISABLED           1331L
  3584.  
  3585. //
  3586. // MessageId: ERROR_NONE_MAPPED
  3587. //
  3588. // MessageText:
  3589. //
  3590. //  No mapping between account names and security IDs was done.
  3591. //
  3592. #define ERROR_NONE_MAPPED                1332L
  3593.  
  3594. //
  3595. // MessageId: ERROR_TOO_MANY_LUIDS_REQUESTED
  3596. //
  3597. // MessageText:
  3598. //
  3599. //  Too many local user identifiers (LUIDs) were requested at one time.
  3600. //
  3601. #define ERROR_TOO_MANY_LUIDS_REQUESTED   1333L
  3602.  
  3603. //
  3604. // MessageId: ERROR_LUIDS_EXHAUSTED
  3605. //
  3606. // MessageText:
  3607. //
  3608. //  No more local user identifiers (LUIDs) are available.
  3609. //
  3610. #define ERROR_LUIDS_EXHAUSTED            1334L
  3611.  
  3612. //
  3613. // MessageId: ERROR_INVALID_SUB_AUTHORITY
  3614. //
  3615. // MessageText:
  3616. //
  3617. //  The subauthority part of a security ID is invalid for this particular use.
  3618. //
  3619. #define ERROR_INVALID_SUB_AUTHORITY      1335L
  3620.  
  3621. //
  3622. // MessageId: ERROR_INVALID_ACL
  3623. //
  3624. // MessageText:
  3625. //
  3626. //  The access control list (ACL) structure is invalid.
  3627. //
  3628. #define ERROR_INVALID_ACL                1336L
  3629.  
  3630. //
  3631. // MessageId: ERROR_INVALID_SID
  3632. //
  3633. // MessageText:
  3634. //
  3635. //  The security ID structure is invalid.
  3636. //
  3637. #define ERROR_INVALID_SID                1337L
  3638.  
  3639. //
  3640. // MessageId: ERROR_INVALID_SECURITY_DESCR
  3641. //
  3642. // MessageText:
  3643. //
  3644. //  The security descriptor structure is invalid.
  3645. //
  3646. #define ERROR_INVALID_SECURITY_DESCR     1338L
  3647.  
  3648. //
  3649. // MessageId: ERROR_BAD_INHERITANCE_ACL
  3650. //
  3651. // MessageText:
  3652. //
  3653. //  The inherited access control list (ACL) or access control entry (ACE)
  3654. //  could not be built.
  3655. //
  3656. #define ERROR_BAD_INHERITANCE_ACL        1340L
  3657.  
  3658. //
  3659. // MessageId: ERROR_SERVER_DISABLED
  3660. //
  3661. // MessageText:
  3662. //
  3663. //  The server is currently disabled.
  3664. //
  3665. #define ERROR_SERVER_DISABLED            1341L
  3666.  
  3667. //
  3668. // MessageId: ERROR_SERVER_NOT_DISABLED
  3669. //
  3670. // MessageText:
  3671. //
  3672. //  The server is currently enabled.
  3673. //
  3674. #define ERROR_SERVER_NOT_DISABLED        1342L
  3675.  
  3676. //
  3677. // MessageId: ERROR_INVALID_ID_AUTHORITY
  3678. //
  3679. // MessageText:
  3680. //
  3681. //  The value provided was an invalid value for an identifier authority.
  3682. //
  3683. #define ERROR_INVALID_ID_AUTHORITY       1343L
  3684.  
  3685. //
  3686. // MessageId: ERROR_ALLOTTED_SPACE_EXCEEDED
  3687. //
  3688. // MessageText:
  3689. //
  3690. //  No more memory is available for security information updates.
  3691. //
  3692. #define ERROR_ALLOTTED_SPACE_EXCEEDED    1344L
  3693.  
  3694. //
  3695. // MessageId: ERROR_INVALID_GROUP_ATTRIBUTES
  3696. //
  3697. // MessageText:
  3698. //
  3699. //  The specified attributes are invalid, or incompatible with the
  3700. //  attributes for the group as a whole.
  3701. //
  3702. #define ERROR_INVALID_GROUP_ATTRIBUTES   1345L
  3703.  
  3704. //
  3705. // MessageId: ERROR_BAD_IMPERSONATION_LEVEL
  3706. //
  3707. // MessageText:
  3708. //
  3709. //  Either a required impersonation level was not provided, or the
  3710. //  provided impersonation level is invalid.
  3711. //
  3712. #define ERROR_BAD_IMPERSONATION_LEVEL    1346L
  3713.  
  3714. //
  3715. // MessageId: ERROR_CANT_OPEN_ANONYMOUS
  3716. //
  3717. // MessageText:
  3718. //
  3719. //  Cannot open an anonymous level security token.
  3720. //
  3721. #define ERROR_CANT_OPEN_ANONYMOUS        1347L
  3722.  
  3723. //
  3724. // MessageId: ERROR_BAD_VALIDATION_CLASS
  3725. //
  3726. // MessageText:
  3727. //
  3728. //  The validation information class requested was invalid.
  3729. //
  3730. #define ERROR_BAD_VALIDATION_CLASS       1348L
  3731.  
  3732. //
  3733. // MessageId: ERROR_BAD_TOKEN_TYPE
  3734. //
  3735. // MessageText:
  3736. //
  3737. //  The type of the token is inappropriate for its attempted use.
  3738. //
  3739. #define ERROR_BAD_TOKEN_TYPE             1349L
  3740.  
  3741. //
  3742. // MessageId: ERROR_NO_SECURITY_ON_OBJECT
  3743. //
  3744. // MessageText:
  3745. //
  3746. //  Unable to perform a security operation on an object
  3747. //  which has no associated security.
  3748. //
  3749. #define ERROR_NO_SECURITY_ON_OBJECT      1350L
  3750.  
  3751. //
  3752. // MessageId: ERROR_CANT_ACCESS_DOMAIN_INFO
  3753. //
  3754. // MessageText:
  3755. //
  3756. //  Indicates a Windows NT Server could not be contacted or that
  3757. //  objects within the domain are protected such that necessary
  3758. //  information could not be retrieved.
  3759. //
  3760. #define ERROR_CANT_ACCESS_DOMAIN_INFO    1351L
  3761.  
  3762. //
  3763. // MessageId: ERROR_INVALID_SERVER_STATE
  3764. //
  3765. // MessageText:
  3766. //
  3767. //  The security account manager (SAM) or local security
  3768. //  authority (LSA) server was in the wrong state to perform
  3769. //  the security operation.
  3770. //
  3771. #define ERROR_INVALID_SERVER_STATE       1352L
  3772.  
  3773. //
  3774. // MessageId: ERROR_INVALID_DOMAIN_STATE
  3775. //
  3776. // MessageText:
  3777. //
  3778. //  The domain was in the wrong state to perform the security operation.
  3779. //
  3780. #define ERROR_INVALID_DOMAIN_STATE       1353L
  3781.  
  3782. //
  3783. // MessageId: ERROR_INVALID_DOMAIN_ROLE
  3784. //
  3785. // MessageText:
  3786. //
  3787. //  This operation is only allowed for the Primary Domain Controller of the domain.
  3788. //
  3789. #define ERROR_INVALID_DOMAIN_ROLE        1354L
  3790.  
  3791. //
  3792. // MessageId: ERROR_NO_SUCH_DOMAIN
  3793. //
  3794. // MessageText:
  3795. //
  3796. //  The specified domain did not exist.
  3797. //
  3798. #define ERROR_NO_SUCH_DOMAIN             1355L
  3799.  
  3800. //
  3801. // MessageId: ERROR_DOMAIN_EXISTS
  3802. //
  3803. // MessageText:
  3804. //
  3805. //  The specified domain already exists.
  3806. //
  3807. #define ERROR_DOMAIN_EXISTS              1356L
  3808.  
  3809. //
  3810. // MessageId: ERROR_DOMAIN_LIMIT_EXCEEDED
  3811. //
  3812. // MessageText:
  3813. //
  3814. //  An attempt was made to exceed the limit on the number of domains per server.
  3815. //
  3816. #define ERROR_DOMAIN_LIMIT_EXCEEDED      1357L
  3817.  
  3818. //
  3819. // MessageId: ERROR_INTERNAL_DB_CORRUPTION
  3820. //
  3821. // MessageText:
  3822. //
  3823. //  Unable to complete the requested operation because of either a
  3824. //  catastrophic media failure or a data structure corruption on the disk.
  3825. //
  3826. #define ERROR_INTERNAL_DB_CORRUPTION     1358L
  3827.  
  3828. //
  3829. // MessageId: ERROR_INTERNAL_ERROR
  3830. //
  3831. // MessageText:
  3832. //
  3833. //  The security account database contains an internal inconsistency.
  3834. //
  3835. #define ERROR_INTERNAL_ERROR             1359L
  3836.  
  3837. //
  3838. // MessageId: ERROR_GENERIC_NOT_MAPPED
  3839. //
  3840. // MessageText:
  3841. //
  3842. //  Generic access types were contained in an access mask which should
  3843. //  already be mapped to non-generic types.
  3844. //
  3845. #define ERROR_GENERIC_NOT_MAPPED         1360L
  3846.  
  3847. //
  3848. // MessageId: ERROR_BAD_DESCRIPTOR_FORMAT
  3849. //
  3850. // MessageText:
  3851. //
  3852. //  A security descriptor is not in the right format (absolute or self-relative).
  3853. //
  3854. #define ERROR_BAD_DESCRIPTOR_FORMAT      1361L
  3855.  
  3856. //
  3857. // MessageId: ERROR_NOT_LOGON_PROCESS
  3858. //
  3859. // MessageText:
  3860. //
  3861. //  The requested action is restricted for use by logon processes
  3862. //  only.  The calling process has not registered as a logon process.
  3863. //
  3864. #define ERROR_NOT_LOGON_PROCESS          1362L
  3865.  
  3866. //
  3867. // MessageId: ERROR_LOGON_SESSION_EXISTS
  3868. //
  3869. // MessageText:
  3870. //
  3871. //  Cannot start a new logon session with an ID that is already in use.
  3872. //
  3873. #define ERROR_LOGON_SESSION_EXISTS       1363L
  3874.  
  3875. //
  3876. // MessageId: ERROR_NO_SUCH_PACKAGE
  3877. //
  3878. // MessageText:
  3879. //
  3880. //  A specified authentication package is unknown.
  3881. //
  3882. #define ERROR_NO_SUCH_PACKAGE            1364L
  3883.  
  3884. //
  3885. // MessageId: ERROR_BAD_LOGON_SESSION_STATE
  3886. //
  3887. // MessageText:
  3888. //
  3889. //  The logon session is not in a state that is consistent with the
  3890. //  requested operation.
  3891. //
  3892. #define ERROR_BAD_LOGON_SESSION_STATE    1365L
  3893.  
  3894. //
  3895. // MessageId: ERROR_LOGON_SESSION_COLLISION
  3896. //
  3897. // MessageText:
  3898. //
  3899. //  The logon session ID is already in use.
  3900. //
  3901. #define ERROR_LOGON_SESSION_COLLISION    1366L
  3902.  
  3903. //
  3904. // MessageId: ERROR_INVALID_LOGON_TYPE
  3905. //
  3906. // MessageText:
  3907. //
  3908. //  A logon request contained an invalid logon type value.
  3909. //
  3910. #define ERROR_INVALID_LOGON_TYPE         1367L
  3911.  
  3912. //
  3913. // MessageId: ERROR_CANNOT_IMPERSONATE
  3914. //
  3915. // MessageText:
  3916. //
  3917. //  Unable to impersonate via a named pipe until data has been read
  3918. //  from that pipe.
  3919. //
  3920. #define ERROR_CANNOT_IMPERSONATE         1368L
  3921.  
  3922. //
  3923. // MessageId: ERROR_RXACT_INVALID_STATE
  3924. //
  3925. // MessageText:
  3926. //
  3927. //  The transaction state of a Registry subtree is incompatible with the
  3928. //  requested operation.
  3929. //
  3930. #define ERROR_RXACT_INVALID_STATE        1369L
  3931.  
  3932. //
  3933. // MessageId: ERROR_RXACT_COMMIT_FAILURE
  3934. //
  3935. // MessageText:
  3936. //
  3937. //  An internal security database corruption has been encountered.
  3938. //
  3939. #define ERROR_RXACT_COMMIT_FAILURE       1370L
  3940.  
  3941. //
  3942. // MessageId: ERROR_SPECIAL_ACCOUNT
  3943. //
  3944. // MessageText:
  3945. //
  3946. //  Cannot perform this operation on built-in accounts.
  3947. //
  3948. #define ERROR_SPECIAL_ACCOUNT            1371L
  3949.  
  3950. //
  3951. // MessageId: ERROR_SPECIAL_GROUP
  3952. //
  3953. // MessageText:
  3954. //
  3955. //  Cannot perform this operation on this built-in special group.
  3956. //
  3957. #define ERROR_SPECIAL_GROUP              1372L
  3958.  
  3959. //
  3960. // MessageId: ERROR_SPECIAL_USER
  3961. //
  3962. // MessageText:
  3963. //
  3964. //  Cannot perform this operation on this built-in special user.
  3965. //
  3966. #define ERROR_SPECIAL_USER               1373L
  3967.  
  3968. //
  3969. // MessageId: ERROR_MEMBERS_PRIMARY_GROUP
  3970. //
  3971. // MessageText:
  3972. //
  3973. //  The user cannot be removed from a group because the group
  3974. //  is currently the user's primary group.
  3975. //
  3976. #define ERROR_MEMBERS_PRIMARY_GROUP      1374L
  3977.  
  3978. //
  3979. // MessageId: ERROR_TOKEN_ALREADY_IN_USE
  3980. //
  3981. // MessageText:
  3982. //
  3983. //  The token is already in use as a primary token.
  3984. //
  3985. #define ERROR_TOKEN_ALREADY_IN_USE       1375L
  3986.  
  3987. //
  3988. // MessageId: ERROR_NO_SUCH_ALIAS
  3989. //
  3990. // MessageText:
  3991. //
  3992. //  The specified local group does not exist.
  3993. //
  3994. #define ERROR_NO_SUCH_ALIAS              1376L
  3995.  
  3996. //
  3997. // MessageId: ERROR_MEMBER_NOT_IN_ALIAS
  3998. //
  3999. // MessageText:
  4000. //
  4001. //  The specified account name is not a member of the local group.
  4002. //
  4003. #define ERROR_MEMBER_NOT_IN_ALIAS        1377L
  4004.  
  4005. //
  4006. // MessageId: ERROR_MEMBER_IN_ALIAS
  4007. //
  4008. // MessageText:
  4009. //
  4010. //  The specified account name is already a member of the local group.
  4011. //
  4012. #define ERROR_MEMBER_IN_ALIAS            1378L
  4013.  
  4014. //
  4015. // MessageId: ERROR_ALIAS_EXISTS
  4016. //
  4017. // MessageText:
  4018. //
  4019. //  The specified local group already exists.
  4020. //
  4021. #define ERROR_ALIAS_EXISTS               1379L
  4022.  
  4023. //
  4024. // MessageId: ERROR_LOGON_NOT_GRANTED
  4025. //
  4026. // MessageText:
  4027. //
  4028. //  Logon failure: the user has not been granted the requested
  4029. //  logon type at this computer.
  4030. //
  4031. #define ERROR_LOGON_NOT_GRANTED          1380L
  4032.  
  4033. //
  4034. // MessageId: ERROR_TOO_MANY_SECRETS
  4035. //
  4036. // MessageText:
  4037. //
  4038. //  The maximum number of secrets that may be stored in a single system has been
  4039. //  exceeded.
  4040. //
  4041. #define ERROR_TOO_MANY_SECRETS           1381L
  4042.  
  4043. //
  4044. // MessageId: ERROR_SECRET_TOO_LONG
  4045. //
  4046. // MessageText:
  4047. //
  4048. //  The length of a secret exceeds the maximum length allowed.
  4049. //
  4050. #define ERROR_SECRET_TOO_LONG            1382L
  4051.  
  4052. //
  4053. // MessageId: ERROR_INTERNAL_DB_ERROR
  4054. //
  4055. // MessageText:
  4056. //
  4057. //  The local security authority database contains an internal inconsistency.
  4058. //
  4059. #define ERROR_INTERNAL_DB_ERROR          1383L
  4060.  
  4061. //
  4062. // MessageId: ERROR_TOO_MANY_CONTEXT_IDS
  4063. //
  4064. // MessageText:
  4065. //
  4066. //  During a logon attempt, the user's security context accumulated too many
  4067. //  security IDs.
  4068. //
  4069. #define ERROR_TOO_MANY_CONTEXT_IDS       1384L
  4070.  
  4071. //
  4072. // MessageId: ERROR_LOGON_TYPE_NOT_GRANTED
  4073. //
  4074. // MessageText:
  4075. //
  4076. //  Logon failure: the user has not been granted the requested logon type
  4077. //  at this computer.
  4078. //
  4079. #define ERROR_LOGON_TYPE_NOT_GRANTED     1385L
  4080.  
  4081. //
  4082. // MessageId: ERROR_NT_CROSS_ENCRYPTION_REQUIRED
  4083. //
  4084. // MessageText:
  4085. //
  4086. //  A cross-encrypted password is necessary to change a user password.
  4087. //
  4088. #define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386L
  4089.  
  4090. //
  4091. // MessageId: ERROR_NO_SUCH_MEMBER
  4092. //
  4093. // MessageText:
  4094. //
  4095. //  A new member could not be added to a local group because the member does
  4096. //  not exist.
  4097. //
  4098. #define ERROR_NO_SUCH_MEMBER             1387L
  4099.  
  4100. //
  4101. // MessageId: ERROR_INVALID_MEMBER
  4102. //
  4103. // MessageText:
  4104. //
  4105. //  A new member could not be added to a local group because the member has the
  4106. //  wrong account type.
  4107. //
  4108. #define ERROR_INVALID_MEMBER             1388L
  4109.  
  4110. //
  4111. // MessageId: ERROR_TOO_MANY_SIDS
  4112. //
  4113. // MessageText:
  4114. //
  4115. //  Too many security IDs have been specified.
  4116. //
  4117. #define ERROR_TOO_MANY_SIDS              1389L
  4118.  
  4119. //
  4120. // MessageId: ERROR_LM_CROSS_ENCRYPTION_REQUIRED
  4121. //
  4122. // MessageText:
  4123. //
  4124. //  A cross-encrypted password is necessary to change this user password.
  4125. //
  4126. #define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390L
  4127.  
  4128. //
  4129. // MessageId: ERROR_NO_INHERITANCE
  4130. //
  4131. // MessageText:
  4132. //
  4133. //  Indicates an ACL contains no inheritable components
  4134. //
  4135. #define ERROR_NO_INHERITANCE             1391L
  4136.  
  4137. //
  4138. // MessageId: ERROR_FILE_CORRUPT
  4139. //
  4140. // MessageText:
  4141. //
  4142. //  The file or directory is corrupt and non-readable.
  4143. //
  4144. #define ERROR_FILE_CORRUPT               1392L
  4145.  
  4146. //
  4147. // MessageId: ERROR_DISK_CORRUPT
  4148. //
  4149. // MessageText:
  4150. //
  4151. //  The disk structure is corrupt and non-readable.
  4152. //
  4153. #define ERROR_DISK_CORRUPT               1393L
  4154.  
  4155. //
  4156. // MessageId: ERROR_NO_USER_SESSION_KEY
  4157. //
  4158. // MessageText:
  4159. //
  4160. //  There is no user session key for the specified logon session.
  4161. //
  4162. #define ERROR_NO_USER_SESSION_KEY        1394L
  4163.  
  4164. //
  4165. // MessageId: ERROR_LICENSE_QUOTA_EXCEEDED
  4166. //
  4167. // MessageText:
  4168. //
  4169. //  The service being accessed is licensed for a particular number of connections.
  4170. //  No more connections can be made to the service at this time
  4171. //  because there are already as many connections as the service can accept.
  4172. //
  4173. #define ERROR_LICENSE_QUOTA_EXCEEDED     1395L
  4174.  
  4175. // End of security error codes
  4176.  
  4177.  
  4178.  
  4179. ///////////////////////////
  4180. //                       //
  4181. // WinUser Error Codes   //
  4182. //                       //
  4183. ///////////////////////////
  4184.  
  4185.  
  4186. //
  4187. // MessageId: ERROR_INVALID_WINDOW_HANDLE
  4188. //
  4189. // MessageText:
  4190. //
  4191. //  Invalid window handle.
  4192. //
  4193. #define ERROR_INVALID_WINDOW_HANDLE      1400L
  4194.  
  4195. //
  4196. // MessageId: ERROR_INVALID_MENU_HANDLE
  4197. //
  4198. // MessageText:
  4199. //
  4200. //  Invalid menu handle.
  4201. //
  4202. #define ERROR_INVALID_MENU_HANDLE        1401L
  4203.  
  4204. //
  4205. // MessageId: ERROR_INVALID_CURSOR_HANDLE
  4206. //
  4207. // MessageText:
  4208. //
  4209. //  Invalid cursor handle.
  4210. //
  4211. #define ERROR_INVALID_CURSOR_HANDLE      1402L
  4212.  
  4213. //
  4214. // MessageId: ERROR_INVALID_ACCEL_HANDLE
  4215. //
  4216. // MessageText:
  4217. //
  4218. //  Invalid accelerator table handle.
  4219. //
  4220. #define ERROR_INVALID_ACCEL_HANDLE       1403L
  4221.  
  4222. //
  4223. // MessageId: ERROR_INVALID_HOOK_HANDLE
  4224. //
  4225. // MessageText:
  4226. //
  4227. //  Invalid hook handle.
  4228. //
  4229. #define ERROR_INVALID_HOOK_HANDLE        1404L
  4230.  
  4231. //
  4232. // MessageId: ERROR_INVALID_DWP_HANDLE
  4233. //
  4234. // MessageText:
  4235. //
  4236. //  Invalid handle to a multiple-window position structure.
  4237. //
  4238. #define ERROR_INVALID_DWP_HANDLE         1405L
  4239.  
  4240. //
  4241. // MessageId: ERROR_TLW_WITH_WSCHILD
  4242. //
  4243. // MessageText:
  4244. //
  4245. //  Cannot create a top-level child window.
  4246. //
  4247. #define ERROR_TLW_WITH_WSCHILD           1406L
  4248.  
  4249. //
  4250. // MessageId: ERROR_CANNOT_FIND_WND_CLASS
  4251. //
  4252. // MessageText:
  4253. //
  4254. //  Cannot find window class.
  4255. //
  4256. #define ERROR_CANNOT_FIND_WND_CLASS      1407L
  4257.  
  4258. //
  4259. // MessageId: ERROR_WINDOW_OF_OTHER_THREAD
  4260. //
  4261. // MessageText:
  4262. //
  4263. //  Invalid window, belongs to other thread.
  4264. //
  4265. #define ERROR_WINDOW_OF_OTHER_THREAD     1408L
  4266.  
  4267. //
  4268. // MessageId: ERROR_HOTKEY_ALREADY_REGISTERED
  4269. //
  4270. // MessageText:
  4271. //
  4272. //  Hot key is already registered.
  4273. //
  4274. #define ERROR_HOTKEY_ALREADY_REGISTERED  1409L
  4275.  
  4276. //
  4277. // MessageId: ERROR_CLASS_ALREADY_EXISTS
  4278. //
  4279. // MessageText:
  4280. //
  4281. //  Class already exists.
  4282. //
  4283. #define ERROR_CLASS_ALREADY_EXISTS       1410L
  4284.  
  4285. //
  4286. // MessageId: ERROR_CLASS_DOES_NOT_EXIST
  4287. //
  4288. // MessageText:
  4289. //
  4290. //  Class does not exist.
  4291. //
  4292. #define ERROR_CLASS_DOES_NOT_EXIST       1411L
  4293.  
  4294. //
  4295. // MessageId: ERROR_CLASS_HAS_WINDOWS
  4296. //
  4297. // MessageText:
  4298. //
  4299. //  Class still has open windows.
  4300. //
  4301. #define ERROR_CLASS_HAS_WINDOWS          1412L
  4302.  
  4303. //
  4304. // MessageId: ERROR_INVALID_INDEX
  4305. //
  4306. // MessageText:
  4307. //
  4308. //  Invalid index.
  4309. //
  4310. #define ERROR_INVALID_INDEX              1413L
  4311.  
  4312. //
  4313. // MessageId: ERROR_INVALID_ICON_HANDLE
  4314. //
  4315. // MessageText:
  4316. //
  4317. //  Invalid icon handle.
  4318. //
  4319. #define ERROR_INVALID_ICON_HANDLE        1414L
  4320.  
  4321. //
  4322. // MessageId: ERROR_PRIVATE_DIALOG_INDEX
  4323. //
  4324. // MessageText:
  4325. //
  4326. //  Using private DIALOG window words.
  4327. //
  4328. #define ERROR_PRIVATE_DIALOG_INDEX       1415L
  4329.  
  4330. //
  4331. // MessageId: ERROR_LISTBOX_ID_NOT_FOUND
  4332. //
  4333. // MessageText:
  4334. //
  4335. //  The listbox identifier was not found.
  4336. //
  4337. #define ERROR_LISTBOX_ID_NOT_FOUND       1416L
  4338.  
  4339. //
  4340. // MessageId: ERROR_NO_WILDCARD_CHARACTERS
  4341. //
  4342. // MessageText:
  4343. //
  4344. //  No wildcards were found.
  4345. //
  4346. #define ERROR_NO_WILDCARD_CHARACTERS     1417L
  4347.  
  4348. //
  4349. // MessageId: ERROR_CLIPBOARD_NOT_OPEN
  4350. //
  4351. // MessageText:
  4352. //
  4353. //  Thread does not have a clipboard open.
  4354. //
  4355. #define ERROR_CLIPBOARD_NOT_OPEN         1418L
  4356.  
  4357. //
  4358. // MessageId: ERROR_HOTKEY_NOT_REGISTERED
  4359. //
  4360. // MessageText:
  4361. //
  4362. //  Hot key is not registered.
  4363. //
  4364. #define ERROR_HOTKEY_NOT_REGISTERED      1419L
  4365.  
  4366. //
  4367. // MessageId: ERROR_WINDOW_NOT_DIALOG
  4368. //
  4369. // MessageText:
  4370. //
  4371. //  The window is not a valid dialog window.
  4372. //
  4373. #define ERROR_WINDOW_NOT_DIALOG          1420L
  4374.  
  4375. //
  4376. // MessageId: ERROR_CONTROL_ID_NOT_FOUND
  4377. //
  4378. // MessageText:
  4379. //
  4380. //  Control ID not found.
  4381. //
  4382. #define ERROR_CONTROL_ID_NOT_FOUND       1421L
  4383.  
  4384. //
  4385. // MessageId: ERROR_INVALID_COMBOBOX_MESSAGE
  4386. //
  4387. // MessageText:
  4388. //
  4389. //  Invalid message for a combo box because it does not have an edit control.
  4390. //
  4391. #define ERROR_INVALID_COMBOBOX_MESSAGE   1422L
  4392.  
  4393. //
  4394. // MessageId: ERROR_WINDOW_NOT_COMBOBOX
  4395. //
  4396. // MessageText:
  4397. //
  4398. //  The window is not a combo box.
  4399. //
  4400. #define ERROR_WINDOW_NOT_COMBOBOX        1423L
  4401.  
  4402. //
  4403. // MessageId: ERROR_INVALID_EDIT_HEIGHT
  4404. //
  4405. // MessageText:
  4406. //
  4407. //  Height must be less than 256.
  4408. //
  4409. #define ERROR_INVALID_EDIT_HEIGHT        1424L
  4410.  
  4411. //
  4412. // MessageId: ERROR_DC_NOT_FOUND
  4413. //
  4414. // MessageText:
  4415. //
  4416. //  Invalid device context (DC) handle.
  4417. //
  4418. #define ERROR_DC_NOT_FOUND               1425L
  4419.  
  4420. //
  4421. // MessageId: ERROR_INVALID_HOOK_FILTER
  4422. //
  4423. // MessageText:
  4424. //
  4425. //  Invalid hook procedure type.
  4426. //
  4427. #define ERROR_INVALID_HOOK_FILTER        1426L
  4428.  
  4429. //
  4430. // MessageId: ERROR_INVALID_FILTER_PROC
  4431. //
  4432. // MessageText:
  4433. //
  4434. //  Invalid hook procedure.
  4435. //
  4436. #define ERROR_INVALID_FILTER_PROC        1427L
  4437.  
  4438. //
  4439. // MessageId: ERROR_HOOK_NEEDS_HMOD
  4440. //
  4441. // MessageText:
  4442. //
  4443. //  Cannot set non-local hook without a module handle.
  4444. //
  4445. #define ERROR_HOOK_NEEDS_HMOD            1428L
  4446.  
  4447. //
  4448. // MessageId: ERROR_GLOBAL_ONLY_HOOK
  4449. //
  4450. // MessageText:
  4451. //
  4452. //  This hook procedure can only be set globally.
  4453. //
  4454. #define ERROR_GLOBAL_ONLY_HOOK           1429L
  4455.  
  4456. //
  4457. // MessageId: ERROR_JOURNAL_HOOK_SET
  4458. //
  4459. // MessageText:
  4460. //
  4461. //  The journal hook procedure is already installed.
  4462. //
  4463. #define ERROR_JOURNAL_HOOK_SET           1430L
  4464.  
  4465. //
  4466. // MessageId: ERROR_HOOK_NOT_INSTALLED
  4467. //
  4468. // MessageText:
  4469. //
  4470. //  The hook procedure is not installed.
  4471. //
  4472. #define ERROR_HOOK_NOT_INSTALLED         1431L
  4473.  
  4474. //
  4475. // MessageId: ERROR_INVALID_LB_MESSAGE
  4476. //
  4477. // MessageText:
  4478. //
  4479. //  Invalid message for single-selection listbox.
  4480. //
  4481. #define ERROR_INVALID_LB_MESSAGE         1432L
  4482.  
  4483. //
  4484. // MessageId: ERROR_SETCOUNT_ON_BAD_LB
  4485. //
  4486. // MessageText:
  4487. //
  4488. //  LB_SETCOUNT sent to non-lazy listbox.
  4489. //
  4490. #define ERROR_SETCOUNT_ON_BAD_LB         1433L
  4491.  
  4492. //
  4493. // MessageId: ERROR_LB_WITHOUT_TABSTOPS
  4494. //
  4495. // MessageText:
  4496. //
  4497. //  This list box does not support tab stops.
  4498. //
  4499. #define ERROR_LB_WITHOUT_TABSTOPS        1434L
  4500.  
  4501. //
  4502. // MessageId: ERROR_DESTROY_OBJECT_OF_OTHER_THREAD
  4503. //
  4504. // MessageText:
  4505. //
  4506. //  Cannot destroy object created by another thread.
  4507. //
  4508. #define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435L
  4509.  
  4510. //
  4511. // MessageId: ERROR_CHILD_WINDOW_MENU
  4512. //
  4513. // MessageText:
  4514. //
  4515. //  Child windows cannot have menus.
  4516. //
  4517. #define ERROR_CHILD_WINDOW_MENU          1436L
  4518.  
  4519. //
  4520. // MessageId: ERROR_NO_SYSTEM_MENU
  4521. //
  4522. // MessageText:
  4523. //
  4524. //  The window does not have a system menu.
  4525. //
  4526. #define ERROR_NO_SYSTEM_MENU             1437L
  4527.  
  4528. //
  4529. // MessageId: ERROR_INVALID_MSGBOX_STYLE
  4530. //
  4531. // MessageText:
  4532. //
  4533. //  Invalid message box style.
  4534. //
  4535. #define ERROR_INVALID_MSGBOX_STYLE       1438L
  4536.  
  4537. //
  4538. // MessageId: ERROR_INVALID_SPI_VALUE
  4539. //
  4540. // MessageText:
  4541. //
  4542. //  Invalid system-wide (SPI_*) parameter.
  4543. //
  4544. #define ERROR_INVALID_SPI_VALUE          1439L
  4545.  
  4546. //
  4547. // MessageId: ERROR_SCREEN_ALREADY_LOCKED
  4548. //
  4549. // MessageText:
  4550. //
  4551. //  Screen already locked.
  4552. //
  4553. #define ERROR_SCREEN_ALREADY_LOCKED      1440L
  4554.  
  4555. //
  4556. // MessageId: ERROR_HWNDS_HAVE_DIFF_PARENT
  4557. //
  4558. // MessageText:
  4559. //
  4560. //  All handles to windows in a multiple-window position structure must
  4561. //  have the same parent.
  4562. //
  4563. #define ERROR_HWNDS_HAVE_DIFF_PARENT     1441L
  4564.  
  4565. //
  4566. // MessageId: ERROR_NOT_CHILD_WINDOW
  4567. //
  4568. // MessageText:
  4569. //
  4570. //  The window is not a child window.
  4571. //
  4572. #define ERROR_NOT_CHILD_WINDOW           1442L
  4573.  
  4574. //
  4575. // MessageId: ERROR_INVALID_GW_COMMAND
  4576. //
  4577. // MessageText:
  4578. //
  4579. //  Invalid GW_* command.
  4580. //
  4581. #define ERROR_INVALID_GW_COMMAND         1443L
  4582.  
  4583. //
  4584. // MessageId: ERROR_INVALID_THREAD_ID
  4585. //
  4586. // MessageText:
  4587. //
  4588. //  Invalid thread identifier.
  4589. //
  4590. #define ERROR_INVALID_THREAD_ID          1444L
  4591.  
  4592. //
  4593. // MessageId: ERROR_NON_MDICHILD_WINDOW
  4594. //
  4595. // MessageText:
  4596. //
  4597. //  Cannot process a message from a window that is not a multiple document
  4598. //  interface (MDI) window.
  4599. //
  4600. #define ERROR_NON_MDICHILD_WINDOW        1445L
  4601.  
  4602. //
  4603. // MessageId: ERROR_POPUP_ALREADY_ACTIVE
  4604. //
  4605. // MessageText:
  4606. //
  4607. //  Popup menu already active.
  4608. //
  4609. #define ERROR_POPUP_ALREADY_ACTIVE       1446L
  4610.  
  4611. //
  4612. // MessageId: ERROR_NO_SCROLLBARS
  4613. //
  4614. // MessageText:
  4615. //
  4616. //  The window does not have scroll bars.
  4617. //
  4618. #define ERROR_NO_SCROLLBARS              1447L
  4619.  
  4620. //
  4621. // MessageId: ERROR_INVALID_SCROLLBAR_RANGE
  4622. //
  4623. // MessageText:
  4624. //
  4625. //  Scroll bar range cannot be greater than 0x7FFF.
  4626. //
  4627. #define ERROR_INVALID_SCROLLBAR_RANGE    1448L
  4628.  
  4629. //
  4630. // MessageId: ERROR_INVALID_SHOWWIN_COMMAND
  4631. //
  4632. // MessageText:
  4633. //
  4634. //  Cannot show or remove the window in the way specified.
  4635. //
  4636. #define ERROR_INVALID_SHOWWIN_COMMAND    1449L
  4637.  
  4638. //
  4639. // MessageId: ERROR_NO_SYSTEM_RESOURCES
  4640. //
  4641. // MessageText:
  4642. //
  4643. //  Insufficient system resources exist to complete the requested service.
  4644. //
  4645. #define ERROR_NO_SYSTEM_RESOURCES        1450L
  4646.  
  4647. //
  4648. // MessageId: ERROR_NONPAGED_SYSTEM_RESOURCES
  4649. //
  4650. // MessageText:
  4651. //
  4652. //  Insufficient system resources exist to complete the requested service.
  4653. //
  4654. #define ERROR_NONPAGED_SYSTEM_RESOURCES  1451L
  4655.  
  4656. //
  4657. // MessageId: ERROR_PAGED_SYSTEM_RESOURCES
  4658. //
  4659. // MessageText:
  4660. //
  4661. //  Insufficient system resources exist to complete the requested service.
  4662. //
  4663. #define ERROR_PAGED_SYSTEM_RESOURCES     1452L
  4664.  
  4665. //
  4666. // MessageId: ERROR_WORKING_SET_QUOTA
  4667. //
  4668. // MessageText:
  4669. //
  4670. //  Insufficient quota to complete the requested service.
  4671. //
  4672. #define ERROR_WORKING_SET_QUOTA          1453L
  4673.  
  4674. //
  4675. // MessageId: ERROR_PAGEFILE_QUOTA
  4676. //
  4677. // MessageText:
  4678. //
  4679. //  Insufficient quota to complete the requested service.
  4680. //
  4681. #define ERROR_PAGEFILE_QUOTA             1454L
  4682.  
  4683. //
  4684. // MessageId: ERROR_COMMITMENT_LIMIT
  4685. //
  4686. // MessageText:
  4687. //
  4688. //  The paging file is too small for this operation to complete.
  4689. //
  4690. #define ERROR_COMMITMENT_LIMIT           1455L
  4691.  
  4692. //
  4693. // MessageId: ERROR_MENU_ITEM_NOT_FOUND
  4694. //
  4695. // MessageText:
  4696. //
  4697. //  A menu item was not found.
  4698. //
  4699. #define ERROR_MENU_ITEM_NOT_FOUND        1456L
  4700.  
  4701. //
  4702. // MessageId: ERROR_INVALID_KEYBOARD_HANDLE
  4703. //
  4704. // MessageText:
  4705. //
  4706. //  Invalid keyboard layout handle.
  4707. //
  4708. #define ERROR_INVALID_KEYBOARD_HANDLE    1457L
  4709.  
  4710. //
  4711. // MessageId: ERROR_HOOK_TYPE_NOT_ALLOWED
  4712. //
  4713. // MessageText:
  4714. //
  4715. //  Hook type not allowed.
  4716. //
  4717. #define ERROR_HOOK_TYPE_NOT_ALLOWED      1458L
  4718.  
  4719. //
  4720. // MessageId: ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION
  4721. //
  4722. // MessageText:
  4723. //
  4724. //  This operation requires an interactive windowstation.
  4725. //
  4726. #define ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION 1459L
  4727.  
  4728. //
  4729. // MessageId: ERROR_TIMEOUT
  4730. //
  4731. // MessageText:
  4732. //
  4733. //  This operation returned because the timeout period expired.
  4734. //
  4735. #define ERROR_TIMEOUT                    1460L
  4736.  
  4737. // End of WinUser error codes
  4738.  
  4739.  
  4740.  
  4741. ///////////////////////////
  4742. //                       //
  4743. // Eventlog Status Codes //
  4744. //                       //
  4745. ///////////////////////////
  4746.  
  4747.  
  4748. //
  4749. // MessageId: ERROR_EVENTLOG_FILE_CORRUPT
  4750. //
  4751. // MessageText:
  4752. //
  4753. //  The event log file is corrupt.
  4754. //
  4755. #define ERROR_EVENTLOG_FILE_CORRUPT      1500L
  4756.  
  4757. //
  4758. // MessageId: ERROR_EVENTLOG_CANT_START
  4759. //
  4760. // MessageText:
  4761. //
  4762. //  No event log file could be opened, so the event logging service did not start.
  4763. //
  4764. #define ERROR_EVENTLOG_CANT_START        1501L
  4765.  
  4766. //
  4767. // MessageId: ERROR_LOG_FILE_FULL
  4768. //
  4769. // MessageText:
  4770. //
  4771. //  The event log file is full.
  4772. //
  4773. #define ERROR_LOG_FILE_FULL              1502L
  4774.  
  4775. //
  4776. // MessageId: ERROR_EVENTLOG_FILE_CHANGED
  4777. //
  4778. // MessageText:
  4779. //
  4780. //  The event log file has changed between reads.
  4781. //
  4782. #define ERROR_EVENTLOG_FILE_CHANGED      1503L
  4783.  
  4784. // End of eventlog error codes
  4785.  
  4786.  
  4787.  
  4788. ///////////////////////////
  4789. //                       //
  4790. //   RPC Status Codes    //
  4791. //                       //
  4792. ///////////////////////////
  4793.  
  4794.  
  4795. //
  4796. // MessageId: RPC_S_INVALID_STRING_BINDING
  4797. //
  4798. // MessageText:
  4799. //
  4800. //  The string binding is invalid.
  4801. //
  4802. #define RPC_S_INVALID_STRING_BINDING     1700L
  4803.  
  4804. //
  4805. // MessageId: RPC_S_WRONG_KIND_OF_BINDING
  4806. //
  4807. // MessageText:
  4808. //
  4809. //  The binding handle is not the correct type.
  4810. //
  4811. #define RPC_S_WRONG_KIND_OF_BINDING      1701L
  4812.  
  4813. //
  4814. // MessageId: RPC_S_INVALID_BINDING
  4815. //
  4816. // MessageText:
  4817. //
  4818. //  The binding handle is invalid.
  4819. //
  4820. #define RPC_S_INVALID_BINDING            1702L
  4821.  
  4822. //
  4823. // MessageId: RPC_S_PROTSEQ_NOT_SUPPORTED
  4824. //
  4825. // MessageText:
  4826. //
  4827. //  The RPC protocol sequence is not supported.
  4828. //
  4829. #define RPC_S_PROTSEQ_NOT_SUPPORTED      1703L
  4830.  
  4831. //
  4832. // MessageId: RPC_S_INVALID_RPC_PROTSEQ
  4833. //
  4834. // MessageText:
  4835. //
  4836. //  The RPC protocol sequence is invalid.
  4837. //
  4838. #define RPC_S_INVALID_RPC_PROTSEQ        1704L
  4839.  
  4840. //
  4841. // MessageId: RPC_S_INVALID_STRING_UUID
  4842. //
  4843. // MessageText:
  4844. //
  4845. //  The string universal unique identifier (UUID) is invalid.
  4846. //
  4847. #define RPC_S_INVALID_STRING_UUID        1705L
  4848.  
  4849. //
  4850. // MessageId: RPC_S_INVALID_ENDPOINT_FORMAT
  4851. //
  4852. // MessageText:
  4853. //
  4854. //  The endpoint format is invalid.
  4855. //
  4856. #define RPC_S_INVALID_ENDPOINT_FORMAT    1706L
  4857.  
  4858. //
  4859. // MessageId: RPC_S_INVALID_NET_ADDR
  4860. //
  4861. // MessageText:
  4862. //
  4863. //  The network address is invalid.
  4864. //
  4865. #define RPC_S_INVALID_NET_ADDR           1707L
  4866.  
  4867. //
  4868. // MessageId: RPC_S_NO_ENDPOINT_FOUND
  4869. //
  4870. // MessageText:
  4871. //
  4872. //  No endpoint was found.
  4873. //
  4874. #define RPC_S_NO_ENDPOINT_FOUND          1708L
  4875.  
  4876. //
  4877. // MessageId: RPC_S_INVALID_TIMEOUT
  4878. //
  4879. // MessageText:
  4880. //
  4881. //  The timeout value is invalid.
  4882. //
  4883. #define RPC_S_INVALID_TIMEOUT            1709L
  4884.  
  4885. //
  4886. // MessageId: RPC_S_OBJECT_NOT_FOUND
  4887. //
  4888. // MessageText:
  4889. //
  4890. //  The object universal unique identifier (UUID) was not found.
  4891. //
  4892. #define RPC_S_OBJECT_NOT_FOUND           1710L
  4893.  
  4894. //
  4895. // MessageId: RPC_S_ALREADY_REGISTERED
  4896. //
  4897. // MessageText:
  4898. //
  4899. //  The object universal unique identifier (UUID) has already been registered.
  4900. //
  4901. #define RPC_S_ALREADY_REGISTERED         1711L
  4902.  
  4903. //
  4904. // MessageId: RPC_S_TYPE_ALREADY_REGISTERED
  4905. //
  4906. // MessageText:
  4907. //
  4908. //  The type universal unique identifier (UUID) has already been registered.
  4909. //
  4910. #define RPC_S_TYPE_ALREADY_REGISTERED    1712L
  4911.  
  4912. //
  4913. // MessageId: RPC_S_ALREADY_LISTENING
  4914. //
  4915. // MessageText:
  4916. //
  4917. //  The RPC server is already listening.
  4918. //
  4919. #define RPC_S_ALREADY_LISTENING          1713L
  4920.  
  4921. //
  4922. // MessageId: RPC_S_NO_PROTSEQS_REGISTERED
  4923. //
  4924. // MessageText:
  4925. //
  4926. //  No protocol sequences have been registered.
  4927. //
  4928. #define RPC_S_NO_PROTSEQS_REGISTERED     1714L
  4929.  
  4930. //
  4931. // MessageId: RPC_S_NOT_LISTENING
  4932. //
  4933. // MessageText:
  4934. //
  4935. //  The RPC server is not listening.
  4936. //
  4937. #define RPC_S_NOT_LISTENING              1715L
  4938.  
  4939. //
  4940. // MessageId: RPC_S_UNKNOWN_MGR_TYPE
  4941. //
  4942. // MessageText:
  4943. //
  4944. //  The manager type is unknown.
  4945. //
  4946. #define RPC_S_UNKNOWN_MGR_TYPE           1716L
  4947.  
  4948. //
  4949. // MessageId: RPC_S_UNKNOWN_IF
  4950. //
  4951. // MessageText:
  4952. //
  4953. //  The interface is unknown.
  4954. //
  4955. #define RPC_S_UNKNOWN_IF                 1717L
  4956.  
  4957. //
  4958. // MessageId: RPC_S_NO_BINDINGS
  4959. //
  4960. // MessageText:
  4961. //
  4962. //  There are no bindings.
  4963. //
  4964. #define RPC_S_NO_BINDINGS                1718L
  4965.  
  4966. //
  4967. // MessageId: RPC_S_NO_PROTSEQS
  4968. //
  4969. // MessageText:
  4970. //
  4971. //  There are no protocol sequences.
  4972. //
  4973. #define RPC_S_NO_PROTSEQS                1719L
  4974.  
  4975. //
  4976. // MessageId: RPC_S_CANT_CREATE_ENDPOINT
  4977. //
  4978. // MessageText:
  4979. //
  4980. //  The endpoint cannot be created.
  4981. //
  4982. #define RPC_S_CANT_CREATE_ENDPOINT       1720L
  4983.  
  4984. //
  4985. // MessageId: RPC_S_OUT_OF_RESOURCES
  4986. //
  4987. // MessageText:
  4988. //
  4989. //  Not enough resources are available to complete this operation.
  4990. //
  4991. #define RPC_S_OUT_OF_RESOURCES           1721L
  4992.  
  4993. //
  4994. // MessageId: RPC_S_SERVER_UNAVAILABLE
  4995. //
  4996. // MessageText:
  4997. //
  4998. //  The RPC server is unavailable.
  4999. //
  5000. #define RPC_S_SERVER_UNAVAILABLE         1722L
  5001.  
  5002. //
  5003. // MessageId: RPC_S_SERVER_TOO_BUSY
  5004. //
  5005. // MessageText:
  5006. //
  5007. //  The RPC server is too busy to complete this operation.
  5008. //
  5009. #define RPC_S_SERVER_TOO_BUSY            1723L
  5010.  
  5011. //
  5012. // MessageId: RPC_S_INVALID_NETWORK_OPTIONS
  5013. //
  5014. // MessageText:
  5015. //
  5016. //  The network options are invalid.
  5017. //
  5018. #define RPC_S_INVALID_NETWORK_OPTIONS    1724L
  5019.  
  5020. //
  5021. // MessageId: RPC_S_NO_CALL_ACTIVE
  5022. //
  5023. // MessageText:
  5024. //
  5025. //  There is not a remote procedure call active in this thread.
  5026. //
  5027. #define RPC_S_NO_CALL_ACTIVE             1725L
  5028.  
  5029. //
  5030. // MessageId: RPC_S_CALL_FAILED
  5031. //
  5032. // MessageText:
  5033. //
  5034. //  The remote procedure call failed.
  5035. //
  5036. #define RPC_S_CALL_FAILED                1726L
  5037.  
  5038. //
  5039. // MessageId: RPC_S_CALL_FAILED_DNE
  5040. //
  5041. // MessageText:
  5042. //
  5043. //  The remote procedure call failed and did not execute.
  5044. //
  5045. #define RPC_S_CALL_FAILED_DNE            1727L
  5046.  
  5047. //
  5048. // MessageId: RPC_S_PROTOCOL_ERROR
  5049. //
  5050. // MessageText:
  5051. //
  5052. //  A remote procedure call (RPC) protocol error occurred.
  5053. //
  5054. #define RPC_S_PROTOCOL_ERROR             1728L
  5055.  
  5056. //
  5057. // MessageId: RPC_S_UNSUPPORTED_TRANS_SYN
  5058. //
  5059. // MessageText:
  5060. //
  5061. //  The transfer syntax is not supported by the RPC server.
  5062. //
  5063. #define RPC_S_UNSUPPORTED_TRANS_SYN      1730L
  5064.  
  5065. //
  5066. // MessageId: RPC_S_UNSUPPORTED_TYPE
  5067. //
  5068. // MessageText:
  5069. //
  5070. //  The universal unique identifier (UUID) type is not supported.
  5071. //
  5072. #define RPC_S_UNSUPPORTED_TYPE           1732L
  5073.  
  5074. //
  5075. // MessageId: RPC_S_INVALID_TAG
  5076. //
  5077. // MessageText:
  5078. //
  5079. //  The tag is invalid.
  5080. //
  5081. #define RPC_S_INVALID_TAG                1733L
  5082.  
  5083. //
  5084. // MessageId: RPC_S_INVALID_BOUND
  5085. //
  5086. // MessageText:
  5087. //
  5088. //  The array bounds are invalid.
  5089. //
  5090. #define RPC_S_INVALID_BOUND              1734L
  5091.  
  5092. //
  5093. // MessageId: RPC_S_NO_ENTRY_NAME
  5094. //
  5095. // MessageText:
  5096. //
  5097. //  The binding does not contain an entry name.
  5098. //
  5099. #define RPC_S_NO_ENTRY_NAME              1735L
  5100.  
  5101. //
  5102. // MessageId: RPC_S_INVALID_NAME_SYNTAX
  5103. //
  5104. // MessageText:
  5105. //
  5106. //  The name syntax is invalid.
  5107. //
  5108. #define RPC_S_INVALID_NAME_SYNTAX        1736L
  5109.  
  5110. //
  5111. // MessageId: RPC_S_UNSUPPORTED_NAME_SYNTAX
  5112. //
  5113. // MessageText:
  5114. //
  5115. //  The name syntax is not supported.
  5116. //
  5117. #define RPC_S_UNSUPPORTED_NAME_SYNTAX    1737L
  5118.  
  5119. //
  5120. // MessageId: RPC_S_UUID_NO_ADDRESS
  5121. //
  5122. // MessageText:
  5123. //
  5124. //  No network address is available to use to construct a universal
  5125. //  unique identifier (UUID).
  5126. //
  5127. #define RPC_S_UUID_NO_ADDRESS            1739L
  5128.  
  5129. //
  5130. // MessageId: RPC_S_DUPLICATE_ENDPOINT
  5131. //
  5132. // MessageText:
  5133. //
  5134. //  The endpoint is a duplicate.
  5135. //
  5136. #define RPC_S_DUPLICATE_ENDPOINT         1740L
  5137.  
  5138. //
  5139. // MessageId: RPC_S_UNKNOWN_AUTHN_TYPE
  5140. //
  5141. // MessageText:
  5142. //
  5143. //  The authentication type is unknown.
  5144. //
  5145. #define RPC_S_UNKNOWN_AUTHN_TYPE         1741L
  5146.  
  5147. //
  5148. // MessageId: RPC_S_MAX_CALLS_TOO_SMALL
  5149. //
  5150. // MessageText:
  5151. //
  5152. //  The maximum number of calls is too small.
  5153. //
  5154. #define RPC_S_MAX_CALLS_TOO_SMALL        1742L
  5155.  
  5156. //
  5157. // MessageId: RPC_S_STRING_TOO_LONG
  5158. //
  5159. // MessageText:
  5160. //
  5161. //  The string is too long.
  5162. //
  5163. #define RPC_S_STRING_TOO_LONG            1743L
  5164.  
  5165. //
  5166. // MessageId: RPC_S_PROTSEQ_NOT_FOUND
  5167. //
  5168. // MessageText:
  5169. //
  5170. //  The RPC protocol sequence was not found.
  5171. //
  5172. #define RPC_S_PROTSEQ_NOT_FOUND          1744L
  5173.  
  5174. //
  5175. // MessageId: RPC_S_PROCNUM_OUT_OF_RANGE
  5176. //
  5177. // MessageText:
  5178. //
  5179. //  The procedure number is out of range.
  5180. //
  5181. #define RPC_S_PROCNUM_OUT_OF_RANGE       1745L
  5182.  
  5183. //
  5184. // MessageId: RPC_S_BINDING_HAS_NO_AUTH
  5185. //
  5186. // MessageText:
  5187. //
  5188. //  The binding does not contain any authentication information.
  5189. //
  5190. #define RPC_S_BINDING_HAS_NO_AUTH        1746L
  5191.  
  5192. //
  5193. // MessageId: RPC_S_UNKNOWN_AUTHN_SERVICE
  5194. //
  5195. // MessageText:
  5196. //
  5197. //  The authentication service is unknown.
  5198. //
  5199. #define RPC_S_UNKNOWN_AUTHN_SERVICE      1747L
  5200.  
  5201. //
  5202. // MessageId: RPC_S_UNKNOWN_AUTHN_LEVEL
  5203. //
  5204. // MessageText:
  5205. //
  5206. //  The authentication level is unknown.
  5207. //
  5208. #define RPC_S_UNKNOWN_AUTHN_LEVEL        1748L
  5209.  
  5210. //
  5211. // MessageId: RPC_S_INVALID_AUTH_IDENTITY
  5212. //
  5213. // MessageText:
  5214. //
  5215. //  The security context is invalid.
  5216. //
  5217. #define RPC_S_INVALID_AUTH_IDENTITY      1749L
  5218.  
  5219. //
  5220. // MessageId: RPC_S_UNKNOWN_AUTHZ_SERVICE
  5221. //
  5222. // MessageText:
  5223. //
  5224. //  The authorization service is unknown.
  5225. //
  5226. #define RPC_S_UNKNOWN_AUTHZ_SERVICE      1750L
  5227.  
  5228. //
  5229. // MessageId: EPT_S_INVALID_ENTRY
  5230. //
  5231. // MessageText:
  5232. //
  5233. //  The entry is invalid.
  5234. //
  5235. #define EPT_S_INVALID_ENTRY              1751L
  5236.  
  5237. //
  5238. // MessageId: EPT_S_CANT_PERFORM_OP
  5239. //
  5240. // MessageText:
  5241. //
  5242. //  The server endpoint cannot perform the operation.
  5243. //
  5244. #define EPT_S_CANT_PERFORM_OP            1752L
  5245.  
  5246. //
  5247. // MessageId: EPT_S_NOT_REGISTERED
  5248. //
  5249. // MessageText:
  5250. //
  5251. //  There are no more endpoints available from the endpoint mapper.
  5252. //
  5253. #define EPT_S_NOT_REGISTERED             1753L
  5254.  
  5255. //
  5256. // MessageId: RPC_S_NOTHING_TO_EXPORT
  5257. //
  5258. // MessageText:
  5259. //
  5260. //  No interfaces have been exported.
  5261. //
  5262. #define RPC_S_NOTHING_TO_EXPORT          1754L
  5263.  
  5264. //
  5265. // MessageId: RPC_S_INCOMPLETE_NAME
  5266. //
  5267. // MessageText:
  5268. //
  5269. //  The entry name is incomplete.
  5270. //
  5271. #define RPC_S_INCOMPLETE_NAME            1755L
  5272.  
  5273. //
  5274. // MessageId: RPC_S_INVALID_VERS_OPTION
  5275. //
  5276. // MessageText:
  5277. //
  5278. //  The version option is invalid.
  5279. //
  5280. #define RPC_S_INVALID_VERS_OPTION        1756L
  5281.  
  5282. //
  5283. // MessageId: RPC_S_NO_MORE_MEMBERS
  5284. //
  5285. // MessageText:
  5286. //
  5287. //  There are no more members.
  5288. //
  5289. #define RPC_S_NO_MORE_MEMBERS            1757L
  5290.  
  5291. //
  5292. // MessageId: RPC_S_NOT_ALL_OBJS_UNEXPORTED
  5293. //
  5294. // MessageText:
  5295. //
  5296. //  There is nothing to unexport.
  5297. //
  5298. #define RPC_S_NOT_ALL_OBJS_UNEXPORTED    1758L
  5299.  
  5300. //
  5301. // MessageId: RPC_S_INTERFACE_NOT_FOUND
  5302. //
  5303. // MessageText:
  5304. //
  5305. //  The interface was not found.
  5306. //
  5307. #define RPC_S_INTERFACE_NOT_FOUND        1759L
  5308.  
  5309. //
  5310. // MessageId: RPC_S_ENTRY_ALREADY_EXISTS
  5311. //
  5312. // MessageText:
  5313. //
  5314. //  The entry already exists.
  5315. //
  5316. #define RPC_S_ENTRY_ALREADY_EXISTS       1760L
  5317.  
  5318. //
  5319. // MessageId: RPC_S_ENTRY_NOT_FOUND
  5320. //
  5321. // MessageText:
  5322. //
  5323. //  The entry is not found.
  5324. //
  5325. #define RPC_S_ENTRY_NOT_FOUND            1761L
  5326.  
  5327. //
  5328. // MessageId: RPC_S_NAME_SERVICE_UNAVAILABLE
  5329. //
  5330. // MessageText:
  5331. //
  5332. //  The name service is unavailable.
  5333. //
  5334. #define RPC_S_NAME_SERVICE_UNAVAILABLE   1762L
  5335.  
  5336. //
  5337. // MessageId: RPC_S_INVALID_NAF_ID
  5338. //
  5339. // MessageText:
  5340. //
  5341. //  The network address family is invalid.
  5342. //
  5343. #define RPC_S_INVALID_NAF_ID             1763L
  5344.  
  5345. //
  5346. // MessageId: RPC_S_CANNOT_SUPPORT
  5347. //
  5348. // MessageText:
  5349. //
  5350. //  The requested operation is not supported.
  5351. //
  5352. #define RPC_S_CANNOT_SUPPORT             1764L
  5353.  
  5354. //
  5355. // MessageId: RPC_S_NO_CONTEXT_AVAILABLE
  5356. //
  5357. // MessageText:
  5358. //
  5359. //  No security context is available to allow impersonation.
  5360. //
  5361. #define RPC_S_NO_CONTEXT_AVAILABLE       1765L
  5362.  
  5363. //
  5364. // MessageId: RPC_S_INTERNAL_ERROR
  5365. //
  5366. // MessageText:
  5367. //
  5368. //  An internal error occurred in a remote procedure call (RPC).
  5369. //
  5370. #define RPC_S_INTERNAL_ERROR             1766L
  5371.  
  5372. //
  5373. // MessageId: RPC_S_ZERO_DIVIDE
  5374. //
  5375. // MessageText:
  5376. //
  5377. //  The RPC server attempted an integer division by zero.
  5378. //
  5379. #define RPC_S_ZERO_DIVIDE                1767L
  5380.  
  5381. //
  5382. // MessageId: RPC_S_ADDRESS_ERROR
  5383. //
  5384. // MessageText:
  5385. //
  5386. //  An addressing error occurred in the RPC server.
  5387. //
  5388. #define RPC_S_ADDRESS_ERROR              1768L
  5389.  
  5390. //
  5391. // MessageId: RPC_S_FP_DIV_ZERO
  5392. //
  5393. // MessageText:
  5394. //
  5395. //  A floating-point operation at the RPC server caused a division by zero.
  5396. //
  5397. #define RPC_S_FP_DIV_ZERO                1769L
  5398.  
  5399. //
  5400. // MessageId: RPC_S_FP_UNDERFLOW
  5401. //
  5402. // MessageText:
  5403. //
  5404. //  A floating-point underflow occurred at the RPC server.
  5405. //
  5406. #define RPC_S_FP_UNDERFLOW               1770L
  5407.  
  5408. //
  5409. // MessageId: RPC_S_FP_OVERFLOW
  5410. //
  5411. // MessageText:
  5412. //
  5413. //  A floating-point overflow occurred at the RPC server.
  5414. //
  5415. #define RPC_S_FP_OVERFLOW                1771L
  5416.  
  5417. //
  5418. // MessageId: RPC_X_NO_MORE_ENTRIES
  5419. //
  5420. // MessageText:
  5421. //
  5422. //  The list of RPC servers available for the binding of auto handles
  5423. //  has been exhausted.
  5424. //
  5425. #define RPC_X_NO_MORE_ENTRIES            1772L
  5426.  
  5427. //
  5428. // MessageId: RPC_X_SS_CHAR_TRANS_OPEN_FAIL
  5429. //
  5430. // MessageText:
  5431. //
  5432. //  Unable to open the character translation table file.
  5433. //
  5434. #define RPC_X_SS_CHAR_TRANS_OPEN_FAIL    1773L
  5435.  
  5436. //
  5437. // MessageId: RPC_X_SS_CHAR_TRANS_SHORT_FILE
  5438. //
  5439. // MessageText:
  5440. //
  5441. //  The file containing the character translation table has fewer than
  5442. //  512 bytes.
  5443. //
  5444. #define RPC_X_SS_CHAR_TRANS_SHORT_FILE   1774L
  5445.  
  5446. //
  5447. // MessageId: RPC_X_SS_IN_NULL_CONTEXT
  5448. //
  5449. // MessageText:
  5450. //
  5451. //  A null context handle was passed from the client to the host during
  5452. //  a remote procedure call.
  5453. //
  5454. #define RPC_X_SS_IN_NULL_CONTEXT         1775L
  5455.  
  5456. //
  5457. // MessageId: RPC_X_SS_CONTEXT_DAMAGED
  5458. //
  5459. // MessageText:
  5460. //
  5461. //  The context handle changed during a remote procedure call.
  5462. //
  5463. #define RPC_X_SS_CONTEXT_DAMAGED         1777L
  5464.  
  5465. //
  5466. // MessageId: RPC_X_SS_HANDLES_MISMATCH
  5467. //
  5468. // MessageText:
  5469. //
  5470. //  The binding handles passed to a remote procedure call do not match.
  5471. //
  5472. #define RPC_X_SS_HANDLES_MISMATCH        1778L
  5473.  
  5474. //
  5475. // MessageId: RPC_X_SS_CANNOT_GET_CALL_HANDLE
  5476. //
  5477. // MessageText:
  5478. //
  5479. //  The stub is unable to get the remote procedure call handle.
  5480. //
  5481. #define RPC_X_SS_CANNOT_GET_CALL_HANDLE  1779L
  5482.  
  5483. //
  5484. // MessageId: RPC_X_NULL_REF_POINTER
  5485. //
  5486. // MessageText:
  5487. //
  5488. //  A null reference pointer was passed to the stub.
  5489. //
  5490. #define RPC_X_NULL_REF_POINTER           1780L
  5491.  
  5492. //
  5493. // MessageId: RPC_X_ENUM_VALUE_OUT_OF_RANGE
  5494. //
  5495. // MessageText:
  5496. //
  5497. //  The enumeration value is out of range.
  5498. //
  5499. #define RPC_X_ENUM_VALUE_OUT_OF_RANGE    1781L
  5500.  
  5501. //
  5502. // MessageId: RPC_X_BYTE_COUNT_TOO_SMALL
  5503. //
  5504. // MessageText:
  5505. //
  5506. //  The byte count is too small.
  5507. //
  5508. #define RPC_X_BYTE_COUNT_TOO_SMALL       1782L
  5509.  
  5510. //
  5511. // MessageId: RPC_X_BAD_STUB_DATA
  5512. //
  5513. // MessageText:
  5514. //
  5515. //  The stub received bad data.
  5516. //
  5517. #define RPC_X_BAD_STUB_DATA              1783L
  5518.  
  5519. //
  5520. // MessageId: ERROR_INVALID_USER_BUFFER
  5521. //
  5522. // MessageText:
  5523. //
  5524. //  The supplied user buffer is not valid for the requested operation.
  5525. //
  5526. #define ERROR_INVALID_USER_BUFFER        1784L
  5527.  
  5528. //
  5529. // MessageId: ERROR_UNRECOGNIZED_MEDIA
  5530. //
  5531. // MessageText:
  5532. //
  5533. //  The disk media is not recognized.  It may not be formatted.
  5534. //
  5535. #define ERROR_UNRECOGNIZED_MEDIA         1785L
  5536.  
  5537. //
  5538. // MessageId: ERROR_NO_TRUST_LSA_SECRET
  5539. //
  5540. // MessageText:
  5541. //
  5542. //  The workstation does not have a trust secret.
  5543. //
  5544. #define ERROR_NO_TRUST_LSA_SECRET        1786L
  5545.  
  5546. //
  5547. // MessageId: ERROR_NO_TRUST_SAM_ACCOUNT
  5548. //
  5549. // MessageText:
  5550. //
  5551. //  The SAM database on the Windows NT Server does not have a computer
  5552. //  account for this workstation trust relationship.
  5553. //
  5554. #define ERROR_NO_TRUST_SAM_ACCOUNT       1787L
  5555.  
  5556. //
  5557. // MessageId: ERROR_TRUSTED_DOMAIN_FAILURE
  5558. //
  5559. // MessageText:
  5560. //
  5561. //  The trust relationship between the primary domain and the trusted
  5562. //  domain failed.
  5563. //
  5564. #define ERROR_TRUSTED_DOMAIN_FAILURE     1788L
  5565.  
  5566. //
  5567. // MessageId: ERROR_TRUSTED_RELATIONSHIP_FAILURE
  5568. //
  5569. // MessageText:
  5570. //
  5571. //  The trust relationship between this workstation and the primary
  5572. //  domain failed.
  5573. //
  5574. #define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789L
  5575.  
  5576. //
  5577. // MessageId: ERROR_TRUST_FAILURE
  5578. //
  5579. // MessageText:
  5580. //
  5581. //  The network logon failed.
  5582. //
  5583. #define ERROR_TRUST_FAILURE              1790L
  5584.  
  5585. //
  5586. // MessageId: RPC_S_CALL_IN_PROGRESS
  5587. //
  5588. // MessageText:
  5589. //
  5590. //  A remote procedure call is already in progress for this thread.
  5591. //
  5592. #define RPC_S_CALL_IN_PROGRESS           1791L
  5593.  
  5594. //
  5595. // MessageId: ERROR_NETLOGON_NOT_STARTED
  5596. //
  5597. // MessageText:
  5598. //
  5599. //  An attempt was made to logon, but the network logon service was not started.
  5600. //
  5601. #define ERROR_NETLOGON_NOT_STARTED       1792L
  5602.  
  5603. //
  5604. // MessageId: ERROR_ACCOUNT_EXPIRED
  5605. //
  5606. // MessageText:
  5607. //
  5608. //  The user's account has expired.
  5609. //
  5610. #define ERROR_ACCOUNT_EXPIRED            1793L
  5611.  
  5612. //
  5613. // MessageId: ERROR_REDIRECTOR_HAS_OPEN_HANDLES
  5614. //
  5615. // MessageText:
  5616. //
  5617. //  The redirector is in use and cannot be unloaded.
  5618. //
  5619. #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794L
  5620.  
  5621. //
  5622. // MessageId: ERROR_PRINTER_DRIVER_ALREADY_INSTALLED
  5623. //
  5624. // MessageText:
  5625. //
  5626. //  The specified printer driver is already installed.
  5627. //
  5628. #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795L
  5629.  
  5630. //
  5631. // MessageId: ERROR_UNKNOWN_PORT
  5632. //
  5633. // MessageText:
  5634. //
  5635. //  The specified port is unknown.
  5636. //
  5637. #define ERROR_UNKNOWN_PORT               1796L
  5638.  
  5639. //
  5640. // MessageId: ERROR_UNKNOWN_PRINTER_DRIVER
  5641. //
  5642. // MessageText:
  5643. //
  5644. //  The printer driver is unknown.
  5645. //
  5646. #define ERROR_UNKNOWN_PRINTER_DRIVER     1797L
  5647.  
  5648. //
  5649. // MessageId: ERROR_UNKNOWN_PRINTPROCESSOR
  5650. //
  5651. // MessageText:
  5652. //
  5653. //  The print processor is unknown.
  5654. //
  5655. #define ERROR_UNKNOWN_PRINTPROCESSOR     1798L
  5656.  
  5657. //
  5658. // MessageId: ERROR_INVALID_SEPARATOR_FILE
  5659. //
  5660. // MessageText:
  5661. //
  5662. //  The specified separator file is invalid.
  5663. //
  5664. #define ERROR_INVALID_SEPARATOR_FILE     1799L
  5665.  
  5666. //
  5667. // MessageId: ERROR_INVALID_PRIORITY
  5668. //
  5669. // MessageText:
  5670. //
  5671. //  The specified priority is invalid.
  5672. //
  5673. #define ERROR_INVALID_PRIORITY           1800L
  5674.  
  5675. //
  5676. // MessageId: ERROR_INVALID_PRINTER_NAME
  5677. //
  5678. // MessageText:
  5679. //
  5680. //  The printer name is invalid.
  5681. //
  5682. #define ERROR_INVALID_PRINTER_NAME       1801L
  5683.  
  5684. //
  5685. // MessageId: ERROR_PRINTER_ALREADY_EXISTS
  5686. //
  5687. // MessageText:
  5688. //
  5689. //  The printer already exists.
  5690. //
  5691. #define ERROR_PRINTER_ALREADY_EXISTS     1802L
  5692.  
  5693. //
  5694. // MessageId: ERROR_INVALID_PRINTER_COMMAND
  5695. //
  5696. // MessageText:
  5697. //
  5698. //  The printer command is invalid.
  5699. //
  5700. #define ERROR_INVALID_PRINTER_COMMAND    1803L
  5701.  
  5702. //
  5703. // MessageId: ERROR_INVALID_DATATYPE
  5704. //
  5705. // MessageText:
  5706. //
  5707. //  The specified datatype is invalid.
  5708. //
  5709. #define ERROR_INVALID_DATATYPE           1804L
  5710.  
  5711. //
  5712. // MessageId: ERROR_INVALID_ENVIRONMENT
  5713. //
  5714. // MessageText:
  5715. //
  5716. //  The Environment specified is invalid.
  5717. //
  5718. #define ERROR_INVALID_ENVIRONMENT        1805L
  5719.  
  5720. //
  5721. // MessageId: RPC_S_NO_MORE_BINDINGS
  5722. //
  5723. // MessageText:
  5724. //
  5725. //  There are no more bindings.
  5726. //
  5727. #define RPC_S_NO_MORE_BINDINGS           1806L
  5728.  
  5729. //
  5730. // MessageId: ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
  5731. //
  5732. // MessageText:
  5733. //
  5734. //  The account used is an interdomain trust account.  Use your global user account or local user account to access this server.
  5735. //
  5736. #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807L
  5737.  
  5738. //
  5739. // MessageId: ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT
  5740. //
  5741. // MessageText:
  5742. //
  5743. //  The account used is a Computer Account.  Use your global user account or local user account to access this server.
  5744. //
  5745. #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808L
  5746.  
  5747. //
  5748. // MessageId: ERROR_NOLOGON_SERVER_TRUST_ACCOUNT
  5749. //
  5750. // MessageText:
  5751. //
  5752. //  The account used is an server trust account.  Use your global user account or local user account to access this server.
  5753. //
  5754. #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809L
  5755.  
  5756. //
  5757. // MessageId: ERROR_DOMAIN_TRUST_INCONSISTENT
  5758. //
  5759. // MessageText:
  5760. //
  5761. //  The name or security ID (SID) of the domain specified is inconsistent
  5762. //  with the trust information for that domain.
  5763. //
  5764. #define ERROR_DOMAIN_TRUST_INCONSISTENT  1810L
  5765.  
  5766. //
  5767. // MessageId: ERROR_SERVER_HAS_OPEN_HANDLES
  5768. //
  5769. // MessageText:
  5770. //
  5771. //  The server is in use and cannot be unloaded.
  5772. //
  5773. #define ERROR_SERVER_HAS_OPEN_HANDLES    1811L
  5774.  
  5775. //
  5776. // MessageId: ERROR_RESOURCE_DATA_NOT_FOUND
  5777. //
  5778. // MessageText:
  5779. //
  5780. //  The specified image file did not contain a resource section.
  5781. //
  5782. #define ERROR_RESOURCE_DATA_NOT_FOUND    1812L
  5783.  
  5784. //
  5785. // MessageId: ERROR_RESOURCE_TYPE_NOT_FOUND
  5786. //
  5787. // MessageText:
  5788. //
  5789. //  The specified resource type can not be found in the image file.
  5790. //
  5791. #define ERROR_RESOURCE_TYPE_NOT_FOUND    1813L
  5792.  
  5793. //
  5794. // MessageId: ERROR_RESOURCE_NAME_NOT_FOUND
  5795. //
  5796. // MessageText:
  5797. //
  5798. //  The specified resource name can not be found in the image file.
  5799. //
  5800. #define ERROR_RESOURCE_NAME_NOT_FOUND    1814L
  5801.  
  5802. //
  5803. // MessageId: ERROR_RESOURCE_LANG_NOT_FOUND
  5804. //
  5805. // MessageText:
  5806. //
  5807. //  The specified resource language ID cannot be found in the image file.
  5808. //
  5809. #define ERROR_RESOURCE_LANG_NOT_FOUND    1815L
  5810.  
  5811. //
  5812. // MessageId: ERROR_NOT_ENOUGH_QUOTA
  5813. //
  5814. // MessageText:
  5815. //
  5816. //  Not enough quota is available to process this command.
  5817. //
  5818. #define ERROR_NOT_ENOUGH_QUOTA           1816L
  5819.  
  5820. //
  5821. // MessageId: RPC_S_NO_INTERFACES
  5822. //
  5823. // MessageText:
  5824. //
  5825. //  No interfaces have been registered.
  5826. //
  5827. #define RPC_S_NO_INTERFACES              1817L
  5828.  
  5829. //
  5830. // MessageId: RPC_S_CALL_CANCELLED
  5831. //
  5832. // MessageText:
  5833. //
  5834. //  The server was altered while processing this call.
  5835. //
  5836. #define RPC_S_CALL_CANCELLED             1818L
  5837.  
  5838. //
  5839. // MessageId: RPC_S_BINDING_INCOMPLETE
  5840. //
  5841. // MessageText:
  5842. //
  5843. //  The binding handle does not contain all required information.
  5844. //
  5845. #define RPC_S_BINDING_INCOMPLETE         1819L
  5846.  
  5847. //
  5848. // MessageId: RPC_S_COMM_FAILURE
  5849. //
  5850. // MessageText:
  5851. //
  5852. //  Communications failure.
  5853. //
  5854. #define RPC_S_COMM_FAILURE               1820L
  5855.  
  5856. //
  5857. // MessageId: RPC_S_UNSUPPORTED_AUTHN_LEVEL
  5858. //
  5859. // MessageText:
  5860. //
  5861. //  The requested authentication level is not supported.
  5862. //
  5863. #define RPC_S_UNSUPPORTED_AUTHN_LEVEL    1821L
  5864.  
  5865. //
  5866. // MessageId: RPC_S_NO_PRINC_NAME
  5867. //
  5868. // MessageText:
  5869. //
  5870. //  No principal name registered.
  5871. //
  5872. #define RPC_S_NO_PRINC_NAME              1822L
  5873.  
  5874. //
  5875. // MessageId: RPC_S_NOT_RPC_ERROR
  5876. //
  5877. // MessageText:
  5878. //
  5879. //  The error specified is not a valid Windows NT RPC error code.
  5880. //
  5881. #define RPC_S_NOT_RPC_ERROR              1823L
  5882.  
  5883. //
  5884. // MessageId: RPC_S_UUID_LOCAL_ONLY
  5885. //
  5886. // MessageText:
  5887. //
  5888. //  A UUID that is valid only on this computer has been allocated.
  5889. //
  5890. #define RPC_S_UUID_LOCAL_ONLY            1824L
  5891.  
  5892. //
  5893. // MessageId: RPC_S_SEC_PKG_ERROR
  5894. //
  5895. // MessageText:
  5896. //
  5897. //  A security package specific error occurred.
  5898. //
  5899. #define RPC_S_SEC_PKG_ERROR              1825L
  5900.  
  5901. //
  5902. // MessageId: RPC_S_NOT_CANCELLED
  5903. //
  5904. // MessageText:
  5905. //
  5906. //  Thread is not cancelled.
  5907. //
  5908. #define RPC_S_NOT_CANCELLED              1826L
  5909.  
  5910. //
  5911. // MessageId: RPC_X_INVALID_ES_ACTION
  5912. //
  5913. // MessageText:
  5914. //
  5915. //  Invalid operation on the encoding/decoding handle.
  5916. //
  5917. #define RPC_X_INVALID_ES_ACTION          1827L
  5918.  
  5919. //
  5920. // MessageId: RPC_X_WRONG_ES_VERSION
  5921. //
  5922. // MessageText:
  5923. //
  5924. //  Incompatible version of the serializing package.
  5925. //
  5926. #define RPC_X_WRONG_ES_VERSION           1828L
  5927.  
  5928. //
  5929. // MessageId: RPC_X_WRONG_STUB_VERSION
  5930. //
  5931. // MessageText:
  5932. //
  5933. //  Incompatible version of the RPC stub.
  5934. //
  5935. #define RPC_X_WRONG_STUB_VERSION         1829L
  5936.  
  5937. //
  5938. // MessageId: RPC_X_INVALID_PIPE_OBJECT
  5939. //
  5940. // MessageText:
  5941. //
  5942. //  The idl pipe object is invalid or corrupted.
  5943. //
  5944. #define RPC_X_INVALID_PIPE_OBJECT        1830L
  5945.  
  5946. //
  5947. // MessageId: RPC_X_INVALID_PIPE_OPERATION
  5948. //
  5949. // MessageText:
  5950. //
  5951. //  The operation is invalid for a given idl pipe object.
  5952. //
  5953. #define RPC_X_INVALID_PIPE_OPERATION     1831L
  5954.  
  5955. //
  5956. // MessageId: RPC_X_WRONG_PIPE_VERSION
  5957. //
  5958. // MessageText:
  5959. //
  5960. //  The idl pipe version is not supported.
  5961. //
  5962. #define RPC_X_WRONG_PIPE_VERSION         1832L
  5963.  
  5964. //
  5965. // MessageId: RPC_S_GROUP_MEMBER_NOT_FOUND
  5966. //
  5967. // MessageText:
  5968. //
  5969. //  The group member was not found.
  5970. //
  5971. #define RPC_S_GROUP_MEMBER_NOT_FOUND     1898L
  5972.  
  5973. //
  5974. // MessageId: EPT_S_CANT_CREATE
  5975. //
  5976. // MessageText:
  5977. //
  5978. //  The endpoint mapper database could not be created.
  5979. //
  5980. #define EPT_S_CANT_CREATE                1899L
  5981.  
  5982. //
  5983. // MessageId: RPC_S_INVALID_OBJECT
  5984. //
  5985. // MessageText:
  5986. //
  5987. //  The object universal unique identifier (UUID) is the nil UUID.
  5988. //
  5989. #define RPC_S_INVALID_OBJECT             1900L
  5990.  
  5991. //
  5992. // MessageId: ERROR_INVALID_TIME
  5993. //
  5994. // MessageText:
  5995. //
  5996. //  The specified time is invalid.
  5997. //
  5998. #define ERROR_INVALID_TIME               1901L
  5999.  
  6000. //
  6001. // MessageId: ERROR_INVALID_FORM_NAME
  6002. //
  6003. // MessageText:
  6004. //
  6005. //  The specified Form name is invalid.
  6006. //
  6007. #define ERROR_INVALID_FORM_NAME          1902L
  6008.  
  6009. //
  6010. // MessageId: ERROR_INVALID_FORM_SIZE
  6011. //
  6012. // MessageText:
  6013. //
  6014. //  The specified Form size is invalid
  6015. //
  6016. #define ERROR_INVALID_FORM_SIZE          1903L
  6017.  
  6018. //
  6019. // MessageId: ERROR_ALREADY_WAITING
  6020. //
  6021. // MessageText:
  6022. //
  6023. //  The specified Printer handle is already being waited on
  6024. //
  6025. #define ERROR_ALREADY_WAITING            1904L
  6026.  
  6027. //
  6028. // MessageId: ERROR_PRINTER_DELETED
  6029. //
  6030. // MessageText:
  6031. //
  6032. //  The specified Printer has been deleted
  6033. //
  6034. #define ERROR_PRINTER_DELETED            1905L
  6035.  
  6036. //
  6037. // MessageId: ERROR_INVALID_PRINTER_STATE
  6038. //
  6039. // MessageText:
  6040. //
  6041. //  The state of the Printer is invalid
  6042. //
  6043. #define ERROR_INVALID_PRINTER_STATE      1906L
  6044.  
  6045. //
  6046. // MessageId: ERROR_PASSWORD_MUST_CHANGE
  6047. //
  6048. // MessageText:
  6049. //
  6050. //  The user must change his password before he logs on the first time.
  6051. //
  6052. #define ERROR_PASSWORD_MUST_CHANGE       1907L
  6053.  
  6054. //
  6055. // MessageId: ERROR_DOMAIN_CONTROLLER_NOT_FOUND
  6056. //
  6057. // MessageText:
  6058. //
  6059. //  Could not find the domain controller for this domain.
  6060. //
  6061. #define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 1908L
  6062.  
  6063. //
  6064. // MessageId: ERROR_ACCOUNT_LOCKED_OUT
  6065. //
  6066. // MessageText:
  6067. //
  6068. //  The referenced account is currently locked out and may not be logged on to.
  6069. //
  6070. #define ERROR_ACCOUNT_LOCKED_OUT         1909L
  6071.  
  6072. //
  6073. // MessageId: OR_INVALID_OXID
  6074. //
  6075. // MessageText:
  6076. //
  6077. //  The object exporter specified was not found.
  6078. //
  6079. #define OR_INVALID_OXID                  1910L
  6080.  
  6081. //
  6082. // MessageId: OR_INVALID_OID
  6083. //
  6084. // MessageText:
  6085. //
  6086. //  The object specified was not found.
  6087. //
  6088. #define OR_INVALID_OID                   1911L
  6089.  
  6090. //
  6091. // MessageId: OR_INVALID_SET
  6092. //
  6093. // MessageText:
  6094. //
  6095. //  The object resolver set specified was not found.
  6096. //
  6097. #define OR_INVALID_SET                   1912L
  6098.  
  6099. //
  6100. // MessageId: RPC_S_SEND_INCOMPLETE
  6101. //
  6102. // MessageText:
  6103. //
  6104. //  Some data remains to be sent in the request buffer.
  6105. //
  6106. #define RPC_S_SEND_INCOMPLETE            1913L
  6107.  
  6108. //
  6109. // MessageId: ERROR_NO_BROWSER_SERVERS_FOUND
  6110. //
  6111. // MessageText:
  6112. //
  6113. //  The list of servers for this workgroup is not currently available
  6114. //
  6115. #define ERROR_NO_BROWSER_SERVERS_FOUND   6118L
  6116.  
  6117.  
  6118.  
  6119.  
  6120. ///////////////////////////
  6121. //                       //
  6122. //   OpenGL Error Code   //
  6123. //                       //
  6124. ///////////////////////////
  6125.  
  6126.  
  6127. //
  6128. // MessageId: ERROR_INVALID_PIXEL_FORMAT
  6129. //
  6130. // MessageText:
  6131. //
  6132. //  The pixel format is invalid.
  6133. //
  6134. #define ERROR_INVALID_PIXEL_FORMAT       2000L
  6135.  
  6136. //
  6137. // MessageId: ERROR_BAD_DRIVER
  6138. //
  6139. // MessageText:
  6140. //
  6141. //  The specified driver is invalid.
  6142. //
  6143. #define ERROR_BAD_DRIVER                 2001L
  6144.  
  6145. //
  6146. // MessageId: ERROR_INVALID_WINDOW_STYLE
  6147. //
  6148. // MessageText:
  6149. //
  6150. //  The window style or class attribute is invalid for this operation.
  6151. //
  6152. #define ERROR_INVALID_WINDOW_STYLE       2002L
  6153.  
  6154. //
  6155. // MessageId: ERROR_METAFILE_NOT_SUPPORTED
  6156. //
  6157. // MessageText:
  6158. //
  6159. //  The requested metafile operation is not supported.
  6160. //
  6161. #define ERROR_METAFILE_NOT_SUPPORTED     2003L
  6162.  
  6163. //
  6164. // MessageId: ERROR_TRANSFORM_NOT_SUPPORTED
  6165. //
  6166. // MessageText:
  6167. //
  6168. //  The requested transformation operation is not supported.
  6169. //
  6170. #define ERROR_TRANSFORM_NOT_SUPPORTED    2004L
  6171.  
  6172. //
  6173. // MessageId: ERROR_CLIPPING_NOT_SUPPORTED
  6174. //
  6175. // MessageText:
  6176. //
  6177. //  The requested clipping operation is not supported.
  6178. //
  6179. #define ERROR_CLIPPING_NOT_SUPPORTED     2005L
  6180.  
  6181. // End of OpenGL error codes
  6182.  
  6183.  
  6184.  
  6185. ////////////////////////////////////
  6186. //                                //
  6187. //     Win32 Spooler Error Codes  //
  6188. //                                //
  6189. ////////////////////////////////////
  6190. //
  6191. // MessageId: ERROR_UNKNOWN_PRINT_MONITOR
  6192. //
  6193. // MessageText:
  6194. //
  6195. //  The specified print monitor is unknown.
  6196. //
  6197. #define ERROR_UNKNOWN_PRINT_MONITOR      3000L
  6198.  
  6199. //
  6200. // MessageId: ERROR_PRINTER_DRIVER_IN_USE
  6201. //
  6202. // MessageText:
  6203. //
  6204. //  The specified printer driver is currently in use.
  6205. //
  6206. #define ERROR_PRINTER_DRIVER_IN_USE      3001L
  6207.  
  6208. //
  6209. // MessageId: ERROR_SPOOL_FILE_NOT_FOUND
  6210. //
  6211. // MessageText:
  6212. //
  6213. //  The spool file was not found.
  6214. //
  6215. #define ERROR_SPOOL_FILE_NOT_FOUND       3002L
  6216.  
  6217. //
  6218. // MessageId: ERROR_SPL_NO_STARTDOC
  6219. //
  6220. // MessageText:
  6221. //
  6222. //  A StartDocPrinter call was not issued.
  6223. //
  6224. #define ERROR_SPL_NO_STARTDOC            3003L
  6225.  
  6226. //
  6227. // MessageId: ERROR_SPL_NO_ADDJOB
  6228. //
  6229. // MessageText:
  6230. //
  6231. //  An AddJob call was not issued.
  6232. //
  6233. #define ERROR_SPL_NO_ADDJOB              3004L
  6234.  
  6235. //
  6236. // MessageId: ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED
  6237. //
  6238. // MessageText:
  6239. //
  6240. //  The specified print processor has already been installed.
  6241. //
  6242. #define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005L
  6243.  
  6244. //
  6245. // MessageId: ERROR_PRINT_MONITOR_ALREADY_INSTALLED
  6246. //
  6247. // MessageText:
  6248. //
  6249. //  The specified print monitor has already been installed.
  6250. //
  6251. #define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006L
  6252.  
  6253. //
  6254. // MessageId: ERROR_INVALID_PRINT_MONITOR
  6255. //
  6256. // MessageText:
  6257. //
  6258. //  The specified print monitor does not have the required functions.
  6259. //
  6260. #define ERROR_INVALID_PRINT_MONITOR      3007L
  6261.  
  6262. //
  6263. // MessageId: ERROR_PRINT_MONITOR_IN_USE
  6264. //
  6265. // MessageText:
  6266. //
  6267. //  The specified print monitor is currently in use.
  6268. //
  6269. #define ERROR_PRINT_MONITOR_IN_USE       3008L
  6270.  
  6271. //
  6272. // MessageId: ERROR_PRINTER_HAS_JOBS_QUEUED
  6273. //
  6274. // MessageText:
  6275. //
  6276. //  The requested operation is not allowed when there are jobs queued to the printer.
  6277. //
  6278. #define ERROR_PRINTER_HAS_JOBS_QUEUED    3009L
  6279.  
  6280. //
  6281. // MessageId: ERROR_SUCCESS_REBOOT_REQUIRED
  6282. //
  6283. // MessageText:
  6284. //
  6285. //  The requested operation is successful.  Changes will not be effective until the system is rebooted.
  6286. //
  6287. #define ERROR_SUCCESS_REBOOT_REQUIRED    3010L
  6288.  
  6289. //
  6290. // MessageId: ERROR_SUCCESS_RESTART_REQUIRED
  6291. //
  6292. // MessageText:
  6293. //
  6294. //  The requested operation is successful.  Changes will not be effective until the service is restarted.
  6295. //
  6296. #define ERROR_SUCCESS_RESTART_REQUIRED   3011L
  6297.  
  6298. ////////////////////////////////////
  6299. //                                //
  6300. //     Wins Error Codes           //
  6301. //                                //
  6302. ////////////////////////////////////
  6303. //
  6304. // MessageId: ERROR_WINS_INTERNAL
  6305. //
  6306. // MessageText:
  6307. //
  6308. //  WINS encountered an error while processing the command.
  6309. //
  6310. #define ERROR_WINS_INTERNAL              4000L
  6311.  
  6312. //
  6313. // MessageId: ERROR_CAN_NOT_DEL_LOCAL_WINS
  6314. //
  6315. // MessageText:
  6316. //
  6317. //  The local WINS can not be deleted.
  6318. //
  6319. #define ERROR_CAN_NOT_DEL_LOCAL_WINS     4001L
  6320.  
  6321. //
  6322. // MessageId: ERROR_STATIC_INIT
  6323. //
  6324. // MessageText:
  6325. //
  6326. //  The importation from the file failed.
  6327. //
  6328. #define ERROR_STATIC_INIT                4002L
  6329.  
  6330. //
  6331. // MessageId: ERROR_INC_BACKUP
  6332. //
  6333. // MessageText:
  6334. //
  6335. //  The backup Failed.  Was a full backup done before ?
  6336. //
  6337. #define ERROR_INC_BACKUP                 4003L
  6338.  
  6339. //
  6340. // MessageId: ERROR_FULL_BACKUP
  6341. //
  6342. // MessageText:
  6343. //
  6344. //  The backup Failed.  Check the directory that you are backing the database to.
  6345. //
  6346. #define ERROR_FULL_BACKUP                4004L
  6347.  
  6348. //
  6349. // MessageId: ERROR_REC_NON_EXISTENT
  6350. //
  6351. // MessageText:
  6352. //
  6353. //  The name does not exist in the WINS database.
  6354. //
  6355. #define ERROR_REC_NON_EXISTENT           4005L
  6356.  
  6357. //
  6358. // MessageId: ERROR_RPL_NOT_ALLOWED
  6359. //
  6360. // MessageText:
  6361. //
  6362. //  Replication with a non-configured partner is not allowed.
  6363. //
  6364. #define ERROR_RPL_NOT_ALLOWED            4006L
  6365.  
  6366. ////////////////////////////////////
  6367. //                                //
  6368. //     OLE Error Codes            //
  6369. //                                //
  6370. ////////////////////////////////////
  6371.  
  6372. //
  6373. // OLE error definitions and values
  6374. //
  6375. // The return value of OLE APIs and methods is an HRESULT.
  6376. // This is not a handle to anything, but is merely a 32-bit value
  6377. // with several fields encoded in the value.  The parts of an
  6378. // HRESULT are shown below.
  6379. //
  6380. // Many of the macros and functions below were orginally defined to
  6381. // operate on SCODEs.  SCODEs are no longer used.  The macros are
  6382. // still present for compatibility and easy porting of Win16 code.
  6383. // Newly written code should use the HRESULT macros and functions.
  6384. //
  6385.  
  6386. //
  6387. //  HRESULTs are 32 bit values layed out as follows:
  6388. //
  6389. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  6390. //   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
  6391. //  +-+-+-+-+-+---------------------+-------------------------------+
  6392. //  |S|R|C|N|r|    Facility         |               Code            |
  6393. //  +-+-+-+-+-+---------------------+-------------------------------+
  6394. //
  6395. //  where
  6396. //
  6397. //      S - Severity - indicates success/fail
  6398. //
  6399. //          0 - Success
  6400. //          1 - Fail (COERROR)
  6401. //
  6402. //      R - reserved portion of the facility code, corresponds to NT's
  6403. //              second severity bit.
  6404. //
  6405. //      C - reserved portion of the facility code, corresponds to NT's
  6406. //              C field.
  6407. //
  6408. //      N - reserved portion of the facility code. Used to indicate a
  6409. //              mapped NT status value.
  6410. //
  6411. //      r - reserved portion of the facility code. Reserved for internal
  6412. //              use. Used to indicate HRESULT values that are not status
  6413. //              values, but are instead message ids for display strings.
  6414. //
  6415. //      Facility - is the facility code
  6416. //
  6417. //      Code - is the facility's status code
  6418. //
  6419.  
  6420. //
  6421. // Severity values
  6422. //
  6423.  
  6424. #define SEVERITY_SUCCESS    0
  6425. #define SEVERITY_ERROR      1
  6426.  
  6427.  
  6428. //
  6429. // Generic test for success on any status value (non-negative numbers
  6430. // indicate success).
  6431. //
  6432.  
  6433. #define SUCCEEDED(Status) ((HRESULT)(Status) >= 0)
  6434.  
  6435. //
  6436. // and the inverse
  6437. //
  6438.  
  6439. #define FAILED(Status) ((HRESULT)(Status)<0)
  6440.  
  6441.  
  6442. //
  6443. // Generic test for error on any status value.
  6444. //
  6445.  
  6446. #define IS_ERROR(Status) ((unsigned long)(Status) >> 31 == SEVERITY_ERROR)
  6447.  
  6448. //
  6449. // Return the code
  6450. //
  6451.  
  6452. #define HRESULT_CODE(hr)    ((hr) & 0xFFFF)
  6453. #define SCODE_CODE(sc)      ((sc) & 0xFFFF)
  6454.  
  6455. //
  6456. //  Return the facility
  6457. //
  6458.  
  6459. #define HRESULT_FACILITY(hr)  (((hr) >> 16) & 0x1fff)
  6460. #define SCODE_FACILITY(sc)    (((sc) >> 16) & 0x1fff)
  6461.  
  6462. //
  6463. //  Return the severity
  6464. //
  6465.  
  6466. #define HRESULT_SEVERITY(hr)  (((hr) >> 31) & 0x1)
  6467. #define SCODE_SEVERITY(sc)    (((sc) >> 31) & 0x1)
  6468.  
  6469. //
  6470. // Create an HRESULT value from component pieces
  6471. //
  6472.  
  6473. #define MAKE_HRESULT(sev,fac,code) \
  6474.     ((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
  6475. #define MAKE_SCODE(sev,fac,code) \
  6476.     ((SCODE) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
  6477.  
  6478.  
  6479. //
  6480. // Map a WIN32 error value into a HRESULT
  6481. // Note: This assumes that WIN32 errors fall in the range -32k to 32k.
  6482. //
  6483. // Define bits here so macros are guaranteed to work
  6484.  
  6485. #define FACILITY_NT_BIT                 0x10000000
  6486. #define HRESULT_FROM_WIN32(x)   (x ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : 0 )
  6487.  
  6488. //
  6489. // Map an NT status value into a HRESULT
  6490. //
  6491.  
  6492. #define HRESULT_FROM_NT(x)      ((HRESULT) ((x) | FACILITY_NT_BIT))
  6493.  
  6494.  
  6495. // ****** OBSOLETE functions
  6496.  
  6497. // HRESULT functions
  6498. // As noted above, these functions are obsolete and should not be used.
  6499.  
  6500.  
  6501. // Extract the SCODE from a HRESULT
  6502.  
  6503. #define GetScode(hr) ((SCODE) (hr))
  6504.  
  6505. // Convert an SCODE into an HRESULT.
  6506.  
  6507. #define ResultFromScode(sc) ((HRESULT) (sc))
  6508.  
  6509.  
  6510. // PropagateResult is a noop
  6511. #define PropagateResult(hrPrevious, scBase) ((HRESULT) scBase)
  6512.  
  6513.  
  6514. // ****** End of OBSOLETE functions.
  6515.  
  6516.  
  6517. // ---------------------- HRESULT value definitions -----------------
  6518. //
  6519. // HRESULT definitions
  6520. //
  6521.  
  6522. #ifdef RC_INVOKED
  6523. #define _HRESULT_TYPEDEF_(_sc) _sc
  6524. #else // RC_INVOKED
  6525. #define _HRESULT_TYPEDEF_(_sc) ((HRESULT)_sc)
  6526. #endif // RC_INVOKED
  6527.  
  6528. #define NOERROR             0
  6529.  
  6530. //
  6531. // Error definitions follow
  6532. //
  6533.  
  6534. //
  6535. // Codes 0x4000-0x40ff are reserved for OLE
  6536. //
  6537. //
  6538. // Error codes
  6539. //
  6540. //
  6541. // MessageId: E_UNEXPECTED
  6542. //
  6543. // MessageText:
  6544. //
  6545. //  Catastrophic failure
  6546. //
  6547. #define E_UNEXPECTED                     _HRESULT_TYPEDEF_(0x8000FFFFL)
  6548.  
  6549. #if defined(_WIN32) && !defined(_MAC)
  6550. //
  6551. // MessageId: E_NOTIMPL
  6552. //
  6553. // MessageText:
  6554. //
  6555. //  Not implemented
  6556. //
  6557. #define E_NOTIMPL                        _HRESULT_TYPEDEF_(0x80004001L)
  6558.  
  6559. //
  6560. // MessageId: E_OUTOFMEMORY
  6561. //
  6562. // MessageText:
  6563. //
  6564. //  Ran out of memory
  6565. //
  6566. #define E_OUTOFMEMORY                    _HRESULT_TYPEDEF_(0x8007000EL)
  6567.  
  6568. //
  6569. // MessageId: E_INVALIDARG
  6570. //
  6571. // MessageText:
  6572. //
  6573. //  One or more arguments are invalid
  6574. //
  6575. #define E_INVALIDARG                     _HRESULT_TYPEDEF_(0x80070057L)
  6576.  
  6577. //
  6578. // MessageId: E_NOINTERFACE
  6579. //
  6580. // MessageText:
  6581. //
  6582. //  No such interface supported
  6583. //
  6584. #define E_NOINTERFACE                    _HRESULT_TYPEDEF_(0x80004002L)
  6585.  
  6586. //
  6587. // MessageId: E_POINTER
  6588. //
  6589. // MessageText:
  6590. //
  6591. //  Invalid pointer
  6592. //
  6593. #define E_POINTER                        _HRESULT_TYPEDEF_(0x80004003L)
  6594.  
  6595. //
  6596. // MessageId: E_HANDLE
  6597. //
  6598. // MessageText:
  6599. //
  6600. //  Invalid handle
  6601. //
  6602. #define E_HANDLE                         _HRESULT_TYPEDEF_(0x80070006L)
  6603.  
  6604. //
  6605. // MessageId: E_ABORT
  6606. //
  6607. // MessageText:
  6608. //
  6609. //  Operation aborted
  6610. //
  6611. #define E_ABORT                          _HRESULT_TYPEDEF_(0x80004004L)
  6612.  
  6613. //
  6614. // MessageId: E_FAIL
  6615. //
  6616. // MessageText:
  6617. //
  6618. //  Unspecified error
  6619. //
  6620. #define E_FAIL                           _HRESULT_TYPEDEF_(0x80004005L)
  6621.  
  6622. //
  6623. // MessageId: E_ACCESSDENIED
  6624. //
  6625. // MessageText:
  6626. //
  6627. //  General access denied error
  6628. //
  6629. #define E_ACCESSDENIED                   _HRESULT_TYPEDEF_(0x80070005L)
  6630.  
  6631. #else
  6632. //
  6633. // MessageId: E_NOTIMPL
  6634. //
  6635. // MessageText:
  6636. //
  6637. //  Not implemented
  6638. //
  6639. #define E_NOTIMPL                        _HRESULT_TYPEDEF_(0x80000001L)
  6640.  
  6641. //
  6642. // MessageId: E_OUTOFMEMORY
  6643. //
  6644. // MessageText:
  6645. //
  6646. //  Ran out of memory
  6647. //
  6648. #define E_OUTOFMEMORY                    _HRESULT_TYPEDEF_(0x80000002L)
  6649.  
  6650. //
  6651. // MessageId: E_INVALIDARG
  6652. //
  6653. // MessageText:
  6654. //
  6655. //  One or more arguments are invalid
  6656. //
  6657. #define E_INVALIDARG                     _HRESULT_TYPEDEF_(0x80000003L)
  6658.  
  6659. //
  6660. // MessageId: E_NOINTERFACE
  6661. //
  6662. // MessageText:
  6663. //
  6664. //  No such interface supported
  6665. //
  6666. #define E_NOINTERFACE                    _HRESULT_TYPEDEF_(0x80000004L)
  6667.  
  6668. //
  6669. // MessageId: E_POINTER
  6670. //
  6671. // MessageText:
  6672. //
  6673. //  Invalid pointer
  6674. //
  6675. #define E_POINTER                        _HRESULT_TYPEDEF_(0x80000005L)
  6676.  
  6677. //
  6678. // MessageId: E_HANDLE
  6679. //
  6680. // MessageText:
  6681. //
  6682. //  Invalid handle
  6683. //
  6684. #define E_HANDLE                         _HRESULT_TYPEDEF_(0x80000006L)
  6685.  
  6686. //
  6687. // MessageId: E_ABORT
  6688. //
  6689. // MessageText:
  6690. //
  6691. //  Operation aborted
  6692. //
  6693. #define E_ABORT                          _HRESULT_TYPEDEF_(0x80000007L)
  6694.  
  6695. //
  6696. // MessageId: E_FAIL
  6697. //
  6698. // MessageText:
  6699. //
  6700. //  Unspecified error
  6701. //
  6702. #define E_FAIL                           _HRESULT_TYPEDEF_(0x80000008L)
  6703.  
  6704. //
  6705. // MessageId: E_ACCESSDENIED
  6706. //
  6707. // MessageText:
  6708. //
  6709. //  General access denied error
  6710. //
  6711. #define E_ACCESSDENIED                   _HRESULT_TYPEDEF_(0x80000009L)
  6712.  
  6713. #endif //WIN32
  6714. //
  6715. // MessageId: E_PENDING
  6716. //
  6717. // MessageText:
  6718. //
  6719. //  The data necessary to complete this operation is not yet available.
  6720. //
  6721. #define E_PENDING                        _HRESULT_TYPEDEF_(0x8000000AL)
  6722.  
  6723. //
  6724. // MessageId: CO_E_INIT_TLS
  6725. //
  6726. // MessageText:
  6727. //
  6728. //  Thread local storage failure
  6729. //
  6730. #define CO_E_INIT_TLS                    _HRESULT_TYPEDEF_(0x80004006L)
  6731.  
  6732. //
  6733. // MessageId: CO_E_INIT_SHARED_ALLOCATOR
  6734. //
  6735. // MessageText:
  6736. //
  6737. //  Get shared memory allocator failure
  6738. //
  6739. #define CO_E_INIT_SHARED_ALLOCATOR       _HRESULT_TYPEDEF_(0x80004007L)
  6740.  
  6741. //
  6742. // MessageId: CO_E_INIT_MEMORY_ALLOCATOR
  6743. //
  6744. // MessageText:
  6745. //
  6746. //  Get memory allocator failure
  6747. //
  6748. #define CO_E_INIT_MEMORY_ALLOCATOR       _HRESULT_TYPEDEF_(0x80004008L)
  6749.  
  6750. //
  6751. // MessageId: CO_E_INIT_CLASS_CACHE
  6752. //
  6753. // MessageText:
  6754. //
  6755. //  Unable to initialize class cache
  6756. //
  6757. #define CO_E_INIT_CLASS_CACHE            _HRESULT_TYPEDEF_(0x80004009L)
  6758.  
  6759. //
  6760. // MessageId: CO_E_INIT_RPC_CHANNEL
  6761. //
  6762. // MessageText:
  6763. //
  6764. //  Unable to initialize RPC services
  6765. //
  6766. #define CO_E_INIT_RPC_CHANNEL            _HRESULT_TYPEDEF_(0x8000400AL)
  6767.  
  6768. //
  6769. // MessageId: CO_E_INIT_TLS_SET_CHANNEL_CONTROL
  6770. //
  6771. // MessageText:
  6772. //
  6773. //  Cannot set thread local storage channel control
  6774. //
  6775. #define CO_E_INIT_TLS_SET_CHANNEL_CONTROL _HRESULT_TYPEDEF_(0x8000400BL)
  6776.  
  6777. //
  6778. // MessageId: CO_E_INIT_TLS_CHANNEL_CONTROL
  6779. //
  6780. // MessageText:
  6781. //
  6782. //  Could not allocate thread local storage channel control
  6783. //
  6784. #define CO_E_INIT_TLS_CHANNEL_CONTROL    _HRESULT_TYPEDEF_(0x8000400CL)
  6785.  
  6786. //
  6787. // MessageId: CO_E_INIT_UNACCEPTED_USER_ALLOCATOR
  6788. //
  6789. // MessageText:
  6790. //
  6791. //  The user supplied memory allocator is unacceptable
  6792. //
  6793. #define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR _HRESULT_TYPEDEF_(0x8000400DL)
  6794.  
  6795. //
  6796. // MessageId: CO_E_INIT_SCM_MUTEX_EXISTS
  6797. //
  6798. // MessageText:
  6799. //
  6800. //  The OLE service mutex already exists
  6801. //
  6802. #define CO_E_INIT_SCM_MUTEX_EXISTS       _HRESULT_TYPEDEF_(0x8000400EL)
  6803.  
  6804. //
  6805. // MessageId: CO_E_INIT_SCM_FILE_MAPPING_EXISTS
  6806. //
  6807. // MessageText:
  6808. //
  6809. //  The OLE service file mapping already exists
  6810. //
  6811. #define CO_E_INIT_SCM_FILE_MAPPING_EXISTS _HRESULT_TYPEDEF_(0x8000400FL)
  6812.  
  6813. //
  6814. // MessageId: CO_E_INIT_SCM_MAP_VIEW_OF_FILE
  6815. //
  6816. // MessageText:
  6817. //
  6818. //  Unable to map view of file for OLE service
  6819. //
  6820. #define CO_E_INIT_SCM_MAP_VIEW_OF_FILE   _HRESULT_TYPEDEF_(0x80004010L)
  6821.  
  6822. //
  6823. // MessageId: CO_E_INIT_SCM_EXEC_FAILURE
  6824. //
  6825. // MessageText:
  6826. //
  6827. //  Failure attempting to launch OLE service
  6828. //
  6829. #define CO_E_INIT_SCM_EXEC_FAILURE       _HRESULT_TYPEDEF_(0x80004011L)
  6830.  
  6831. //
  6832. // MessageId: CO_E_INIT_ONLY_SINGLE_THREADED
  6833. //
  6834. // MessageText:
  6835. //
  6836. //  There was an attempt to call CoInitialize a second time while single threaded
  6837. //
  6838. #define CO_E_INIT_ONLY_SINGLE_THREADED   _HRESULT_TYPEDEF_(0x80004012L)
  6839.  
  6840. //
  6841. // MessageId: CO_E_CANT_REMOTE
  6842. //
  6843. // MessageText:
  6844. //
  6845. //  A Remote activation was necessary but was not allowed
  6846. //
  6847. #define CO_E_CANT_REMOTE                 _HRESULT_TYPEDEF_(0x80004013L)
  6848.  
  6849. //
  6850. // MessageId: CO_E_BAD_SERVER_NAME
  6851. //
  6852. // MessageText:
  6853. //
  6854. //  A Remote activation was necessary but the server name provided was invalid
  6855. //
  6856. #define CO_E_BAD_SERVER_NAME             _HRESULT_TYPEDEF_(0x80004014L)
  6857.  
  6858. //
  6859. // MessageId: CO_E_WRONG_SERVER_IDENTITY
  6860. //
  6861. // MessageText:
  6862. //
  6863. //  The class is configured to run as a security id different from the caller
  6864. //
  6865. #define CO_E_WRONG_SERVER_IDENTITY       _HRESULT_TYPEDEF_(0x80004015L)
  6866.  
  6867. //
  6868. // MessageId: CO_E_OLE1DDE_DISABLED
  6869. //
  6870. // MessageText:
  6871. //
  6872. //  Use of Ole1 services requiring DDE windows is disabled
  6873. //
  6874. #define CO_E_OLE1DDE_DISABLED            _HRESULT_TYPEDEF_(0x80004016L)
  6875.  
  6876. //
  6877. // MessageId: CO_E_RUNAS_SYNTAX
  6878. //
  6879. // MessageText:
  6880. //
  6881. //  A RunAs specification must be <domain name>\<user name> or simply <user name>
  6882. //
  6883. #define CO_E_RUNAS_SYNTAX                _HRESULT_TYPEDEF_(0x80004017L)
  6884.  
  6885. //
  6886. // MessageId: CO_E_CREATEPROCESS_FAILURE
  6887. //
  6888. // MessageText:
  6889. //
  6890. //  The server process could not be started.  The pathname may be incorrect.
  6891. //
  6892. #define CO_E_CREATEPROCESS_FAILURE       _HRESULT_TYPEDEF_(0x80004018L)
  6893.  
  6894. //
  6895. // MessageId: CO_E_RUNAS_CREATEPROCESS_FAILURE
  6896. //
  6897. // MessageText:
  6898. //
  6899. //  The server process could not be started as the configured identity.  The pathname may be incorrect or unavailable.
  6900. //
  6901. #define CO_E_RUNAS_CREATEPROCESS_FAILURE _HRESULT_TYPEDEF_(0x80004019L)
  6902.  
  6903. //
  6904. // MessageId: CO_E_RUNAS_LOGON_FAILURE
  6905. //
  6906. // MessageText:
  6907. //
  6908. //  The server process could not be started because the configured identity is incorrect.  Check the username and password.
  6909. //
  6910. #define CO_E_RUNAS_LOGON_FAILURE         _HRESULT_TYPEDEF_(0x8000401AL)
  6911.  
  6912. //
  6913. // MessageId: CO_E_LAUNCH_PERMSSION_DENIED
  6914. //
  6915. // MessageText:
  6916. //
  6917. //  The client is not allowed to launch this server.
  6918. //
  6919. #define CO_E_LAUNCH_PERMSSION_DENIED     _HRESULT_TYPEDEF_(0x8000401BL)
  6920.  
  6921. //
  6922. // MessageId: CO_E_START_SERVICE_FAILURE
  6923. //
  6924. // MessageText:
  6925. //
  6926. //  The service providing this server could not be started.
  6927. //
  6928. #define CO_E_START_SERVICE_FAILURE       _HRESULT_TYPEDEF_(0x8000401CL)
  6929.  
  6930. //
  6931. // MessageId: CO_E_REMOTE_COMMUNICATION_FAILURE
  6932. //
  6933. // MessageText:
  6934. //
  6935. //  This computer was unable to communicate with the computer providing the server.
  6936. //
  6937. #define CO_E_REMOTE_COMMUNICATION_FAILURE _HRESULT_TYPEDEF_(0x8000401DL)
  6938.  
  6939. //
  6940. // MessageId: CO_E_SERVER_START_TIMEOUT
  6941. //
  6942. // MessageText:
  6943. //
  6944. //  The server did not respond after being launched.
  6945. //
  6946. #define CO_E_SERVER_START_TIMEOUT        _HRESULT_TYPEDEF_(0x8000401EL)
  6947.  
  6948. //
  6949. // MessageId: CO_E_CLSREG_INCONSISTENT
  6950. //
  6951. // MessageText:
  6952. //
  6953. //  The registration information for this server is inconsistent or incomplete.
  6954. //
  6955. #define CO_E_CLSREG_INCONSISTENT         _HRESULT_TYPEDEF_(0x8000401FL)
  6956.  
  6957. //
  6958. // MessageId: CO_E_IIDREG_INCONSISTENT
  6959. //
  6960. // MessageText:
  6961. //
  6962. //  The registration information for this interface is inconsistent or incomplete.
  6963. //
  6964. #define CO_E_IIDREG_INCONSISTENT         _HRESULT_TYPEDEF_(0x80004020L)
  6965.  
  6966. //
  6967. // MessageId: CO_E_NOT_SUPPORTED
  6968. //
  6969. // MessageText:
  6970. //
  6971. //  The operation attempted is not supported.
  6972. //
  6973. #define CO_E_NOT_SUPPORTED               _HRESULT_TYPEDEF_(0x80004021L)
  6974.  
  6975.  
  6976. //
  6977. // Success codes
  6978. //
  6979. #define S_OK                                   ((HRESULT)0x00000000L)
  6980. #define S_FALSE                                ((HRESULT)0x00000001L)
  6981.  
  6982. // ******************
  6983. // FACILITY_ITF
  6984. // ******************
  6985.  
  6986. //
  6987. // Codes 0x0-0x01ff are reserved for the OLE group of
  6988. // interfaces.
  6989. //
  6990.  
  6991.  
  6992. //
  6993. // Generic OLE errors that may be returned by many inerfaces
  6994. //
  6995.  
  6996. #define OLE_E_FIRST ((HRESULT)0x80040000L)
  6997. #define OLE_E_LAST  ((HRESULT)0x800400FFL)
  6998. #define OLE_S_FIRST ((HRESULT)0x00040000L)
  6999. #define OLE_S_LAST  ((HRESULT)0x000400FFL)
  7000.  
  7001. //
  7002. // Old OLE errors
  7003. //
  7004. //
  7005. // MessageId: OLE_E_OLEVERB
  7006. //
  7007. // MessageText:
  7008. //
  7009. //  Invalid OLEVERB structure
  7010. //
  7011. #define OLE_E_OLEVERB                    _HRESULT_TYPEDEF_(0x80040000L)
  7012.  
  7013. //
  7014. // MessageId: OLE_E_ADVF
  7015. //
  7016. // MessageText:
  7017. //
  7018. //  Invalid advise flags
  7019. //
  7020. #define OLE_E_ADVF                       _HRESULT_TYPEDEF_(0x80040001L)
  7021.  
  7022. //
  7023. // MessageId: OLE_E_ENUM_NOMORE
  7024. //
  7025. // MessageText:
  7026. //
  7027. //  Can't enumerate any more, because the associated data is missing
  7028. //
  7029. #define OLE_E_ENUM_NOMORE                _HRESULT_TYPEDEF_(0x80040002L)
  7030.  
  7031. //
  7032. // MessageId: OLE_E_ADVISENOTSUPPORTED
  7033. //
  7034. // MessageText:
  7035. //
  7036. //  This implementation doesn't take advises
  7037. //
  7038. #define OLE_E_ADVISENOTSUPPORTED         _HRESULT_TYPEDEF_(0x80040003L)
  7039.  
  7040. //
  7041. // MessageId: OLE_E_NOCONNECTION
  7042. //
  7043. // MessageText:
  7044. //
  7045. //  There is no connection for this connection ID
  7046. //
  7047. #define OLE_E_NOCONNECTION               _HRESULT_TYPEDEF_(0x80040004L)
  7048.  
  7049. //
  7050. // MessageId: OLE_E_NOTRUNNING
  7051. //
  7052. // MessageText:
  7053. //
  7054. //  Need to run the object to perform this operation
  7055. //
  7056. #define OLE_E_NOTRUNNING                 _HRESULT_TYPEDEF_(0x80040005L)
  7057.  
  7058. //
  7059. // MessageId: OLE_E_NOCACHE
  7060. //
  7061. // MessageText:
  7062. //
  7063. //  There is no cache to operate on
  7064. //
  7065. #define OLE_E_NOCACHE                    _HRESULT_TYPEDEF_(0x80040006L)
  7066.  
  7067. //
  7068. // MessageId: OLE_E_BLANK
  7069. //
  7070. // MessageText:
  7071. //
  7072. //  Uninitialized object
  7073. //
  7074. #define OLE_E_BLANK                      _HRESULT_TYPEDEF_(0x80040007L)
  7075.  
  7076. //
  7077. // MessageId: OLE_E_CLASSDIFF
  7078. //
  7079. // MessageText:
  7080. //
  7081. //  Linked object's source class has changed
  7082. //
  7083. #define OLE_E_CLASSDIFF                  _HRESULT_TYPEDEF_(0x80040008L)
  7084.  
  7085. //
  7086. // MessageId: OLE_E_CANT_GETMONIKER
  7087. //
  7088. // MessageText:
  7089. //
  7090. //  Not able to get the moniker of the object
  7091. //
  7092. #define OLE_E_CANT_GETMONIKER            _HRESULT_TYPEDEF_(0x80040009L)
  7093.  
  7094. //
  7095. // MessageId: OLE_E_CANT_BINDTOSOURCE
  7096. //
  7097. // MessageText:
  7098. //
  7099. //  Not able to bind to the source
  7100. //
  7101. #define OLE_E_CANT_BINDTOSOURCE          _HRESULT_TYPEDEF_(0x8004000AL)
  7102.  
  7103. //
  7104. // MessageId: OLE_E_STATIC
  7105. //
  7106. // MessageText:
  7107. //
  7108. //  Object is static; operation not allowed
  7109. //
  7110. #define OLE_E_STATIC                     _HRESULT_TYPEDEF_(0x8004000BL)
  7111.  
  7112. //
  7113. // MessageId: OLE_E_PROMPTSAVECANCELLED
  7114. //
  7115. // MessageText:
  7116. //
  7117. //  User cancelled out of save dialog
  7118. //
  7119. #define OLE_E_PROMPTSAVECANCELLED        _HRESULT_TYPEDEF_(0x8004000CL)
  7120.  
  7121. //
  7122. // MessageId: OLE_E_INVALIDRECT
  7123. //
  7124. // MessageText:
  7125. //
  7126. //  Invalid rectangle
  7127. //
  7128. #define OLE_E_INVALIDRECT                _HRESULT_TYPEDEF_(0x8004000DL)
  7129.  
  7130. //
  7131. // MessageId: OLE_E_WRONGCOMPOBJ
  7132. //
  7133. // MessageText:
  7134. //
  7135. //  compobj.dll is too old for the ole2.dll initialized
  7136. //
  7137. #define OLE_E_WRONGCOMPOBJ               _HRESULT_TYPEDEF_(0x8004000EL)
  7138.  
  7139. //
  7140. // MessageId: OLE_E_INVALIDHWND
  7141. //
  7142. // MessageText:
  7143. //
  7144. //  Invalid window handle
  7145. //
  7146. #define OLE_E_INVALIDHWND                _HRESULT_TYPEDEF_(0x8004000FL)
  7147.  
  7148. //
  7149. // MessageId: OLE_E_NOT_INPLACEACTIVE
  7150. //
  7151. // MessageText:
  7152. //
  7153. //  Object is not in any of the inplace active states
  7154. //
  7155. #define OLE_E_NOT_INPLACEACTIVE          _HRESULT_TYPEDEF_(0x80040010L)
  7156.  
  7157. //
  7158. // MessageId: OLE_E_CANTCONVERT
  7159. //
  7160. // MessageText:
  7161. //
  7162. //  Not able to convert object
  7163. //
  7164. #define OLE_E_CANTCONVERT                _HRESULT_TYPEDEF_(0x80040011L)
  7165.  
  7166. //
  7167. // MessageId: OLE_E_NOSTORAGE
  7168. //
  7169. // MessageText:
  7170. //
  7171. //  Not able to perform the operation because object is not given storage yet
  7172. //  
  7173. //
  7174. #define OLE_E_NOSTORAGE                  _HRESULT_TYPEDEF_(0x80040012L)
  7175.  
  7176. //
  7177. // MessageId: DV_E_FORMATETC
  7178. //
  7179. // MessageText:
  7180. //
  7181. //  Invalid FORMATETC structure
  7182. //
  7183. #define DV_E_FORMATETC                   _HRESULT_TYPEDEF_(0x80040064L)
  7184.  
  7185. //
  7186. // MessageId: DV_E_DVTARGETDEVICE
  7187. //
  7188. // MessageText:
  7189. //
  7190. //  Invalid DVTARGETDEVICE structure
  7191. //
  7192. #define DV_E_DVTARGETDEVICE              _HRESULT_TYPEDEF_(0x80040065L)
  7193.  
  7194. //
  7195. // MessageId: DV_E_STGMEDIUM
  7196. //
  7197. // MessageText:
  7198. //
  7199. //  Invalid STDGMEDIUM structure
  7200. //
  7201. #define DV_E_STGMEDIUM                   _HRESULT_TYPEDEF_(0x80040066L)
  7202.  
  7203. //
  7204. // MessageId: DV_E_STATDATA
  7205. //
  7206. // MessageText:
  7207. //
  7208. //  Invalid STATDATA structure
  7209. //
  7210. #define DV_E_STATDATA                    _HRESULT_TYPEDEF_(0x80040067L)
  7211.  
  7212. //
  7213. // MessageId: DV_E_LINDEX
  7214. //
  7215. // MessageText:
  7216. //
  7217. //  Invalid lindex
  7218. //
  7219. #define DV_E_LINDEX                      _HRESULT_TYPEDEF_(0x80040068L)
  7220.  
  7221. //
  7222. // MessageId: DV_E_TYMED
  7223. //
  7224. // MessageText:
  7225. //
  7226. //  Invalid tymed
  7227. //
  7228. #define DV_E_TYMED                       _HRESULT_TYPEDEF_(0x80040069L)
  7229.  
  7230. //
  7231. // MessageId: DV_E_CLIPFORMAT
  7232. //
  7233. // MessageText:
  7234. //
  7235. //  Invalid clipboard format
  7236. //
  7237. #define DV_E_CLIPFORMAT                  _HRESULT_TYPEDEF_(0x8004006AL)
  7238.  
  7239. //
  7240. // MessageId: DV_E_DVASPECT
  7241. //
  7242. // MessageText:
  7243. //
  7244. //  Invalid aspect(s)
  7245. //
  7246. #define DV_E_DVASPECT                    _HRESULT_TYPEDEF_(0x8004006BL)
  7247.  
  7248. //
  7249. // MessageId: DV_E_DVTARGETDEVICE_SIZE
  7250. //
  7251. // MessageText:
  7252. //
  7253. //  tdSize parameter of the DVTARGETDEVICE structure is invalid
  7254. //
  7255. #define DV_E_DVTARGETDEVICE_SIZE         _HRESULT_TYPEDEF_(0x8004006CL)
  7256.  
  7257. //
  7258. // MessageId: DV_E_NOIVIEWOBJECT
  7259. //
  7260. // MessageText:
  7261. //
  7262. //  Object doesn't support IViewObject interface
  7263. //
  7264. #define DV_E_NOIVIEWOBJECT               _HRESULT_TYPEDEF_(0x8004006DL)
  7265.  
  7266. #define DRAGDROP_E_FIRST 0x80040100L
  7267. #define DRAGDROP_E_LAST  0x8004010FL
  7268. #define DRAGDROP_S_FIRST 0x00040100L
  7269. #define DRAGDROP_S_LAST  0x0004010FL
  7270. //
  7271. // MessageId: DRAGDROP_E_NOTREGISTERED
  7272. //
  7273. // MessageText:
  7274. //
  7275. //  Trying to revoke a drop target that has not been registered
  7276. //
  7277. #define DRAGDROP_E_NOTREGISTERED         _HRESULT_TYPEDEF_(0x80040100L)
  7278.  
  7279. //
  7280. // MessageId: DRAGDROP_E_ALREADYREGISTERED
  7281. //
  7282. // MessageText:
  7283. //
  7284. //  This window has already been registered as a drop target
  7285. //
  7286. #define DRAGDROP_E_ALREADYREGISTERED     _HRESULT_TYPEDEF_(0x80040101L)
  7287.  
  7288. //
  7289. // MessageId: DRAGDROP_E_INVALIDHWND
  7290. //
  7291. // MessageText:
  7292. //
  7293. //  Invalid window handle
  7294. //
  7295. #define DRAGDROP_E_INVALIDHWND           _HRESULT_TYPEDEF_(0x80040102L)
  7296.  
  7297. #define CLASSFACTORY_E_FIRST  0x80040110L
  7298. #define CLASSFACTORY_E_LAST   0x8004011FL
  7299. #define CLASSFACTORY_S_FIRST  0x00040110L
  7300. #define CLASSFACTORY_S_LAST   0x0004011FL
  7301. //
  7302. // MessageId: CLASS_E_NOAGGREGATION
  7303. //
  7304. // MessageText:
  7305. //
  7306. //  Class does not support aggregation (or class object is remote)
  7307. //
  7308. #define CLASS_E_NOAGGREGATION            _HRESULT_TYPEDEF_(0x80040110L)
  7309.  
  7310. //
  7311. // MessageId: CLASS_E_CLASSNOTAVAILABLE
  7312. //
  7313. // MessageText:
  7314. //
  7315. //  ClassFactory cannot supply requested class
  7316. //
  7317. #define CLASS_E_CLASSNOTAVAILABLE        _HRESULT_TYPEDEF_(0x80040111L)
  7318.  
  7319. #define MARSHAL_E_FIRST  0x80040120L
  7320. #define MARSHAL_E_LAST   0x8004012FL
  7321. #define MARSHAL_S_FIRST  0x00040120L
  7322. #define MARSHAL_S_LAST   0x0004012FL
  7323. #define DATA_E_FIRST     0x80040130L
  7324. #define DATA_E_LAST      0x8004013FL
  7325. #define DATA_S_FIRST     0x00040130L
  7326. #define DATA_S_LAST      0x0004013FL
  7327. #define VIEW_E_FIRST     0x80040140L
  7328. #define VIEW_E_LAST      0x8004014FL
  7329. #define VIEW_S_FIRST     0x00040140L
  7330. #define VIEW_S_LAST      0x0004014FL
  7331. //
  7332. // MessageId: VIEW_E_DRAW
  7333. //
  7334. // MessageText:
  7335. //
  7336. //  Error drawing view
  7337. //
  7338. #define VIEW_E_DRAW                      _HRESULT_TYPEDEF_(0x80040140L)
  7339.  
  7340. #define REGDB_E_FIRST     0x80040150L
  7341. #define REGDB_E_LAST      0x8004015FL
  7342. #define REGDB_S_FIRST     0x00040150L
  7343. #define REGDB_S_LAST      0x0004015FL
  7344. //
  7345. // MessageId: REGDB_E_READREGDB
  7346. //
  7347. // MessageText:
  7348. //
  7349. //  Could not read key from registry
  7350. //
  7351. #define REGDB_E_READREGDB                _HRESULT_TYPEDEF_(0x80040150L)
  7352.  
  7353. //
  7354. // MessageId: REGDB_E_WRITEREGDB
  7355. //
  7356. // MessageText:
  7357. //
  7358. //  Could not write key to registry
  7359. //
  7360. #define REGDB_E_WRITEREGDB               _HRESULT_TYPEDEF_(0x80040151L)
  7361.  
  7362. //
  7363. // MessageId: REGDB_E_KEYMISSING
  7364. //
  7365. // MessageText:
  7366. //
  7367. //  Could not find the key in the registry
  7368. //
  7369. #define REGDB_E_KEYMISSING               _HRESULT_TYPEDEF_(0x80040152L)
  7370.  
  7371. //
  7372. // MessageId: REGDB_E_INVALIDVALUE
  7373. //
  7374. // MessageText:
  7375. //
  7376. //  Invalid value for registry
  7377. //
  7378. #define REGDB_E_INVALIDVALUE             _HRESULT_TYPEDEF_(0x80040153L)
  7379.  
  7380. //
  7381. // MessageId: REGDB_E_CLASSNOTREG
  7382. //
  7383. // MessageText:
  7384. //
  7385. //  Class not registered
  7386. //
  7387. #define REGDB_E_CLASSNOTREG              _HRESULT_TYPEDEF_(0x80040154L)
  7388.  
  7389. //
  7390. // MessageId: REGDB_E_IIDNOTREG
  7391. //
  7392. // MessageText:
  7393. //
  7394. //  Interface not registered
  7395. //
  7396. #define REGDB_E_IIDNOTREG                _HRESULT_TYPEDEF_(0x80040155L)
  7397.  
  7398. #define CACHE_E_FIRST     0x80040170L
  7399. #define CACHE_E_LAST      0x8004017FL
  7400. #define CACHE_S_FIRST     0x00040170L
  7401. #define CACHE_S_LAST      0x0004017FL
  7402. //
  7403. // MessageId: CACHE_E_NOCACHE_UPDATED
  7404. //
  7405. // MessageText:
  7406. //
  7407. //  Cache not updated
  7408. //
  7409. #define CACHE_E_NOCACHE_UPDATED          _HRESULT_TYPEDEF_(0x80040170L)
  7410.  
  7411. #define OLEOBJ_E_FIRST     0x80040180L
  7412. #define OLEOBJ_E_LAST      0x8004018FL
  7413. #define OLEOBJ_S_FIRST     0x00040180L
  7414. #define OLEOBJ_S_LAST      0x0004018FL
  7415. //
  7416. // MessageId: OLEOBJ_E_NOVERBS
  7417. //
  7418. // MessageText:
  7419. //
  7420. //  No verbs for OLE object
  7421. //
  7422. #define OLEOBJ_E_NOVERBS                 _HRESULT_TYPEDEF_(0x80040180L)
  7423.  
  7424. //
  7425. // MessageId: OLEOBJ_E_INVALIDVERB
  7426. //
  7427. // MessageText:
  7428. //
  7429. //  Invalid verb for OLE object
  7430. //
  7431. #define OLEOBJ_E_INVALIDVERB             _HRESULT_TYPEDEF_(0x80040181L)
  7432.  
  7433. #define CLIENTSITE_E_FIRST     0x80040190L
  7434. #define CLIENTSITE_E_LAST      0x8004019FL
  7435. #define CLIENTSITE_S_FIRST     0x00040190L
  7436. #define CLIENTSITE_S_LAST      0x0004019FL
  7437. //
  7438. // MessageId: INPLACE_E_NOTUNDOABLE
  7439. //
  7440. // MessageText:
  7441. //
  7442. //  Undo is not available
  7443. //
  7444. #define INPLACE_E_NOTUNDOABLE            _HRESULT_TYPEDEF_(0x800401A0L)
  7445.  
  7446. //
  7447. // MessageId: INPLACE_E_NOTOOLSPACE
  7448. //
  7449. // MessageText:
  7450. //
  7451. //  Space for tools is not available
  7452. //
  7453. #define INPLACE_E_NOTOOLSPACE            _HRESULT_TYPEDEF_(0x800401A1L)
  7454.  
  7455. #define INPLACE_E_FIRST     0x800401A0L
  7456. #define INPLACE_E_LAST      0x800401AFL
  7457. #define INPLACE_S_FIRST     0x000401A0L
  7458. #define INPLACE_S_LAST      0x000401AFL
  7459. #define ENUM_E_FIRST        0x800401B0L
  7460. #define ENUM_E_LAST         0x800401BFL
  7461. #define ENUM_S_FIRST        0x000401B0L
  7462. #define ENUM_S_LAST         0x000401BFL
  7463. #define CONVERT10_E_FIRST        0x800401C0L
  7464. #define CONVERT10_E_LAST         0x800401CFL
  7465. #define CONVERT10_S_FIRST        0x000401C0L
  7466. #define CONVERT10_S_LAST         0x000401CFL
  7467. //
  7468. // MessageId: CONVERT10_E_OLESTREAM_GET
  7469. //
  7470. // MessageText:
  7471. //
  7472. //  OLESTREAM Get method failed
  7473. //
  7474. #define CONVERT10_E_OLESTREAM_GET        _HRESULT_TYPEDEF_(0x800401C0L)
  7475.  
  7476. //
  7477. // MessageId: CONVERT10_E_OLESTREAM_PUT
  7478. //
  7479. // MessageText:
  7480. //
  7481. //  OLESTREAM Put method failed
  7482. //
  7483. #define CONVERT10_E_OLESTREAM_PUT        _HRESULT_TYPEDEF_(0x800401C1L)
  7484.  
  7485. //
  7486. // MessageId: CONVERT10_E_OLESTREAM_FMT
  7487. //
  7488. // MessageText:
  7489. //
  7490. //  Contents of the OLESTREAM not in correct format
  7491. //
  7492. #define CONVERT10_E_OLESTREAM_FMT        _HRESULT_TYPEDEF_(0x800401C2L)
  7493.  
  7494. //
  7495. // MessageId: CONVERT10_E_OLESTREAM_BITMAP_TO_DIB
  7496. //
  7497. // MessageText:
  7498. //
  7499. //  There was an error in a Windows GDI call while converting the bitmap to a DIB
  7500. //
  7501. #define CONVERT10_E_OLESTREAM_BITMAP_TO_DIB _HRESULT_TYPEDEF_(0x800401C3L)
  7502.  
  7503. //
  7504. // MessageId: CONVERT10_E_STG_FMT
  7505. //
  7506. // MessageText:
  7507. //
  7508. //  Contents of the IStorage not in correct format
  7509. //
  7510. #define CONVERT10_E_STG_FMT              _HRESULT_TYPEDEF_(0x800401C4L)
  7511.  
  7512. //
  7513. // MessageId: CONVERT10_E_STG_NO_STD_STREAM
  7514. //
  7515. // MessageText:
  7516. //
  7517. //  Contents of IStorage is missing one of the standard streams
  7518. //
  7519. #define CONVERT10_E_STG_NO_STD_STREAM    _HRESULT_TYPEDEF_(0x800401C5L)
  7520.  
  7521. //
  7522. // MessageId: CONVERT10_E_STG_DIB_TO_BITMAP
  7523. //
  7524. // MessageText:
  7525. //
  7526. //  There was an error in a Windows GDI call while converting the DIB to a bitmap.
  7527. //  
  7528. //
  7529. #define CONVERT10_E_STG_DIB_TO_BITMAP    _HRESULT_TYPEDEF_(0x800401C6L)
  7530.  
  7531. #define CLIPBRD_E_FIRST        0x800401D0L
  7532. #define CLIPBRD_E_LAST         0x800401DFL
  7533. #define CLIPBRD_S_FIRST        0x000401D0L
  7534. #define CLIPBRD_S_LAST         0x000401DFL
  7535. //
  7536. // MessageId: CLIPBRD_E_CANT_OPEN
  7537. //
  7538. // MessageText:
  7539. //
  7540. //  OpenClipboard Failed
  7541. //
  7542. #define CLIPBRD_E_CANT_OPEN              _HRESULT_TYPEDEF_(0x800401D0L)
  7543.  
  7544. //
  7545. // MessageId: CLIPBRD_E_CANT_EMPTY
  7546. //
  7547. // MessageText:
  7548. //
  7549. //  EmptyClipboard Failed
  7550. //
  7551. #define CLIPBRD_E_CANT_EMPTY             _HRESULT_TYPEDEF_(0x800401D1L)
  7552.  
  7553. //
  7554. // MessageId: CLIPBRD_E_CANT_SET
  7555. //
  7556. // MessageText:
  7557. //
  7558. //  SetClipboard Failed
  7559. //
  7560. #define CLIPBRD_E_CANT_SET               _HRESULT_TYPEDEF_(0x800401D2L)
  7561.  
  7562. //
  7563. // MessageId: CLIPBRD_E_BAD_DATA
  7564. //
  7565. // MessageText:
  7566. //
  7567. //  Data on clipboard is invalid
  7568. //
  7569. #define CLIPBRD_E_BAD_DATA               _HRESULT_TYPEDEF_(0x800401D3L)
  7570.  
  7571. //
  7572. // MessageId: CLIPBRD_E_CANT_CLOSE
  7573. //
  7574. // MessageText:
  7575. //
  7576. //  CloseClipboard Failed
  7577. //
  7578. #define CLIPBRD_E_CANT_CLOSE             _HRESULT_TYPEDEF_(0x800401D4L)
  7579.  
  7580. #define MK_E_FIRST        0x800401E0L
  7581. #define MK_E_LAST         0x800401EFL
  7582. #define MK_S_FIRST        0x000401E0L
  7583. #define MK_S_LAST         0x000401EFL
  7584. //
  7585. // MessageId: MK_E_CONNECTMANUALLY
  7586. //
  7587. // MessageText:
  7588. //
  7589. //  Moniker needs to be connected manually
  7590. //
  7591. #define MK_E_CONNECTMANUALLY             _HRESULT_TYPEDEF_(0x800401E0L)
  7592.  
  7593. //
  7594. // MessageId: MK_E_EXCEEDEDDEADLINE
  7595. //
  7596. // MessageText:
  7597. //
  7598. //  Operation exceeded deadline
  7599. //
  7600. #define MK_E_EXCEEDEDDEADLINE            _HRESULT_TYPEDEF_(0x800401E1L)
  7601.  
  7602. //
  7603. // MessageId: MK_E_NEEDGENERIC
  7604. //
  7605. // MessageText:
  7606. //
  7607. //  Moniker needs to be generic
  7608. //
  7609. #define MK_E_NEEDGENERIC                 _HRESULT_TYPEDEF_(0x800401E2L)
  7610.  
  7611. //
  7612. // MessageId: MK_E_UNAVAILABLE
  7613. //
  7614. // MessageText:
  7615. //
  7616. //  Operation unavailable
  7617. //
  7618. #define MK_E_UNAVAILABLE                 _HRESULT_TYPEDEF_(0x800401E3L)
  7619.  
  7620. //
  7621. // MessageId: MK_E_SYNTAX
  7622. //
  7623. // MessageText:
  7624. //
  7625. //  Invalid syntax
  7626. //
  7627. #define MK_E_SYNTAX                      _HRESULT_TYPEDEF_(0x800401E4L)
  7628.  
  7629. //
  7630. // MessageId: MK_E_NOOBJECT
  7631. //
  7632. // MessageText:
  7633. //
  7634. //  No object for moniker
  7635. //
  7636. #define MK_E_NOOBJECT                    _HRESULT_TYPEDEF_(0x800401E5L)
  7637.  
  7638. //
  7639. // MessageId: MK_E_INVALIDEXTENSION
  7640. //
  7641. // MessageText:
  7642. //
  7643. //  Bad extension for file
  7644. //
  7645. #define MK_E_INVALIDEXTENSION            _HRESULT_TYPEDEF_(0x800401E6L)
  7646.  
  7647. //
  7648. // MessageId: MK_E_INTERMEDIATEINTERFACENOTSUPPORTED
  7649. //
  7650. // MessageText:
  7651. //
  7652. //  Intermediate operation failed
  7653. //
  7654. #define MK_E_INTERMEDIATEINTERFACENOTSUPPORTED _HRESULT_TYPEDEF_(0x800401E7L)
  7655.  
  7656. //
  7657. // MessageId: MK_E_NOTBINDABLE
  7658. //
  7659. // MessageText:
  7660. //
  7661. //  Moniker is not bindable
  7662. //
  7663. #define MK_E_NOTBINDABLE                 _HRESULT_TYPEDEF_(0x800401E8L)
  7664.  
  7665. //
  7666. // MessageId: MK_E_NOTBOUND
  7667. //
  7668. // MessageText:
  7669. //
  7670. //  Moniker is not bound
  7671. //
  7672. #define MK_E_NOTBOUND                    _HRESULT_TYPEDEF_(0x800401E9L)
  7673.  
  7674. //
  7675. // MessageId: MK_E_CANTOPENFILE
  7676. //
  7677. // MessageText:
  7678. //
  7679. //  Moniker cannot open file
  7680. //
  7681. #define MK_E_CANTOPENFILE                _HRESULT_TYPEDEF_(0x800401EAL)
  7682.  
  7683. //
  7684. // MessageId: MK_E_MUSTBOTHERUSER
  7685. //
  7686. // MessageText:
  7687. //
  7688. //  User input required for operation to succeed
  7689. //
  7690. #define MK_E_MUSTBOTHERUSER              _HRESULT_TYPEDEF_(0x800401EBL)
  7691.  
  7692. //
  7693. // MessageId: MK_E_NOINVERSE
  7694. //
  7695. // MessageText:
  7696. //
  7697. //  Moniker class has no inverse
  7698. //
  7699. #define MK_E_NOINVERSE                   _HRESULT_TYPEDEF_(0x800401ECL)
  7700.  
  7701. //
  7702. // MessageId: MK_E_NOSTORAGE
  7703. //
  7704. // MessageText:
  7705. //
  7706. //  Moniker does not refer to storage
  7707. //
  7708. #define MK_E_NOSTORAGE                   _HRESULT_TYPEDEF_(0x800401EDL)
  7709.  
  7710. //
  7711. // MessageId: MK_E_NOPREFIX
  7712. //
  7713. // MessageText:
  7714. //
  7715. //  No common prefix
  7716. //
  7717. #define MK_E_NOPREFIX                    _HRESULT_TYPEDEF_(0x800401EEL)
  7718.  
  7719. //
  7720. // MessageId: MK_E_ENUMERATION_FAILED
  7721. //
  7722. // MessageText:
  7723. //
  7724. //  Moniker could not be enumerated
  7725. //
  7726. #define MK_E_ENUMERATION_FAILED          _HRESULT_TYPEDEF_(0x800401EFL)
  7727.  
  7728. #define CO_E_FIRST        0x800401F0L
  7729. #define CO_E_LAST         0x800401FFL
  7730. #define CO_S_FIRST        0x000401F0L
  7731. #define CO_S_LAST         0x000401FFL
  7732. //
  7733. // MessageId: CO_E_NOTINITIALIZED
  7734. //
  7735. // MessageText:
  7736. //
  7737. //  CoInitialize has not been called.
  7738. //
  7739. #define CO_E_NOTINITIALIZED              _HRESULT_TYPEDEF_(0x800401F0L)
  7740.  
  7741. //
  7742. // MessageId: CO_E_ALREADYINITIALIZED
  7743. //
  7744. // MessageText:
  7745. //
  7746. //  CoInitialize has already been called.
  7747. //
  7748. #define CO_E_ALREADYINITIALIZED          _HRESULT_TYPEDEF_(0x800401F1L)
  7749.  
  7750. //
  7751. // MessageId: CO_E_CANTDETERMINECLASS
  7752. //
  7753. // MessageText:
  7754. //
  7755. //  Class of object cannot be determined
  7756. //
  7757. #define CO_E_CANTDETERMINECLASS          _HRESULT_TYPEDEF_(0x800401F2L)
  7758.  
  7759. //
  7760. // MessageId: CO_E_CLASSSTRING
  7761. //
  7762. // MessageText:
  7763. //
  7764. //  Invalid class string
  7765. //
  7766. #define CO_E_CLASSSTRING                 _HRESULT_TYPEDEF_(0x800401F3L)
  7767.  
  7768. //
  7769. // MessageId: CO_E_IIDSTRING
  7770. //
  7771. // MessageText:
  7772. //
  7773. //  Invalid interface string
  7774. //
  7775. #define CO_E_IIDSTRING                   _HRESULT_TYPEDEF_(0x800401F4L)
  7776.  
  7777. //
  7778. // MessageId: CO_E_APPNOTFOUND
  7779. //
  7780. // MessageText:
  7781. //
  7782. //  Application not found
  7783. //
  7784. #define CO_E_APPNOTFOUND                 _HRESULT_TYPEDEF_(0x800401F5L)
  7785.  
  7786. //
  7787. // MessageId: CO_E_APPSINGLEUSE
  7788. //
  7789. // MessageText:
  7790. //
  7791. //  Application cannot be run more than once
  7792. //
  7793. #define CO_E_APPSINGLEUSE                _HRESULT_TYPEDEF_(0x800401F6L)
  7794.  
  7795. //
  7796. // MessageId: CO_E_ERRORINAPP
  7797. //
  7798. // MessageText:
  7799. //
  7800. //  Some error in application program
  7801. //
  7802. #define CO_E_ERRORINAPP                  _HRESULT_TYPEDEF_(0x800401F7L)
  7803.  
  7804. //
  7805. // MessageId: CO_E_DLLNOTFOUND
  7806. //
  7807. // MessageText:
  7808. //
  7809. //  DLL for class not found
  7810. //
  7811. #define CO_E_DLLNOTFOUND                 _HRESULT_TYPEDEF_(0x800401F8L)
  7812.  
  7813. //
  7814. // MessageId: CO_E_ERRORINDLL
  7815. //
  7816. // MessageText:
  7817. //
  7818. //  Error in the DLL
  7819. //
  7820. #define CO_E_ERRORINDLL                  _HRESULT_TYPEDEF_(0x800401F9L)
  7821.  
  7822. //
  7823. // MessageId: CO_E_WRONGOSFORAPP
  7824. //
  7825. // MessageText:
  7826. //
  7827. //  Wrong OS or OS version for application
  7828. //
  7829. #define CO_E_WRONGOSFORAPP               _HRESULT_TYPEDEF_(0x800401FAL)
  7830.  
  7831. //
  7832. // MessageId: CO_E_OBJNOTREG
  7833. //
  7834. // MessageText:
  7835. //
  7836. //  Object is not registered
  7837. //
  7838. #define CO_E_OBJNOTREG                   _HRESULT_TYPEDEF_(0x800401FBL)
  7839.  
  7840. //
  7841. // MessageId: CO_E_OBJISREG
  7842. //
  7843. // MessageText:
  7844. //
  7845. //  Object is already registered
  7846. //
  7847. #define CO_E_OBJISREG                    _HRESULT_TYPEDEF_(0x800401FCL)
  7848.  
  7849. //
  7850. // MessageId: CO_E_OBJNOTCONNECTED
  7851. //
  7852. // MessageText:
  7853. //
  7854. //  Object is not connected to server
  7855. //
  7856. #define CO_E_OBJNOTCONNECTED             _HRESULT_TYPEDEF_(0x800401FDL)
  7857.  
  7858. //
  7859. // MessageId: CO_E_APPDIDNTREG
  7860. //
  7861. // MessageText:
  7862. //
  7863. //  Application was launched but it didn't register a class factory
  7864. //
  7865. #define CO_E_APPDIDNTREG                 _HRESULT_TYPEDEF_(0x800401FEL)
  7866.  
  7867. //
  7868. // MessageId: CO_E_RELEASED
  7869. //
  7870. // MessageText:
  7871. //
  7872. //  Object has been released
  7873. //
  7874. #define CO_E_RELEASED                    _HRESULT_TYPEDEF_(0x800401FFL)
  7875.  
  7876. //
  7877. // Old OLE Success Codes
  7878. //
  7879. //
  7880. // MessageId: OLE_S_USEREG
  7881. //
  7882. // MessageText:
  7883. //
  7884. //  Use the registry database to provide the requested information
  7885. //
  7886. #define OLE_S_USEREG                     _HRESULT_TYPEDEF_(0x00040000L)
  7887.  
  7888. //
  7889. // MessageId: OLE_S_STATIC
  7890. //
  7891. // MessageText:
  7892. //
  7893. //  Success, but static
  7894. //
  7895. #define OLE_S_STATIC                     _HRESULT_TYPEDEF_(0x00040001L)
  7896.  
  7897. //
  7898. // MessageId: OLE_S_MAC_CLIPFORMAT
  7899. //
  7900. // MessageText:
  7901. //
  7902. //  Macintosh clipboard format
  7903. //
  7904. #define OLE_S_MAC_CLIPFORMAT             _HRESULT_TYPEDEF_(0x00040002L)
  7905.  
  7906. //
  7907. // MessageId: DRAGDROP_S_DROP
  7908. //
  7909. // MessageText:
  7910. //
  7911. //  Successful drop took place
  7912. //
  7913. #define DRAGDROP_S_DROP                  _HRESULT_TYPEDEF_(0x00040100L)
  7914.  
  7915. //
  7916. // MessageId: DRAGDROP_S_CANCEL
  7917. //
  7918. // MessageText:
  7919. //
  7920. //  Drag-drop operation canceled
  7921. //
  7922. #define DRAGDROP_S_CANCEL                _HRESULT_TYPEDEF_(0x00040101L)
  7923.  
  7924. //
  7925. // MessageId: DRAGDROP_S_USEDEFAULTCURSORS
  7926. //
  7927. // MessageText:
  7928. //
  7929. //  Use the default cursor
  7930. //
  7931. #define DRAGDROP_S_USEDEFAULTCURSORS     _HRESULT_TYPEDEF_(0x00040102L)
  7932.  
  7933. //
  7934. // MessageId: DATA_S_SAMEFORMATETC
  7935. //
  7936. // MessageText:
  7937. //
  7938. //  Data has same FORMATETC
  7939. //
  7940. #define DATA_S_SAMEFORMATETC             _HRESULT_TYPEDEF_(0x00040130L)
  7941.  
  7942. //
  7943. // MessageId: VIEW_S_ALREADY_FROZEN
  7944. //
  7945. // MessageText:
  7946. //
  7947. //  View is already frozen
  7948. //
  7949. #define VIEW_S_ALREADY_FROZEN            _HRESULT_TYPEDEF_(0x00040140L)
  7950.  
  7951. //
  7952. // MessageId: CACHE_S_FORMATETC_NOTSUPPORTED
  7953. //
  7954. // MessageText:
  7955. //
  7956. //  FORMATETC not supported
  7957. //
  7958. #define CACHE_S_FORMATETC_NOTSUPPORTED   _HRESULT_TYPEDEF_(0x00040170L)
  7959.  
  7960. //
  7961. // MessageId: CACHE_S_SAMECACHE
  7962. //
  7963. // MessageText:
  7964. //
  7965. //  Same cache
  7966. //
  7967. #define CACHE_S_SAMECACHE                _HRESULT_TYPEDEF_(0x00040171L)
  7968.  
  7969. //
  7970. // MessageId: CACHE_S_SOMECACHES_NOTUPDATED
  7971. //
  7972. // MessageText:
  7973. //
  7974. //  Some cache(s) not updated
  7975. //
  7976. #define CACHE_S_SOMECACHES_NOTUPDATED    _HRESULT_TYPEDEF_(0x00040172L)
  7977.  
  7978. //
  7979. // MessageId: OLEOBJ_S_INVALIDVERB
  7980. //
  7981. // MessageText:
  7982. //
  7983. //  Invalid verb for OLE object
  7984. //
  7985. #define OLEOBJ_S_INVALIDVERB             _HRESULT_TYPEDEF_(0x00040180L)
  7986.  
  7987. //
  7988. // MessageId: OLEOBJ_S_CANNOT_DOVERB_NOW
  7989. //
  7990. // MessageText:
  7991. //
  7992. //  Verb number is valid but verb cannot be done now
  7993. //
  7994. #define OLEOBJ_S_CANNOT_DOVERB_NOW       _HRESULT_TYPEDEF_(0x00040181L)
  7995.  
  7996. //
  7997. // MessageId: OLEOBJ_S_INVALIDHWND
  7998. //
  7999. // MessageText:
  8000. //
  8001. //  Invalid window handle passed
  8002. //
  8003. #define OLEOBJ_S_INVALIDHWND             _HRESULT_TYPEDEF_(0x00040182L)
  8004.  
  8005. //
  8006. // MessageId: INPLACE_S_TRUNCATED
  8007. //
  8008. // MessageText:
  8009. //
  8010. //  Message is too long; some of it had to be truncated before displaying
  8011. //
  8012. #define INPLACE_S_TRUNCATED              _HRESULT_TYPEDEF_(0x000401A0L)
  8013.  
  8014. //
  8015. // MessageId: CONVERT10_S_NO_PRESENTATION
  8016. //
  8017. // MessageText:
  8018. //
  8019. //  Unable to convert OLESTREAM to IStorage
  8020. //
  8021. #define CONVERT10_S_NO_PRESENTATION      _HRESULT_TYPEDEF_(0x000401C0L)
  8022.  
  8023. //
  8024. // MessageId: MK_S_REDUCED_TO_SELF
  8025. //
  8026. // MessageText:
  8027. //
  8028. //  Moniker reduced to itself
  8029. //
  8030. #define MK_S_REDUCED_TO_SELF             _HRESULT_TYPEDEF_(0x000401E2L)
  8031.  
  8032. //
  8033. // MessageId: MK_S_ME
  8034. //
  8035. // MessageText:
  8036. //
  8037. //  Common prefix is this moniker
  8038. //
  8039. #define MK_S_ME                          _HRESULT_TYPEDEF_(0x000401E4L)
  8040.  
  8041. //
  8042. // MessageId: MK_S_HIM
  8043. //
  8044. // MessageText:
  8045. //
  8046. //  Common prefix is input moniker
  8047. //
  8048. #define MK_S_HIM                         _HRESULT_TYPEDEF_(0x000401E5L)
  8049.  
  8050. //
  8051. // MessageId: MK_S_US
  8052. //
  8053. // MessageText:
  8054. //
  8055. //  Common prefix is both monikers
  8056. //
  8057. #define MK_S_US                          _HRESULT_TYPEDEF_(0x000401E6L)
  8058.  
  8059. //
  8060. // MessageId: MK_S_MONIKERALREADYREGISTERED
  8061. //
  8062. // MessageText:
  8063. //
  8064. //  Moniker is already registered in running object table
  8065. //
  8066. #define MK_S_MONIKERALREADYREGISTERED    _HRESULT_TYPEDEF_(0x000401E7L)
  8067.  
  8068. // ******************
  8069. // FACILITY_WINDOWS
  8070. // ******************
  8071. //
  8072. // Codes 0x0-0x01ff are reserved for the OLE group of
  8073. // interfaces.
  8074. //
  8075. //
  8076. // MessageId: CO_E_CLASS_CREATE_FAILED
  8077. //
  8078. // MessageText:
  8079. //
  8080. //  Attempt to create a class object failed
  8081. //
  8082. #define CO_E_CLASS_CREATE_FAILED         _HRESULT_TYPEDEF_(0x80080001L)
  8083.  
  8084. //
  8085. // MessageId: CO_E_SCM_ERROR
  8086. //
  8087. // MessageText:
  8088. //
  8089. //  OLE service could not bind object
  8090. //
  8091. #define CO_E_SCM_ERROR                   _HRESULT_TYPEDEF_(0x80080002L)
  8092.  
  8093. //
  8094. // MessageId: CO_E_SCM_RPC_FAILURE
  8095. //
  8096. // MessageText:
  8097. //
  8098. //  RPC communication failed with OLE service
  8099. //
  8100. #define CO_E_SCM_RPC_FAILURE             _HRESULT_TYPEDEF_(0x80080003L)
  8101.  
  8102. //
  8103. // MessageId: CO_E_BAD_PATH
  8104. //
  8105. // MessageText:
  8106. //
  8107. //  Bad path to object
  8108. //
  8109. #define CO_E_BAD_PATH                    _HRESULT_TYPEDEF_(0x80080004L)
  8110.  
  8111. //
  8112. // MessageId: CO_E_SERVER_EXEC_FAILURE
  8113. //
  8114. // MessageText:
  8115. //
  8116. //  Server execution failed
  8117. //
  8118. #define CO_E_SERVER_EXEC_FAILURE         _HRESULT_TYPEDEF_(0x80080005L)
  8119.  
  8120. //
  8121. // MessageId: CO_E_OBJSRV_RPC_FAILURE
  8122. //
  8123. // MessageText:
  8124. //
  8125. //  OLE service could not communicate with the object server
  8126. //
  8127. #define CO_E_OBJSRV_RPC_FAILURE          _HRESULT_TYPEDEF_(0x80080006L)
  8128.  
  8129. //
  8130. // MessageId: MK_E_NO_NORMALIZED
  8131. //
  8132. // MessageText:
  8133. //
  8134. //  Moniker path could not be normalized
  8135. //
  8136. #define MK_E_NO_NORMALIZED               _HRESULT_TYPEDEF_(0x80080007L)
  8137.  
  8138. //
  8139. // MessageId: CO_E_SERVER_STOPPING
  8140. //
  8141. // MessageText:
  8142. //
  8143. //  Object server is stopping when OLE service contacts it
  8144. //
  8145. #define CO_E_SERVER_STOPPING             _HRESULT_TYPEDEF_(0x80080008L)
  8146.  
  8147. //
  8148. // MessageId: MEM_E_INVALID_ROOT
  8149. //
  8150. // MessageText:
  8151. //
  8152. //  An invalid root block pointer was specified
  8153. //
  8154. #define MEM_E_INVALID_ROOT               _HRESULT_TYPEDEF_(0x80080009L)
  8155.  
  8156. //
  8157. // MessageId: MEM_E_INVALID_LINK
  8158. //
  8159. // MessageText:
  8160. //
  8161. //  An allocation chain contained an invalid link pointer
  8162. //
  8163. #define MEM_E_INVALID_LINK               _HRESULT_TYPEDEF_(0x80080010L)
  8164.  
  8165. //
  8166. // MessageId: MEM_E_INVALID_SIZE
  8167. //
  8168. // MessageText:
  8169. //
  8170. //  The requested allocation size was too large
  8171. //
  8172. #define MEM_E_INVALID_SIZE               _HRESULT_TYPEDEF_(0x80080011L)
  8173.  
  8174. //
  8175. // MessageId: CO_S_NOTALLINTERFACES
  8176. //
  8177. // MessageText:
  8178. //
  8179. //  Not all the requested interfaces were available
  8180. //
  8181. #define CO_S_NOTALLINTERFACES            _HRESULT_TYPEDEF_(0x00080012L)
  8182.  
  8183. // ******************
  8184. // FACILITY_DISPATCH
  8185. // ******************
  8186. //
  8187. // MessageId: DISP_E_UNKNOWNINTERFACE
  8188. //
  8189. // MessageText:
  8190. //
  8191. //  Unknown interface.
  8192. //
  8193. #define DISP_E_UNKNOWNINTERFACE          _HRESULT_TYPEDEF_(0x80020001L)
  8194.  
  8195. //
  8196. // MessageId: DISP_E_MEMBERNOTFOUND
  8197. //
  8198. // MessageText:
  8199. //
  8200. //  Member not found.
  8201. //
  8202. #define DISP_E_MEMBERNOTFOUND            _HRESULT_TYPEDEF_(0x80020003L)
  8203.  
  8204. //
  8205. // MessageId: DISP_E_PARAMNOTFOUND
  8206. //
  8207. // MessageText:
  8208. //
  8209. //  Parameter not found.
  8210. //
  8211. #define DISP_E_PARAMNOTFOUND             _HRESULT_TYPEDEF_(0x80020004L)
  8212.  
  8213. //
  8214. // MessageId: DISP_E_TYPEMISMATCH
  8215. //
  8216. // MessageText:
  8217. //
  8218. //  Type mismatch.
  8219. //
  8220. #define DISP_E_TYPEMISMATCH              _HRESULT_TYPEDEF_(0x80020005L)
  8221.  
  8222. //
  8223. // MessageId: DISP_E_UNKNOWNNAME
  8224. //
  8225. // MessageText:
  8226. //
  8227. //  Unknown name.
  8228. //
  8229. #define DISP_E_UNKNOWNNAME               _HRESULT_TYPEDEF_(0x80020006L)
  8230.  
  8231. //
  8232. // MessageId: DISP_E_NONAMEDARGS
  8233. //
  8234. // MessageText:
  8235. //
  8236. //  No named arguments.
  8237. //
  8238. #define DISP_E_NONAMEDARGS               _HRESULT_TYPEDEF_(0x80020007L)
  8239.  
  8240. //
  8241. // MessageId: DISP_E_BADVARTYPE
  8242. //
  8243. // MessageText:
  8244. //
  8245. //  Bad variable type.
  8246. //
  8247. #define DISP_E_BADVARTYPE                _HRESULT_TYPEDEF_(0x80020008L)
  8248.  
  8249. //
  8250. // MessageId: DISP_E_EXCEPTION
  8251. //
  8252. // MessageText:
  8253. //
  8254. //  Exception occurred.
  8255. //
  8256. #define DISP_E_EXCEPTION                 _HRESULT_TYPEDEF_(0x80020009L)
  8257.  
  8258. //
  8259. // MessageId: DISP_E_OVERFLOW
  8260. //
  8261. // MessageText:
  8262. //
  8263. //  Out of present range.
  8264. //
  8265. #define DISP_E_OVERFLOW                  _HRESULT_TYPEDEF_(0x8002000AL)
  8266.  
  8267. //
  8268. // MessageId: DISP_E_BADINDEX
  8269. //
  8270. // MessageText:
  8271. //
  8272. //  Invalid index.
  8273. //
  8274. #define DISP_E_BADINDEX                  _HRESULT_TYPEDEF_(0x8002000BL)
  8275.  
  8276. //
  8277. // MessageId: DISP_E_UNKNOWNLCID
  8278. //
  8279. // MessageText:
  8280. //
  8281. //  Unknown language.
  8282. //
  8283. #define DISP_E_UNKNOWNLCID               _HRESULT_TYPEDEF_(0x8002000CL)
  8284.  
  8285. //
  8286. // MessageId: DISP_E_ARRAYISLOCKED
  8287. //
  8288. // MessageText:
  8289. //
  8290. //  Memory is locked.
  8291. //
  8292. #define DISP_E_ARRAYISLOCKED             _HRESULT_TYPEDEF_(0x8002000DL)
  8293.  
  8294. //
  8295. // MessageId: DISP_E_BADPARAMCOUNT
  8296. //
  8297. // MessageText:
  8298. //
  8299. //  Invalid number of parameters.
  8300. //
  8301. #define DISP_E_BADPARAMCOUNT             _HRESULT_TYPEDEF_(0x8002000EL)
  8302.  
  8303. //
  8304. // MessageId: DISP_E_PARAMNOTOPTIONAL
  8305. //
  8306. // MessageText:
  8307. //
  8308. //  Parameter not optional.
  8309. //
  8310. #define DISP_E_PARAMNOTOPTIONAL          _HRESULT_TYPEDEF_(0x8002000FL)
  8311.  
  8312. //
  8313. // MessageId: DISP_E_BADCALLEE
  8314. //
  8315. // MessageText:
  8316. //
  8317. //  Invalid callee.
  8318. //
  8319. #define DISP_E_BADCALLEE                 _HRESULT_TYPEDEF_(0x80020010L)
  8320.  
  8321. //
  8322. // MessageId: DISP_E_NOTACOLLECTION
  8323. //
  8324. // MessageText:
  8325. //
  8326. //  Does not support a collection.
  8327. //
  8328. #define DISP_E_NOTACOLLECTION            _HRESULT_TYPEDEF_(0x80020011L)
  8329.  
  8330. //
  8331. // MessageId: TYPE_E_BUFFERTOOSMALL
  8332. //
  8333. // MessageText:
  8334. //
  8335. //  Buffer too small.
  8336. //
  8337. #define TYPE_E_BUFFERTOOSMALL            _HRESULT_TYPEDEF_(0x80028016L)
  8338.  
  8339. //
  8340. // MessageId: TYPE_E_INVDATAREAD
  8341. //
  8342. // MessageText:
  8343. //
  8344. //  Old format or invalid type library.
  8345. //
  8346. #define TYPE_E_INVDATAREAD               _HRESULT_TYPEDEF_(0x80028018L)
  8347.  
  8348. //
  8349. // MessageId: TYPE_E_UNSUPFORMAT
  8350. //
  8351. // MessageText:
  8352. //
  8353. //  Old format or invalid type library.
  8354. //
  8355. #define TYPE_E_UNSUPFORMAT               _HRESULT_TYPEDEF_(0x80028019L)
  8356.  
  8357. //
  8358. // MessageId: TYPE_E_REGISTRYACCESS
  8359. //
  8360. // MessageText:
  8361. //
  8362. //  Error accessing the OLE registry.
  8363. //
  8364. #define TYPE_E_REGISTRYACCESS            _HRESULT_TYPEDEF_(0x8002801CL)
  8365.  
  8366. //
  8367. // MessageId: TYPE_E_LIBNOTREGISTERED
  8368. //
  8369. // MessageText:
  8370. //
  8371. //  Library not registered.
  8372. //
  8373. #define TYPE_E_LIBNOTREGISTERED          _HRESULT_TYPEDEF_(0x8002801DL)
  8374.  
  8375. //
  8376. // MessageId: TYPE_E_UNDEFINEDTYPE
  8377. //
  8378. // MessageText:
  8379. //
  8380. //  Bound to unknown type.
  8381. //
  8382. #define TYPE_E_UNDEFINEDTYPE             _HRESULT_TYPEDEF_(0x80028027L)
  8383.  
  8384. //
  8385. // MessageId: TYPE_E_QUALIFIEDNAMEDISALLOWED
  8386. //
  8387. // MessageText:
  8388. //
  8389. //  Qualified name disallowed.
  8390. //
  8391. #define TYPE_E_QUALIFIEDNAMEDISALLOWED   _HRESULT_TYPEDEF_(0x80028028L)
  8392.  
  8393. //
  8394. // MessageId: TYPE_E_INVALIDSTATE
  8395. //
  8396. // MessageText:
  8397. //
  8398. //  Invalid forward reference, or reference to uncompiled type.
  8399. //
  8400. #define TYPE_E_INVALIDSTATE              _HRESULT_TYPEDEF_(0x80028029L)
  8401.  
  8402. //
  8403. // MessageId: TYPE_E_WRONGTYPEKIND
  8404. //
  8405. // MessageText:
  8406. //
  8407. //  Type mismatch.
  8408. //
  8409. #define TYPE_E_WRONGTYPEKIND             _HRESULT_TYPEDEF_(0x8002802AL)
  8410.  
  8411. //
  8412. // MessageId: TYPE_E_ELEMENTNOTFOUND
  8413. //
  8414. // MessageText:
  8415. //
  8416. //  Element not found.
  8417. //
  8418. #define TYPE_E_ELEMENTNOTFOUND           _HRESULT_TYPEDEF_(0x8002802BL)
  8419.  
  8420. //
  8421. // MessageId: TYPE_E_AMBIGUOUSNAME
  8422. //
  8423. // MessageText:
  8424. //
  8425. //  Ambiguous name.
  8426. //
  8427. #define TYPE_E_AMBIGUOUSNAME             _HRESULT_TYPEDEF_(0x8002802CL)
  8428.  
  8429. //
  8430. // MessageId: TYPE_E_NAMECONFLICT
  8431. //
  8432. // MessageText:
  8433. //
  8434. //  Name already exists in the library.
  8435. //
  8436. #define TYPE_E_NAMECONFLICT              _HRESULT_TYPEDEF_(0x8002802DL)
  8437.  
  8438. //
  8439. // MessageId: TYPE_E_UNKNOWNLCID
  8440. //
  8441. // MessageText:
  8442. //
  8443. //  Unknown LCID.
  8444. //
  8445. #define TYPE_E_UNKNOWNLCID               _HRESULT_TYPEDEF_(0x8002802EL)
  8446.  
  8447. //
  8448. // MessageId: TYPE_E_DLLFUNCTIONNOTFOUND
  8449. //
  8450. // MessageText:
  8451. //
  8452. //  Function not defined in specified DLL.
  8453. //
  8454. #define TYPE_E_DLLFUNCTIONNOTFOUND       _HRESULT_TYPEDEF_(0x8002802FL)
  8455.  
  8456. //
  8457. // MessageId: TYPE_E_BADMODULEKIND
  8458. //
  8459. // MessageText:
  8460. //
  8461. //  Wrong module kind for the operation.
  8462. //
  8463. #define TYPE_E_BADMODULEKIND             _HRESULT_TYPEDEF_(0x800288BDL)
  8464.  
  8465. //
  8466. // MessageId: TYPE_E_SIZETOOBIG
  8467. //
  8468. // MessageText:
  8469. //
  8470. //  Size may not exceed 64K.
  8471. //
  8472. #define TYPE_E_SIZETOOBIG                _HRESULT_TYPEDEF_(0x800288C5L)
  8473.  
  8474. //
  8475. // MessageId: TYPE_E_DUPLICATEID
  8476. //
  8477. // MessageText:
  8478. //
  8479. //  Duplicate ID in inheritance hierarchy.
  8480. //
  8481. #define TYPE_E_DUPLICATEID               _HRESULT_TYPEDEF_(0x800288C6L)
  8482.  
  8483. //
  8484. // MessageId: TYPE_E_INVALIDID
  8485. //
  8486. // MessageText:
  8487. //
  8488. //  Incorrect inheritance depth in standard OLE hmember.
  8489. //
  8490. #define TYPE_E_INVALIDID                 _HRESULT_TYPEDEF_(0x800288CFL)
  8491.  
  8492. //
  8493. // MessageId: TYPE_E_TYPEMISMATCH
  8494. //
  8495. // MessageText:
  8496. //
  8497. //  Type mismatch.
  8498. //
  8499. #define TYPE_E_TYPEMISMATCH              _HRESULT_TYPEDEF_(0x80028CA0L)
  8500.  
  8501. //
  8502. // MessageId: TYPE_E_OUTOFBOUNDS
  8503. //
  8504. // MessageText:
  8505. //
  8506. //  Invalid number of arguments.
  8507. //
  8508. #define TYPE_E_OUTOFBOUNDS               _HRESULT_TYPEDEF_(0x80028CA1L)
  8509.  
  8510. //
  8511. // MessageId: TYPE_E_IOERROR
  8512. //
  8513. // MessageText:
  8514. //
  8515. //  I/O Error.
  8516. //
  8517. #define TYPE_E_IOERROR                   _HRESULT_TYPEDEF_(0x80028CA2L)
  8518.  
  8519. //
  8520. // MessageId: TYPE_E_CANTCREATETMPFILE
  8521. //
  8522. // MessageText:
  8523. //
  8524. //  Error creating unique tmp file.
  8525. //
  8526. #define TYPE_E_CANTCREATETMPFILE         _HRESULT_TYPEDEF_(0x80028CA3L)
  8527.  
  8528. //
  8529. // MessageId: TYPE_E_CANTLOADLIBRARY
  8530. //
  8531. // MessageText:
  8532. //
  8533. //  Error loading type library/DLL.
  8534. //
  8535. #define TYPE_E_CANTLOADLIBRARY           _HRESULT_TYPEDEF_(0x80029C4AL)
  8536.  
  8537. //
  8538. // MessageId: TYPE_E_INCONSISTENTPROPFUNCS
  8539. //
  8540. // MessageText:
  8541. //
  8542. //  Inconsistent property functions.
  8543. //
  8544. #define TYPE_E_INCONSISTENTPROPFUNCS     _HRESULT_TYPEDEF_(0x80029C83L)
  8545.  
  8546. //
  8547. // MessageId: TYPE_E_CIRCULARTYPE
  8548. //
  8549. // MessageText:
  8550. //
  8551. //  Circular dependency between types/modules.
  8552. //
  8553. #define TYPE_E_CIRCULARTYPE              _HRESULT_TYPEDEF_(0x80029C84L)
  8554.  
  8555. // ******************
  8556. // FACILITY_STORAGE
  8557. // ******************
  8558. //
  8559. // MessageId: STG_E_INVALIDFUNCTION
  8560. //
  8561. // MessageText:
  8562. //
  8563. //  Unable to perform requested operation.
  8564. //
  8565. #define STG_E_INVALIDFUNCTION            _HRESULT_TYPEDEF_(0x80030001L)
  8566.  
  8567. //
  8568. // MessageId: STG_E_FILENOTFOUND
  8569. //
  8570. // MessageText:
  8571. //
  8572. //  %1 could not be found.
  8573. //
  8574. #define STG_E_FILENOTFOUND               _HRESULT_TYPEDEF_(0x80030002L)
  8575.  
  8576. //
  8577. // MessageId: STG_E_PATHNOTFOUND
  8578. //
  8579. // MessageText:
  8580. //
  8581. //  The path %1 could not be found.
  8582. //
  8583. #define STG_E_PATHNOTFOUND               _HRESULT_TYPEDEF_(0x80030003L)
  8584.  
  8585. //
  8586. // MessageId: STG_E_TOOMANYOPENFILES
  8587. //
  8588. // MessageText:
  8589. //
  8590. //  There are insufficient resources to open another file.
  8591. //
  8592. #define STG_E_TOOMANYOPENFILES           _HRESULT_TYPEDEF_(0x80030004L)
  8593.  
  8594. //
  8595. // MessageId: STG_E_ACCESSDENIED
  8596. //
  8597. // MessageText:
  8598. //
  8599. //  Access Denied.
  8600. //
  8601. #define STG_E_ACCESSDENIED               _HRESULT_TYPEDEF_(0x80030005L)
  8602.  
  8603. //
  8604. // MessageId: STG_E_INVALIDHANDLE
  8605. //
  8606. // MessageText:
  8607. //
  8608. //  Attempted an operation on an invalid object.
  8609. //
  8610. #define STG_E_INVALIDHANDLE              _HRESULT_TYPEDEF_(0x80030006L)
  8611.  
  8612. //
  8613. // MessageId: STG_E_INSUFFICIENTMEMORY
  8614. //
  8615. // MessageText:
  8616. //
  8617. //  There is insufficient memory available to complete operation.
  8618. //
  8619. #define STG_E_INSUFFICIENTMEMORY         _HRESULT_TYPEDEF_(0x80030008L)
  8620.  
  8621. //
  8622. // MessageId: STG_E_INVALIDPOINTER
  8623. //
  8624. // MessageText:
  8625. //
  8626. //  Invalid pointer error.
  8627. //
  8628. #define STG_E_INVALIDPOINTER             _HRESULT_TYPEDEF_(0x80030009L)
  8629.  
  8630. //
  8631. // MessageId: STG_E_NOMOREFILES
  8632. //
  8633. // MessageText:
  8634. //
  8635. //  There are no more entries to return.
  8636. //
  8637. #define STG_E_NOMOREFILES                _HRESULT_TYPEDEF_(0x80030012L)
  8638.  
  8639. //
  8640. // MessageId: STG_E_DISKISWRITEPROTECTED
  8641. //
  8642. // MessageText:
  8643. //
  8644. //  Disk is write-protected.
  8645. //
  8646. #define STG_E_DISKISWRITEPROTECTED       _HRESULT_TYPEDEF_(0x80030013L)
  8647.  
  8648. //
  8649. // MessageId: STG_E_SEEKERROR
  8650. //
  8651. // MessageText:
  8652. //
  8653. //  An error occurred during a seek operation.
  8654. //
  8655. #define STG_E_SEEKERROR                  _HRESULT_TYPEDEF_(0x80030019L)
  8656.  
  8657. //
  8658. // MessageId: STG_E_WRITEFAULT
  8659. //
  8660. // MessageText:
  8661. //
  8662. //  A disk error occurred during a write operation.
  8663. //
  8664. #define STG_E_WRITEFAULT                 _HRESULT_TYPEDEF_(0x8003001DL)
  8665.  
  8666. //
  8667. // MessageId: STG_E_READFAULT
  8668. //
  8669. // MessageText:
  8670. //
  8671. //  A disk error occurred during a read operation.
  8672. //
  8673. #define STG_E_READFAULT                  _HRESULT_TYPEDEF_(0x8003001EL)
  8674.  
  8675. //
  8676. // MessageId: STG_E_SHAREVIOLATION
  8677. //
  8678. // MessageText:
  8679. //
  8680. //  A share violation has occurred.
  8681. //
  8682. #define STG_E_SHAREVIOLATION             _HRESULT_TYPEDEF_(0x80030020L)
  8683.  
  8684. //
  8685. // MessageId: STG_E_LOCKVIOLATION
  8686. //
  8687. // MessageText:
  8688. //
  8689. //  A lock violation has occurred.
  8690. //
  8691. #define STG_E_LOCKVIOLATION              _HRESULT_TYPEDEF_(0x80030021L)
  8692.  
  8693. //
  8694. // MessageId: STG_E_FILEALREADYEXISTS
  8695. //
  8696. // MessageText:
  8697. //
  8698. //  %1 already exists.
  8699. //
  8700. #define STG_E_FILEALREADYEXISTS          _HRESULT_TYPEDEF_(0x80030050L)
  8701.  
  8702. //
  8703. // MessageId: STG_E_INVALIDPARAMETER
  8704. //
  8705. // MessageText:
  8706. //
  8707. //  Invalid parameter error.
  8708. //
  8709. #define STG_E_INVALIDPARAMETER           _HRESULT_TYPEDEF_(0x80030057L)
  8710.  
  8711. //
  8712. // MessageId: STG_E_MEDIUMFULL
  8713. //
  8714. // MessageText:
  8715. //
  8716. //  There is insufficient disk space to complete operation.
  8717. //
  8718. #define STG_E_MEDIUMFULL                 _HRESULT_TYPEDEF_(0x80030070L)
  8719.  
  8720. //
  8721. // MessageId: STG_E_PROPSETMISMATCHED
  8722. //
  8723. // MessageText:
  8724. //
  8725. //  Illegal write of non-simple property to simple property set.
  8726. //
  8727. #define STG_E_PROPSETMISMATCHED          _HRESULT_TYPEDEF_(0x800300F0L)
  8728.  
  8729. //
  8730. // MessageId: STG_E_ABNORMALAPIEXIT
  8731. //
  8732. // MessageText:
  8733. //
  8734. //  An API call exited abnormally.
  8735. //
  8736. #define STG_E_ABNORMALAPIEXIT            _HRESULT_TYPEDEF_(0x800300FAL)
  8737.  
  8738. //
  8739. // MessageId: STG_E_INVALIDHEADER
  8740. //
  8741. // MessageText:
  8742. //
  8743. //  The file %1 is not a valid compound file.
  8744. //
  8745. #define STG_E_INVALIDHEADER              _HRESULT_TYPEDEF_(0x800300FBL)
  8746.  
  8747. //
  8748. // MessageId: STG_E_INVALIDNAME
  8749. //
  8750. // MessageText:
  8751. //
  8752. //  The name %1 is not valid.
  8753. //
  8754. #define STG_E_INVALIDNAME                _HRESULT_TYPEDEF_(0x800300FCL)
  8755.  
  8756. //
  8757. // MessageId: STG_E_UNKNOWN
  8758. //
  8759. // MessageText:
  8760. //
  8761. //  An unexpected error occurred.
  8762. //
  8763. #define STG_E_UNKNOWN                    _HRESULT_TYPEDEF_(0x800300FDL)
  8764.  
  8765. //
  8766. // MessageId: STG_E_UNIMPLEMENTEDFUNCTION
  8767. //
  8768. // MessageText:
  8769. //
  8770. //  That function is not implemented.
  8771. //
  8772. #define STG_E_UNIMPLEMENTEDFUNCTION      _HRESULT_TYPEDEF_(0x800300FEL)
  8773.  
  8774. //
  8775. // MessageId: STG_E_INVALIDFLAG
  8776. //
  8777. // MessageText:
  8778. //
  8779. //  Invalid flag error.
  8780. //
  8781. #define STG_E_INVALIDFLAG                _HRESULT_TYPEDEF_(0x800300FFL)
  8782.  
  8783. //
  8784. // MessageId: STG_E_INUSE
  8785. //
  8786. // MessageText:
  8787. //
  8788. //  Attempted to use an object that is busy.
  8789. //
  8790. #define STG_E_INUSE                      _HRESULT_TYPEDEF_(0x80030100L)
  8791.  
  8792. //
  8793. // MessageId: STG_E_NOTCURRENT
  8794. //
  8795. // MessageText:
  8796. //
  8797. //  The storage has been changed since the last commit.
  8798. //
  8799. #define STG_E_NOTCURRENT                 _HRESULT_TYPEDEF_(0x80030101L)
  8800.  
  8801. //
  8802. // MessageId: STG_E_REVERTED
  8803. //
  8804. // MessageText:
  8805. //
  8806. //  Attempted to use an object that has ceased to exist.
  8807. //
  8808. #define STG_E_REVERTED                   _HRESULT_TYPEDEF_(0x80030102L)
  8809.  
  8810. //
  8811. // MessageId: STG_E_CANTSAVE
  8812. //
  8813. // MessageText:
  8814. //
  8815. //  Can't save.
  8816. //
  8817. #define STG_E_CANTSAVE                   _HRESULT_TYPEDEF_(0x80030103L)
  8818.  
  8819. //
  8820. // MessageId: STG_E_OLDFORMAT
  8821. //
  8822. // MessageText:
  8823. //
  8824. //  The compound file %1 was produced with an incompatible version of storage.
  8825. //
  8826. #define STG_E_OLDFORMAT                  _HRESULT_TYPEDEF_(0x80030104L)
  8827.  
  8828. //
  8829. // MessageId: STG_E_OLDDLL
  8830. //
  8831. // MessageText:
  8832. //
  8833. //  The compound file %1 was produced with a newer version of storage.
  8834. //
  8835. #define STG_E_OLDDLL                     _HRESULT_TYPEDEF_(0x80030105L)
  8836.  
  8837. //
  8838. // MessageId: STG_E_SHAREREQUIRED
  8839. //
  8840. // MessageText:
  8841. //
  8842. //  Share.exe or equivalent is required for operation.
  8843. //
  8844. #define STG_E_SHAREREQUIRED              _HRESULT_TYPEDEF_(0x80030106L)
  8845.  
  8846. //
  8847. // MessageId: STG_E_NOTFILEBASEDSTORAGE
  8848. //
  8849. // MessageText:
  8850. //
  8851. //  Illegal operation called on non-file based storage.
  8852. //
  8853. #define STG_E_NOTFILEBASEDSTORAGE        _HRESULT_TYPEDEF_(0x80030107L)
  8854.  
  8855. //
  8856. // MessageId: STG_E_EXTANTMARSHALLINGS
  8857. //
  8858. // MessageText:
  8859. //
  8860. //  Illegal operation called on object with extant marshallings.
  8861. //
  8862. #define STG_E_EXTANTMARSHALLINGS         _HRESULT_TYPEDEF_(0x80030108L)
  8863.  
  8864. //
  8865. // MessageId: STG_E_DOCFILECORRUPT
  8866. //
  8867. // MessageText:
  8868. //
  8869. //  The docfile has been corrupted.
  8870. //
  8871. #define STG_E_DOCFILECORRUPT             _HRESULT_TYPEDEF_(0x80030109L)
  8872.  
  8873. //
  8874. // MessageId: STG_E_BADBASEADDRESS
  8875. //
  8876. // MessageText:
  8877. //
  8878. //  OLE32.DLL has been loaded at the wrong address.
  8879. //
  8880. #define STG_E_BADBASEADDRESS             _HRESULT_TYPEDEF_(0x80030110L)
  8881.  
  8882. //
  8883. // MessageId: STG_E_INCOMPLETE
  8884. //
  8885. // MessageText:
  8886. //
  8887. //  The file download was aborted abnormally.  The file is incomplete.
  8888. //
  8889. #define STG_E_INCOMPLETE                 _HRESULT_TYPEDEF_(0x80030201L)
  8890.  
  8891. //
  8892. // MessageId: STG_E_TERMINATED
  8893. //
  8894. // MessageText:
  8895. //
  8896. //  The file download has been terminated.
  8897. //
  8898. #define STG_E_TERMINATED                 _HRESULT_TYPEDEF_(0x80030202L)
  8899.  
  8900. //
  8901. // MessageId: STG_S_CONVERTED
  8902. //
  8903. // MessageText:
  8904. //
  8905. //  The underlying file was converted to compound file format.
  8906. //
  8907. #define STG_S_CONVERTED                  _HRESULT_TYPEDEF_(0x00030200L)
  8908.  
  8909. //
  8910. // MessageId: STG_S_BLOCK
  8911. //
  8912. // MessageText:
  8913. //
  8914. //  The storage operation should block until more data is available.
  8915. //
  8916. #define STG_S_BLOCK                      _HRESULT_TYPEDEF_(0x00030201L)
  8917.  
  8918. //
  8919. // MessageId: STG_S_RETRYNOW
  8920. //
  8921. // MessageText:
  8922. //
  8923. //  The storage operation should retry immediately.
  8924. //
  8925. #define STG_S_RETRYNOW                   _HRESULT_TYPEDEF_(0x00030202L)
  8926.  
  8927. //
  8928. // MessageId: STG_S_MONITORING
  8929. //
  8930. // MessageText:
  8931. //
  8932. //  The notified event sink will not influence the storage operation.
  8933. //
  8934. #define STG_S_MONITORING                 _HRESULT_TYPEDEF_(0x00030203L)
  8935.  
  8936. // ******************
  8937. // FACILITY_RPC
  8938. // ******************
  8939. //
  8940. // Codes 0x0-0x11 are propogated from 16 bit OLE.
  8941. //
  8942. //
  8943. // MessageId: RPC_E_CALL_REJECTED
  8944. //
  8945. // MessageText:
  8946. //
  8947. //  Call was rejected by callee.
  8948. //
  8949. #define RPC_E_CALL_REJECTED              _HRESULT_TYPEDEF_(0x80010001L)
  8950.  
  8951. //
  8952. // MessageId: RPC_E_CALL_CANCELED
  8953. //
  8954. // MessageText:
  8955. //
  8956. //  Call was canceled by the message filter.
  8957. //
  8958. #define RPC_E_CALL_CANCELED              _HRESULT_TYPEDEF_(0x80010002L)
  8959.  
  8960. //
  8961. // MessageId: RPC_E_CANTPOST_INSENDCALL
  8962. //
  8963. // MessageText:
  8964. //
  8965. //  The caller is dispatching an intertask SendMessage call and
  8966. //  cannot call out via PostMessage.
  8967. //
  8968. #define RPC_E_CANTPOST_INSENDCALL        _HRESULT_TYPEDEF_(0x80010003L)
  8969.  
  8970. //
  8971. // MessageId: RPC_E_CANTCALLOUT_INASYNCCALL
  8972. //
  8973. // MessageText:
  8974. //
  8975. //  The caller is dispatching an asynchronous call and cannot
  8976. //  make an outgoing call on behalf of this call.
  8977. //
  8978. #define RPC_E_CANTCALLOUT_INASYNCCALL    _HRESULT_TYPEDEF_(0x80010004L)
  8979.  
  8980. //
  8981. // MessageId: RPC_E_CANTCALLOUT_INEXTERNALCALL
  8982. //
  8983. // MessageText:
  8984. //
  8985. //  It is illegal to call out while inside message filter.
  8986. //
  8987. #define RPC_E_CANTCALLOUT_INEXTERNALCALL _HRESULT_TYPEDEF_(0x80010005L)
  8988.  
  8989. //
  8990. // MessageId: RPC_E_CONNECTION_TERMINATED
  8991. //
  8992. // MessageText:
  8993. //
  8994. //  The connection terminated or is in a bogus state
  8995. //  and cannot be used any more. Other connections
  8996. //  are still valid.
  8997. //
  8998. #define RPC_E_CONNECTION_TERMINATED      _HRESULT_TYPEDEF_(0x80010006L)
  8999.  
  9000. //
  9001. // MessageId: RPC_E_SERVER_DIED
  9002. //
  9003. // MessageText:
  9004. //
  9005. //  The callee (server [not server application]) is not available
  9006. //  and disappeared; all connections are invalid.  The call may
  9007. //  have executed.
  9008. //
  9009. #define RPC_E_SERVER_DIED                _HRESULT_TYPEDEF_(0x80010007L)
  9010.  
  9011. //
  9012. // MessageId: RPC_E_CLIENT_DIED
  9013. //
  9014. // MessageText:
  9015. //
  9016. //  The caller (client) disappeared while the callee (server) was
  9017. //  processing a call.
  9018. //
  9019. #define RPC_E_CLIENT_DIED                _HRESULT_TYPEDEF_(0x80010008L)
  9020.  
  9021. //
  9022. // MessageId: RPC_E_INVALID_DATAPACKET
  9023. //
  9024. // MessageText:
  9025. //
  9026. //  The data packet with the marshalled parameter data is incorrect.
  9027. //
  9028. #define RPC_E_INVALID_DATAPACKET         _HRESULT_TYPEDEF_(0x80010009L)
  9029.  
  9030. //
  9031. // MessageId: RPC_E_CANTTRANSMIT_CALL
  9032. //
  9033. // MessageText:
  9034. //
  9035. //  The call was not transmitted properly; the message queue
  9036. //  was full and was not emptied after yielding.
  9037. //
  9038. #define RPC_E_CANTTRANSMIT_CALL          _HRESULT_TYPEDEF_(0x8001000AL)
  9039.  
  9040. //
  9041. // MessageId: RPC_E_CLIENT_CANTMARSHAL_DATA
  9042. //
  9043. // MessageText:
  9044. //
  9045. //  The client (caller) cannot marshall the parameter data - low memory, etc.
  9046. //
  9047. #define RPC_E_CLIENT_CANTMARSHAL_DATA    _HRESULT_TYPEDEF_(0x8001000BL)
  9048.  
  9049. //
  9050. // MessageId: RPC_E_CLIENT_CANTUNMARSHAL_DATA
  9051. //
  9052. // MessageText:
  9053. //
  9054. //  The client (caller) cannot unmarshall the return data - low memory, etc.
  9055. //
  9056. #define RPC_E_CLIENT_CANTUNMARSHAL_DATA  _HRESULT_TYPEDEF_(0x8001000CL)
  9057.  
  9058. //
  9059. // MessageId: RPC_E_SERVER_CANTMARSHAL_DATA
  9060. //
  9061. // MessageText:
  9062. //
  9063. //  The server (callee) cannot marshall the return data - low memory, etc.
  9064. //
  9065. #define RPC_E_SERVER_CANTMARSHAL_DATA    _HRESULT_TYPEDEF_(0x8001000DL)
  9066.  
  9067. //
  9068. // MessageId: RPC_E_SERVER_CANTUNMARSHAL_DATA
  9069. //
  9070. // MessageText:
  9071. //
  9072. //  The server (callee) cannot unmarshall the parameter data - low memory, etc.
  9073. //
  9074. #define RPC_E_SERVER_CANTUNMARSHAL_DATA  _HRESULT_TYPEDEF_(0x8001000EL)
  9075.  
  9076. //
  9077. // MessageId: RPC_E_INVALID_DATA
  9078. //
  9079. // MessageText:
  9080. //
  9081. //  Received data is invalid; could be server or client data.
  9082. //
  9083. #define RPC_E_INVALID_DATA               _HRESULT_TYPEDEF_(0x8001000FL)
  9084.  
  9085. //
  9086. // MessageId: RPC_E_INVALID_PARAMETER
  9087. //
  9088. // MessageText:
  9089. //
  9090. //  A particular parameter is invalid and cannot be (un)marshalled.
  9091. //
  9092. #define RPC_E_INVALID_PARAMETER          _HRESULT_TYPEDEF_(0x80010010L)
  9093.  
  9094. //
  9095. // MessageId: RPC_E_CANTCALLOUT_AGAIN
  9096. //
  9097. // MessageText:
  9098. //
  9099. //  There is no second outgoing call on same channel in DDE conversation.
  9100. //
  9101. #define RPC_E_CANTCALLOUT_AGAIN          _HRESULT_TYPEDEF_(0x80010011L)
  9102.  
  9103. //
  9104. // MessageId: RPC_E_SERVER_DIED_DNE
  9105. //
  9106. // MessageText:
  9107. //
  9108. //  The callee (server [not server application]) is not available
  9109. //  and disappeared; all connections are invalid.  The call did not execute.
  9110. //
  9111. #define RPC_E_SERVER_DIED_DNE            _HRESULT_TYPEDEF_(0x80010012L)
  9112.  
  9113. //
  9114. // MessageId: RPC_E_SYS_CALL_FAILED
  9115. //
  9116. // MessageText:
  9117. //
  9118. //  System call failed.
  9119. //
  9120. #define RPC_E_SYS_CALL_FAILED            _HRESULT_TYPEDEF_(0x80010100L)
  9121.  
  9122. //
  9123. // MessageId: RPC_E_OUT_OF_RESOURCES
  9124. //
  9125. // MessageText:
  9126. //
  9127. //  Could not allocate some required resource (memory, events, ...)
  9128. //
  9129. #define RPC_E_OUT_OF_RESOURCES           _HRESULT_TYPEDEF_(0x80010101L)
  9130.  
  9131. //
  9132. // MessageId: RPC_E_ATTEMPTED_MULTITHREAD
  9133. //
  9134. // MessageText:
  9135. //
  9136. //  Attempted to make calls on more than one thread in single threaded mode.
  9137. //
  9138. #define RPC_E_ATTEMPTED_MULTITHREAD      _HRESULT_TYPEDEF_(0x80010102L)
  9139.  
  9140. //
  9141. // MessageId: RPC_E_NOT_REGISTERED
  9142. //
  9143. // MessageText:
  9144. //
  9145. //  The requested interface is not registered on the server object.
  9146. //
  9147. #define RPC_E_NOT_REGISTERED             _HRESULT_TYPEDEF_(0x80010103L)
  9148.  
  9149. //
  9150. // MessageId: RPC_E_FAULT
  9151. //
  9152. // MessageText:
  9153. //
  9154. //  RPC could not call the server or could not return the results of calling the server.
  9155. //
  9156. #define RPC_E_FAULT                      _HRESULT_TYPEDEF_(0x80010104L)
  9157.  
  9158. //
  9159. // MessageId: RPC_E_SERVERFAULT
  9160. //
  9161. // MessageText:
  9162. //
  9163. //  The server threw an exception.
  9164. //
  9165. #define RPC_E_SERVERFAULT                _HRESULT_TYPEDEF_(0x80010105L)
  9166.  
  9167. //
  9168. // MessageId: RPC_E_CHANGED_MODE
  9169. //
  9170. // MessageText:
  9171. //
  9172. //  Cannot change thread mode after it is set.
  9173. //
  9174. #define RPC_E_CHANGED_MODE               _HRESULT_TYPEDEF_(0x80010106L)
  9175.  
  9176. //
  9177. // MessageId: RPC_E_INVALIDMETHOD
  9178. //
  9179. // MessageText:
  9180. //
  9181. //  The method called does not exist on the server.
  9182. //
  9183. #define RPC_E_INVALIDMETHOD              _HRESULT_TYPEDEF_(0x80010107L)
  9184.  
  9185. //
  9186. // MessageId: RPC_E_DISCONNECTED
  9187. //
  9188. // MessageText:
  9189. //
  9190. //  The object invoked has disconnected from its clients.
  9191. //
  9192. #define RPC_E_DISCONNECTED               _HRESULT_TYPEDEF_(0x80010108L)
  9193.  
  9194. //
  9195. // MessageId: RPC_E_RETRY
  9196. //
  9197. // MessageText:
  9198. //
  9199. //  The object invoked chose not to process the call now.  Try again later.
  9200. //
  9201. #define RPC_E_RETRY                      _HRESULT_TYPEDEF_(0x80010109L)
  9202.  
  9203. //
  9204. // MessageId: RPC_E_SERVERCALL_RETRYLATER
  9205. //
  9206. // MessageText:
  9207. //
  9208. //  The message filter indicated that the application is busy.
  9209. //
  9210. #define RPC_E_SERVERCALL_RETRYLATER      _HRESULT_TYPEDEF_(0x8001010AL)
  9211.  
  9212. //
  9213. // MessageId: RPC_E_SERVERCALL_REJECTED
  9214. //
  9215. // MessageText:
  9216. //
  9217. //  The message filter rejected the call.
  9218. //
  9219. #define RPC_E_SERVERCALL_REJECTED        _HRESULT_TYPEDEF_(0x8001010BL)
  9220.  
  9221. //
  9222. // MessageId: RPC_E_INVALID_CALLDATA
  9223. //
  9224. // MessageText:
  9225. //
  9226. //  A call control interfaces was called with invalid data.
  9227. //
  9228. #define RPC_E_INVALID_CALLDATA           _HRESULT_TYPEDEF_(0x8001010CL)
  9229.  
  9230. //
  9231. // MessageId: RPC_E_CANTCALLOUT_ININPUTSYNCCALL
  9232. //
  9233. // MessageText:
  9234. //
  9235. //  An outgoing call cannot be made since the application is dispatching an input-synchronous call.
  9236. //
  9237. #define RPC_E_CANTCALLOUT_ININPUTSYNCCALL _HRESULT_TYPEDEF_(0x8001010DL)
  9238.  
  9239. //
  9240. // MessageId: RPC_E_WRONG_THREAD
  9241. //
  9242. // MessageText:
  9243. //
  9244. //  The application called an interface that was marshalled for a different thread.
  9245. //
  9246. #define RPC_E_WRONG_THREAD               _HRESULT_TYPEDEF_(0x8001010EL)
  9247.  
  9248. //
  9249. // MessageId: RPC_E_THREAD_NOT_INIT
  9250. //
  9251. // MessageText:
  9252. //
  9253. //  CoInitialize has not been called on the current thread.
  9254. //
  9255. #define RPC_E_THREAD_NOT_INIT            _HRESULT_TYPEDEF_(0x8001010FL)
  9256.  
  9257. //
  9258. // MessageId: RPC_E_VERSION_MISMATCH
  9259. //
  9260. // MessageText:
  9261. //
  9262. //  The version of OLE on the client and server machines does not match.
  9263. //
  9264. #define RPC_E_VERSION_MISMATCH           _HRESULT_TYPEDEF_(0x80010110L)
  9265.  
  9266. //
  9267. // MessageId: RPC_E_INVALID_HEADER
  9268. //
  9269. // MessageText:
  9270. //
  9271. //  OLE received a packet with an invalid header.
  9272. //
  9273. #define RPC_E_INVALID_HEADER             _HRESULT_TYPEDEF_(0x80010111L)
  9274.  
  9275. //
  9276. // MessageId: RPC_E_INVALID_EXTENSION
  9277. //
  9278. // MessageText:
  9279. //
  9280. //  OLE received a packet with an invalid extension.
  9281. //
  9282. #define RPC_E_INVALID_EXTENSION          _HRESULT_TYPEDEF_(0x80010112L)
  9283.  
  9284. //
  9285. // MessageId: RPC_E_INVALID_IPID
  9286. //
  9287. // MessageText:
  9288. //
  9289. //  The requested object or interface does not exist.
  9290. //
  9291. #define RPC_E_INVALID_IPID               _HRESULT_TYPEDEF_(0x80010113L)
  9292.  
  9293. //
  9294. // MessageId: RPC_E_INVALID_OBJECT
  9295. //
  9296. // MessageText:
  9297. //
  9298. //  The requested object does not exist.
  9299. //
  9300. #define RPC_E_INVALID_OBJECT             _HRESULT_TYPEDEF_(0x80010114L)
  9301.  
  9302. //
  9303. // MessageId: RPC_S_CALLPENDING
  9304. //
  9305. // MessageText:
  9306. //
  9307. //  OLE has sent a request and is waiting for a reply.
  9308. //
  9309. #define RPC_S_CALLPENDING                _HRESULT_TYPEDEF_(0x80010115L)
  9310.  
  9311. //
  9312. // MessageId: RPC_S_WAITONTIMER
  9313. //
  9314. // MessageText:
  9315. //
  9316. //  OLE is waiting before retrying a request.
  9317. //
  9318. #define RPC_S_WAITONTIMER                _HRESULT_TYPEDEF_(0x80010116L)
  9319.  
  9320. //
  9321. // MessageId: RPC_E_CALL_COMPLETE
  9322. //
  9323. // MessageText:
  9324. //
  9325. //  Call context cannot be accessed after call completed.
  9326. //
  9327. #define RPC_E_CALL_COMPLETE              _HRESULT_TYPEDEF_(0x80010117L)
  9328.  
  9329. //
  9330. // MessageId: RPC_E_UNSECURE_CALL
  9331. //
  9332. // MessageText:
  9333. //
  9334. //  Impersonate on unsecure calls is not supported.
  9335. //
  9336. #define RPC_E_UNSECURE_CALL              _HRESULT_TYPEDEF_(0x80010118L)
  9337.  
  9338. //
  9339. // MessageId: RPC_E_TOO_LATE
  9340. //
  9341. // MessageText:
  9342. //
  9343. //  Security must be initialized before any interfaces are marshalled or
  9344. //  unmarshalled.  It cannot be changed once initialized.
  9345. //
  9346. #define RPC_E_TOO_LATE                   _HRESULT_TYPEDEF_(0x80010119L)
  9347.  
  9348. //
  9349. // MessageId: RPC_E_NO_GOOD_SECURITY_PACKAGES
  9350. //
  9351. // MessageText:
  9352. //
  9353. //  No security packages are installed on this machine or the user is not logged
  9354. //  on or there are no compatible security packages between the client and server.
  9355. //
  9356. #define RPC_E_NO_GOOD_SECURITY_PACKAGES  _HRESULT_TYPEDEF_(0x8001011AL)
  9357.  
  9358. //
  9359. // MessageId: RPC_E_ACCESS_DENIED
  9360. //
  9361. // MessageText:
  9362. //
  9363. //  Access is denied.
  9364. //
  9365. #define RPC_E_ACCESS_DENIED              _HRESULT_TYPEDEF_(0x8001011BL)
  9366.  
  9367. //
  9368. // MessageId: RPC_E_REMOTE_DISABLED
  9369. //
  9370. // MessageText:
  9371. //
  9372. //  Remote calls are not allowed for this process.
  9373. //
  9374. #define RPC_E_REMOTE_DISABLED            _HRESULT_TYPEDEF_(0x8001011CL)
  9375.  
  9376. //
  9377. // MessageId: RPC_E_INVALID_OBJREF
  9378. //
  9379. // MessageText:
  9380. //
  9381. //  The marshaled interface data packet (OBJREF) has an invalid or unknown format.
  9382. //
  9383. #define RPC_E_INVALID_OBJREF             _HRESULT_TYPEDEF_(0x8001011DL)
  9384.  
  9385. //
  9386. // MessageId: RPC_E_UNEXPECTED
  9387. //
  9388. // MessageText:
  9389. //
  9390. //  An internal error occurred.
  9391. //
  9392. #define RPC_E_UNEXPECTED                 _HRESULT_TYPEDEF_(0x8001FFFFL)
  9393.  
  9394.  
  9395.  /////////////////
  9396.  //
  9397.  //  FACILITY_SSPI
  9398.  //
  9399.  /////////////////
  9400.  
  9401. //
  9402. // MessageId: NTE_BAD_UID
  9403. //
  9404. // MessageText:
  9405. //
  9406. //  Bad UID.
  9407. //
  9408. #define NTE_BAD_UID                      _HRESULT_TYPEDEF_(0x80090001L)
  9409.  
  9410. //
  9411. // MessageId: NTE_BAD_HASH
  9412. //
  9413. // MessageText:
  9414. //
  9415. //  Bad Hash.
  9416. //
  9417. #define NTE_BAD_HASH                     _HRESULT_TYPEDEF_(0x80090002L)
  9418.  
  9419. //
  9420. // MessageId: NTE_BAD_KEY
  9421. //
  9422. // MessageText:
  9423. //
  9424. //  Bad Key.
  9425. //
  9426. #define NTE_BAD_KEY                      _HRESULT_TYPEDEF_(0x80090003L)
  9427.  
  9428. //
  9429. // MessageId: NTE_BAD_LEN
  9430. //
  9431. // MessageText:
  9432. //
  9433. //  Bad Length.
  9434. //
  9435. #define NTE_BAD_LEN                      _HRESULT_TYPEDEF_(0x80090004L)
  9436.  
  9437. //
  9438. // MessageId: NTE_BAD_DATA
  9439. //
  9440. // MessageText:
  9441. //
  9442. //  Bad Data.
  9443. //
  9444. #define NTE_BAD_DATA                     _HRESULT_TYPEDEF_(0x80090005L)
  9445.  
  9446. //
  9447. // MessageId: NTE_BAD_SIGNATURE
  9448. //
  9449. // MessageText:
  9450. //
  9451. //  Invalid Signature.
  9452. //
  9453. #define NTE_BAD_SIGNATURE                _HRESULT_TYPEDEF_(0x80090006L)
  9454.  
  9455. //
  9456. // MessageId: NTE_BAD_VER
  9457. //
  9458. // MessageText:
  9459. //
  9460. //  Bad Version of provider.
  9461. //
  9462. #define NTE_BAD_VER                      _HRESULT_TYPEDEF_(0x80090007L)
  9463.  
  9464. //
  9465. // MessageId: NTE_BAD_ALGID
  9466. //
  9467. // MessageText:
  9468. //
  9469. //  Invalid algorithm specified.
  9470. //
  9471. #define NTE_BAD_ALGID                    _HRESULT_TYPEDEF_(0x80090008L)
  9472.  
  9473. //
  9474. // MessageId: NTE_BAD_FLAGS
  9475. //
  9476. // MessageText:
  9477. //
  9478. //  Invalid flags specified.
  9479. //
  9480. #define NTE_BAD_FLAGS                    _HRESULT_TYPEDEF_(0x80090009L)
  9481.  
  9482. //
  9483. // MessageId: NTE_BAD_TYPE
  9484. //
  9485. // MessageText:
  9486. //
  9487. //  Invalid type specified.
  9488. //
  9489. #define NTE_BAD_TYPE                     _HRESULT_TYPEDEF_(0x8009000AL)
  9490.  
  9491. //
  9492. // MessageId: NTE_BAD_KEY_STATE
  9493. //
  9494. // MessageText:
  9495. //
  9496. //  Key not valid for use in specified state.
  9497. //
  9498. #define NTE_BAD_KEY_STATE                _HRESULT_TYPEDEF_(0x8009000BL)
  9499.  
  9500. //
  9501. // MessageId: NTE_BAD_HASH_STATE
  9502. //
  9503. // MessageText:
  9504. //
  9505. //  Hash not valid for use in specified state.
  9506. //
  9507. #define NTE_BAD_HASH_STATE               _HRESULT_TYPEDEF_(0x8009000CL)
  9508.  
  9509. //
  9510. // MessageId: NTE_NO_KEY
  9511. //
  9512. // MessageText:
  9513. //
  9514. //  Key does not exist.
  9515. //
  9516. #define NTE_NO_KEY                       _HRESULT_TYPEDEF_(0x8009000DL)
  9517.  
  9518. //
  9519. // MessageId: NTE_NO_MEMORY
  9520. //
  9521. // MessageText:
  9522. //
  9523. //  Insufficient memory available for the operation.
  9524. //
  9525. #define NTE_NO_MEMORY                    _HRESULT_TYPEDEF_(0x8009000EL)
  9526.  
  9527. //
  9528. // MessageId: NTE_EXISTS
  9529. //
  9530. // MessageText:
  9531. //
  9532. //  Object already exists.
  9533. //
  9534. #define NTE_EXISTS                       _HRESULT_TYPEDEF_(0x8009000FL)
  9535.  
  9536. //
  9537. // MessageId: NTE_PERM
  9538. //
  9539. // MessageText:
  9540. //
  9541. //  Access denied.
  9542. //
  9543. #define NTE_PERM                         _HRESULT_TYPEDEF_(0x80090010L)
  9544.  
  9545. //
  9546. // MessageId: NTE_NOT_FOUND
  9547. //
  9548. // MessageText:
  9549. //
  9550. //  Object was not found.
  9551. //
  9552. #define NTE_NOT_FOUND                    _HRESULT_TYPEDEF_(0x80090011L)
  9553.  
  9554. //
  9555. // MessageId: NTE_DOUBLE_ENCRYPT
  9556. //
  9557. // MessageText:
  9558. //
  9559. //  Data already encrypted.
  9560. //
  9561. #define NTE_DOUBLE_ENCRYPT               _HRESULT_TYPEDEF_(0x80090012L)
  9562.  
  9563. //
  9564. // MessageId: NTE_BAD_PROVIDER
  9565. //
  9566. // MessageText:
  9567. //
  9568. //  Invalid provider specified.
  9569. //
  9570. #define NTE_BAD_PROVIDER                 _HRESULT_TYPEDEF_(0x80090013L)
  9571.  
  9572. //
  9573. // MessageId: NTE_BAD_PROV_TYPE
  9574. //
  9575. // MessageText:
  9576. //
  9577. //  Invalid provider type specified.
  9578. //
  9579. #define NTE_BAD_PROV_TYPE                _HRESULT_TYPEDEF_(0x80090014L)
  9580.  
  9581. //
  9582. // MessageId: NTE_BAD_PUBLIC_KEY
  9583. //
  9584. // MessageText:
  9585. //
  9586. //  Provider's public key is invalid.
  9587. //
  9588. #define NTE_BAD_PUBLIC_KEY               _HRESULT_TYPEDEF_(0x80090015L)
  9589.  
  9590. //
  9591. // MessageId: NTE_BAD_KEYSET
  9592. //
  9593. // MessageText:
  9594. //
  9595. //  Keyset does not exist
  9596. //
  9597. #define NTE_BAD_KEYSET                   _HRESULT_TYPEDEF_(0x80090016L)
  9598.  
  9599. //
  9600. // MessageId: NTE_PROV_TYPE_NOT_DEF
  9601. //
  9602. // MessageText:
  9603. //
  9604. //  Provider type not defined.
  9605. //
  9606. #define NTE_PROV_TYPE_NOT_DEF            _HRESULT_TYPEDEF_(0x80090017L)
  9607.  
  9608. //
  9609. // MessageId: NTE_PROV_TYPE_ENTRY_BAD
  9610. //
  9611. // MessageText:
  9612. //
  9613. //  Provider type as registered is invalid.
  9614. //
  9615. #define NTE_PROV_TYPE_ENTRY_BAD          _HRESULT_TYPEDEF_(0x80090018L)
  9616.  
  9617. //
  9618. // MessageId: NTE_KEYSET_NOT_DEF
  9619. //
  9620. // MessageText:
  9621. //
  9622. //  The keyset is not defined.
  9623. //
  9624. #define NTE_KEYSET_NOT_DEF               _HRESULT_TYPEDEF_(0x80090019L)
  9625.  
  9626. //
  9627. // MessageId: NTE_KEYSET_ENTRY_BAD
  9628. //
  9629. // MessageText:
  9630. //
  9631. //  Keyset as registered is invalid.
  9632. //
  9633. #define NTE_KEYSET_ENTRY_BAD             _HRESULT_TYPEDEF_(0x8009001AL)
  9634.  
  9635. //
  9636. // MessageId: NTE_PROV_TYPE_NO_MATCH
  9637. //
  9638. // MessageText:
  9639. //
  9640. //  Provider type does not match registered value.
  9641. //
  9642. #define NTE_PROV_TYPE_NO_MATCH           _HRESULT_TYPEDEF_(0x8009001BL)
  9643.  
  9644. //
  9645. // MessageId: NTE_SIGNATURE_FILE_BAD
  9646. //
  9647. // MessageText:
  9648. //
  9649. //  The digital signature file is corrupt.
  9650. //
  9651. #define NTE_SIGNATURE_FILE_BAD           _HRESULT_TYPEDEF_(0x8009001CL)
  9652.  
  9653. //
  9654. // MessageId: NTE_PROVIDER_DLL_FAIL
  9655. //
  9656. // MessageText:
  9657. //
  9658. //  Provider DLL failed to initialize correctly.
  9659. //
  9660. #define NTE_PROVIDER_DLL_FAIL            _HRESULT_TYPEDEF_(0x8009001DL)
  9661.  
  9662. //
  9663. // MessageId: NTE_PROV_DLL_NOT_FOUND
  9664. //
  9665. // MessageText:
  9666. //
  9667. //  Provider DLL could not be found.
  9668. //
  9669. #define NTE_PROV_DLL_NOT_FOUND           _HRESULT_TYPEDEF_(0x8009001EL)
  9670.  
  9671. //
  9672. // MessageId: NTE_BAD_KEYSET_PARAM
  9673. //
  9674. // MessageText:
  9675. //
  9676. //  The Keyset parameter is invalid.
  9677. //
  9678. #define NTE_BAD_KEYSET_PARAM             _HRESULT_TYPEDEF_(0x8009001FL)
  9679.  
  9680. //
  9681. // MessageId: NTE_FAIL
  9682. //
  9683. // MessageText:
  9684. //
  9685. //  An internal error occurred.
  9686. //
  9687. #define NTE_FAIL                         _HRESULT_TYPEDEF_(0x80090020L)
  9688.  
  9689. //
  9690. // MessageId: NTE_SYS_ERR
  9691. //
  9692. // MessageText:
  9693. //
  9694. //  A base error occurred.
  9695. //
  9696. #define NTE_SYS_ERR                      _HRESULT_TYPEDEF_(0x80090021L)
  9697.  
  9698. #define NTE_OP_OK 0
  9699.  
  9700. //
  9701. // Note that additional FACILITY_SSPI errors are in issperr.h
  9702. //
  9703. // ******************
  9704. // FACILITY_CERT
  9705. // ******************
  9706. //
  9707. // MessageId: TRUST_E_PROVIDER_UNKNOWN
  9708. //
  9709. // MessageText:
  9710. //
  9711. //  The specified trust provider is not known on this system.
  9712. //
  9713. #define TRUST_E_PROVIDER_UNKNOWN         _HRESULT_TYPEDEF_(0x800B0001L)
  9714.  
  9715. //
  9716. // MessageId: TRUST_E_ACTION_UNKNOWN
  9717. //
  9718. // MessageText:
  9719. //
  9720. //  The trust verification action specified is not supported by the specified trust provider.
  9721. //
  9722. #define TRUST_E_ACTION_UNKNOWN           _HRESULT_TYPEDEF_(0x800B0002L)
  9723.  
  9724. //
  9725. // MessageId: TRUST_E_SUBJECT_FORM_UNKNOWN
  9726. //
  9727. // MessageText:
  9728. //
  9729. //  The form specified for the subject is not one supported or known by the specified trust provider.
  9730. //
  9731. #define TRUST_E_SUBJECT_FORM_UNKNOWN     _HRESULT_TYPEDEF_(0x800B0003L)
  9732.  
  9733. //
  9734. // MessageId: TRUST_E_SUBJECT_NOT_TRUSTED
  9735. //
  9736. // MessageText:
  9737. //
  9738. //  The subject is not trusted for the specified action.
  9739. //
  9740. #define TRUST_E_SUBJECT_NOT_TRUSTED      _HRESULT_TYPEDEF_(0x800B0004L)
  9741.  
  9742. //
  9743. // MessageId: DIGSIG_E_ENCODE
  9744. //
  9745. // MessageText:
  9746. //
  9747. //  Error due to problem in ASN.1 encoding process.
  9748. //
  9749. #define DIGSIG_E_ENCODE                  _HRESULT_TYPEDEF_(0x800B0005L)
  9750.  
  9751. //
  9752. // MessageId: DIGSIG_E_DECODE
  9753. //
  9754. // MessageText:
  9755. //
  9756. //  Error due to problem in ASN.1 decoding process.
  9757. //
  9758. #define DIGSIG_E_DECODE                  _HRESULT_TYPEDEF_(0x800B0006L)
  9759.  
  9760. //
  9761. // MessageId: DIGSIG_E_EXTENSIBILITY
  9762. //
  9763. // MessageText:
  9764. //
  9765. //  Reading / writing Extensions where Attributes are appropriate, and visa versa.
  9766. //
  9767. #define DIGSIG_E_EXTENSIBILITY           _HRESULT_TYPEDEF_(0x800B0007L)
  9768.  
  9769. //
  9770. // MessageId: DIGSIG_E_CRYPTO
  9771. //
  9772. // MessageText:
  9773. //
  9774. //  Unspecified cryptographic failure.
  9775. //
  9776. #define DIGSIG_E_CRYPTO                  _HRESULT_TYPEDEF_(0x800B0008L)
  9777.  
  9778. //
  9779. // MessageId: PERSIST_E_SIZEDEFINITE
  9780. //
  9781. // MessageText:
  9782. //
  9783. //  The size of the data could not be determined.
  9784. //
  9785. #define PERSIST_E_SIZEDEFINITE           _HRESULT_TYPEDEF_(0x800B0009L)
  9786.  
  9787. //
  9788. // MessageId: PERSIST_E_SIZEINDEFINITE
  9789. //
  9790. // MessageText:
  9791. //
  9792. //  The size of the indefinite-sized data could not be determined.
  9793. //
  9794. #define PERSIST_E_SIZEINDEFINITE         _HRESULT_TYPEDEF_(0x800B000AL)
  9795.  
  9796. //
  9797. // MessageId: PERSIST_E_NOTSELFSIZING
  9798. //
  9799. // MessageText:
  9800. //
  9801. //  This object does not read and write self-sizing data.
  9802. //
  9803. #define PERSIST_E_NOTSELFSIZING          _HRESULT_TYPEDEF_(0x800B000BL)
  9804.  
  9805. //
  9806. // MessageId: TRUST_E_NOSIGNATURE
  9807. //
  9808. // MessageText:
  9809. //
  9810. //  No signature was present in the subject.
  9811. //
  9812. #define TRUST_E_NOSIGNATURE              _HRESULT_TYPEDEF_(0x800B0100L)
  9813.  
  9814. //
  9815. // MessageId: CERT_E_EXPIRED
  9816. //
  9817. // MessageText:
  9818. //
  9819. //  A required certificate is not within its validity period.
  9820. //
  9821. #define CERT_E_EXPIRED                   _HRESULT_TYPEDEF_(0x800B0101L)
  9822.  
  9823. //
  9824. // MessageId: CERT_E_VALIDIYPERIODNESTING
  9825. //
  9826. // MessageText:
  9827. //
  9828. //  The validity periods of the certification chain do not nest correctly.
  9829. //
  9830. #define CERT_E_VALIDIYPERIODNESTING      _HRESULT_TYPEDEF_(0x800B0102L)
  9831.  
  9832. //
  9833. // MessageId: CERT_E_ROLE
  9834. //
  9835. // MessageText:
  9836. //
  9837. //  A certificate that can only be used as an end-entity is being used as a CA or visa versa.
  9838. //
  9839. #define CERT_E_ROLE                      _HRESULT_TYPEDEF_(0x800B0103L)
  9840.  
  9841. //
  9842. // MessageId: CERT_E_PATHLENCONST
  9843. //
  9844. // MessageText:
  9845. //
  9846. //  A path length constraint in the certification chain has been violated.
  9847. //
  9848. #define CERT_E_PATHLENCONST              _HRESULT_TYPEDEF_(0x800B0104L)
  9849.  
  9850. //
  9851. // MessageId: CERT_E_CRITICAL
  9852. //
  9853. // MessageText:
  9854. //
  9855. //  An extension of unknown type that is labeled 'critical' is present in a certificate.
  9856. //
  9857. #define CERT_E_CRITICAL                  _HRESULT_TYPEDEF_(0x800B0105L)
  9858.  
  9859. //
  9860. // MessageId: CERT_E_PURPOSE
  9861. //
  9862. // MessageText:
  9863. //
  9864. //  A certificate is being used for a purpose other than that for which it is permitted.
  9865. //
  9866. #define CERT_E_PURPOSE                   _HRESULT_TYPEDEF_(0x800B0106L)
  9867.  
  9868. //
  9869. // MessageId: CERT_E_ISSUERCHAINING
  9870. //
  9871. // MessageText:
  9872. //
  9873. //  A parent of a given certificate in fact did not issue that child certificate.
  9874. //
  9875. #define CERT_E_ISSUERCHAINING            _HRESULT_TYPEDEF_(0x800B0107L)
  9876.  
  9877. //
  9878. // MessageId: CERT_E_MALFORMED
  9879. //
  9880. // MessageText:
  9881. //
  9882. //  A certificate is missing or has an empty value for an important field, such as a subject or issuer name.
  9883. //
  9884. #define CERT_E_MALFORMED                 _HRESULT_TYPEDEF_(0x800B0108L)
  9885.  
  9886. //
  9887. // MessageId: CERT_E_UNTRUSTEDROOT
  9888. //
  9889. // MessageText:
  9890. //
  9891. //  A certification chain processed correctly, but terminated in a root certificate which isn't trusted by the trust provider.
  9892. //
  9893. #define CERT_E_UNTRUSTEDROOT             _HRESULT_TYPEDEF_(0x800B0109L)
  9894.  
  9895. //
  9896. // MessageId: CERT_E_CHAINING
  9897. //
  9898. // MessageText:
  9899. //
  9900. //  A chain of certs didn't chain as they should in a certain application of chaining.
  9901. //
  9902. #define CERT_E_CHAINING                  _HRESULT_TYPEDEF_(0x800B010AL)
  9903.  
  9904. #endif // _WINERROR_
  9905.