home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / winerror.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  188.4 KB  |  9,687 lines

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