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