home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / WINERROR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  265.5 KB  |  12,939 lines

  1. /************************************************************************
  2. *                                                                       *
  3. *   winerror.h --  error code definitions for the Win32 API functions   *
  4. *                                                                       *
  5. *   Copyright 1991-1998, Microsoft Corp. All rights reserved.       *
  6. *                                                                       *
  7. ************************************************************************/
  8.  
  9. #ifndef _WINERROR_
  10. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  11. #define _WINERROR_
  12.  
  13.  
  14. //
  15. //  Values are 32 bit values layed out as follows:
  16. //
  17. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  18. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  19. //  +---+-+-+-----------------------+-------------------------------+
  20. //  |Sev|C|R|     Facility          |               Code            |
  21. //  +---+-+-+-----------------------+-------------------------------+
  22. //
  23. //  where
  24. //
  25. //      Sev - is the severity code
  26. //
  27. //          00 - Success
  28. //          01 - Informational
  29. //          10 - Warning
  30. //          11 - Error
  31. //
  32. //      C - is the Customer code flag
  33. //
  34. //      R - is a reserved bit
  35. //
  36. //      Facility - is the facility code
  37. //
  38. //      Code - is the facility's status code
  39. //
  40. //
  41. // Define the facility codes
  42. //
  43. #define FACILITY_WINDOWS                 8
  44. #define FACILITY_STORAGE                 3
  45. #define FACILITY_SSPI                    9
  46. #define FACILITY_SETUPAPI                15
  47. #define FACILITY_RPC                     1
  48. #define FACILITY_WIN32                   7
  49. #define FACILITY_CONTROL                 10
  50. #define FACILITY_NULL                    0
  51. #define FACILITY_MSMQ                    14
  52. #define FACILITY_MEDIASERVER             13
  53. #define FACILITY_INTERNET                12
  54. #define FACILITY_ITF                     4
  55. #define FACILITY_DISPATCH                2
  56. #define FACILITY_CERT                    11
  57.  
  58.  
  59. //
  60. // Define the severity codes
  61. //
  62.  
  63.  
  64. //
  65. // MessageId: ERROR_SUCCESS
  66. //
  67. // MessageText:
  68. //
  69. //  The operation completed successfully.
  70. //
  71. #define ERROR_SUCCESS                    0L
  72.  
  73. #define NO_ERROR 0L                                                 // dderror
  74.  
  75. //
  76. // MessageId: ERROR_INVALID_FUNCTION
  77. //
  78. // MessageText:
  79. //
  80. //  Incorrect function.
  81. //
  82. #define ERROR_INVALID_FUNCTION           1L    // dderror
  83.  
  84. //
  85. // MessageId: ERROR_FILE_NOT_FOUND
  86. //
  87. // MessageText:
  88. //
  89. //  The system cannot find the file specified.
  90. //
  91. #define ERROR_FILE_NOT_FOUND             2L
  92.  
  93. //
  94. // MessageId: ERROR_PATH_NOT_FOUND
  95. //
  96. // MessageText:
  97. //
  98. //  The system cannot find the path specified.
  99. //
  100. #define ERROR_PATH_NOT_FOUND             3L
  101.  
  102. //
  103. // MessageId: ERROR_TOO_MANY_OPEN_FILES
  104. //
  105. // MessageText:
  106. //
  107. //  The system cannot open the file.
  108. //
  109. #define ERROR_TOO_MANY_OPEN_FILES        4L
  110.  
  111. //
  112. // MessageId: ERROR_ACCESS_DENIED
  113. //
  114. // MessageText:
  115. //
  116. //  Access is denied.
  117. //
  118. #define ERROR_ACCESS_DENIED              5L
  119.  
  120. //
  121. // MessageId: ERROR_INVALID_HANDLE
  122. //
  123. // MessageText:
  124. //
  125. //  The handle is invalid.
  126. //
  127. #define ERROR_INVALID_HANDLE             6L
  128.  
  129. //
  130. // MessageId: ERROR_ARENA_TRASHED
  131. //
  132. // MessageText:
  133. //
  134. //  The storage control blocks were destroyed.
  135. //
  136. #define ERROR_ARENA_TRASHED              7L
  137.  
  138. //
  139. // MessageId: ERROR_NOT_ENOUGH_MEMORY
  140. //
  141. // MessageText:
  142. //
  143. //  Not enough storage is available to process this command.
  144. //
  145. #define ERROR_NOT_ENOUGH_MEMORY          8L    // dderror
  146.  
  147. //
  148. // MessageId: ERROR_INVALID_BLOCK
  149. //
  150. // MessageText:
  151. //
  152. //  The storage control block address is invalid.
  153. //
  154. #define ERROR_INVALID_BLOCK              9L
  155.  
  156. //
  157. // MessageId: ERROR_BAD_ENVIRONMENT
  158. //
  159. // MessageText:
  160. //
  161. //  The environment is incorrect.
  162. //
  163. #define ERROR_BAD_ENVIRONMENT            10L
  164.  
  165. //
  166. // MessageId: ERROR_BAD_FORMAT
  167. //
  168. // MessageText:
  169. //
  170. //  An attempt was made to load a program with an
  171. //  incorrect format.
  172. //
  173. #define ERROR_BAD_FORMAT                 11L
  174.  
  175. //
  176. // MessageId: ERROR_INVALID_ACCESS
  177. //
  178. // MessageText:
  179. //
  180. //  The access code is invalid.
  181. //
  182. #define ERROR_INVALID_ACCESS             12L
  183.  
  184. //
  185. // MessageId: ERROR_INVALID_DATA
  186. //
  187. // MessageText:
  188. //
  189. //  The data is invalid.
  190. //
  191. #define ERROR_INVALID_DATA               13L
  192.  
  193. //
  194. // MessageId: ERROR_OUTOFMEMORY
  195. //
  196. // MessageText:
  197. //
  198. //  Not enough storage is available to complete this operation.
  199. //
  200. #define ERROR_OUTOFMEMORY                14L
  201.  
  202. //
  203. // MessageId: ERROR_INVALID_DRIVE
  204. //
  205. // MessageText:
  206. //
  207. //  The system cannot find the drive specified.
  208. //
  209. #define ERROR_INVALID_DRIVE              15L
  210.  
  211. //
  212. // MessageId: ERROR_CURRENT_DIRECTORY
  213. //
  214. // MessageText:
  215. //
  216. //  The directory cannot be removed.
  217. //
  218. #define ERROR_CURRENT_DIRECTORY          16L
  219.  
  220. //
  221. // MessageId: ERROR_NOT_SAME_DEVICE
  222. //
  223. // MessageText:
  224. //
  225. //  The system cannot move the file
  226. //  to a different disk drive.
  227. //
  228. #define ERROR_NOT_SAME_DEVICE            17L
  229.  
  230. //
  231. // MessageId: ERROR_NO_MORE_FILES
  232. //
  233. // MessageText:
  234. //
  235. //  There are no more files.
  236. //
  237. #define ERROR_NO_MORE_FILES              18L
  238.  
  239. //
  240. // MessageId: ERROR_WRITE_PROTECT
  241. //
  242. // MessageText:
  243. //
  244. //  The media is write protected.
  245. //
  246. #define ERROR_WRITE_PROTECT              19L
  247.  
  248. //
  249. // MessageId: ERROR_BAD_UNIT
  250. //
  251. // MessageText:
  252. //
  253. //  The system cannot find the device specified.
  254. //
  255. #define ERROR_BAD_UNIT                   20L
  256.  
  257. //
  258. // MessageId: ERROR_NOT_READY
  259. //
  260. // MessageText:
  261. //
  262. //  The device is not ready.
  263. //
  264. #define ERROR_NOT_READY                  21L
  265.  
  266. //
  267. // MessageId: ERROR_BAD_COMMAND
  268. //
  269. // MessageText:
  270. //
  271. //  The device does not recognize the command.
  272. //
  273. #define ERROR_BAD_COMMAND                22L
  274.  
  275. //
  276. // MessageId: ERROR_CRC
  277. //
  278. // MessageText:
  279. //
  280. //  Data error (cyclic redundancy check).
  281. //
  282. #define ERROR_CRC                        23L
  283.  
  284. //
  285. // MessageId: ERROR_BAD_LENGTH
  286. //
  287. // MessageText:
  288. //
  289. //  The program issued a command but the
  290. //  command length is incorrect.
  291. //
  292. #define ERROR_BAD_LENGTH                 24L
  293.  
  294. //
  295. // MessageId: ERROR_SEEK
  296. //
  297. // MessageText:
  298. //
  299. //  The drive cannot locate a specific
  300. //  area or track on the disk.
  301. //
  302. #define ERROR_SEEK                       25L
  303.  
  304. //
  305. // MessageId: ERROR_NOT_DOS_DISK
  306. //
  307. // MessageText:
  308. //
  309. //  The specified disk or diskette cannot be accessed.
  310. //
  311. #define ERROR_NOT_DOS_DISK               26L
  312.  
  313. //
  314. // MessageId: ERROR_SECTOR_NOT_FOUND
  315. //
  316. // MessageText:
  317. //
  318. //  The drive cannot find the sector requested.
  319. //
  320. #define ERROR_SECTOR_NOT_FOUND           27L
  321.  
  322. //
  323. // MessageId: ERROR_OUT_OF_PAPER
  324. //
  325. // MessageText:
  326. //
  327. //  The printer is out of paper.
  328. //
  329. #define ERROR_OUT_OF_PAPER               28L
  330.  
  331. //
  332. // MessageId: ERROR_WRITE_FAULT
  333. //
  334. // MessageText:
  335. //
  336. //  The system cannot write to the specified device.
  337. //
  338. #define ERROR_WRITE_FAULT                29L
  339.  
  340. //
  341. // MessageId: ERROR_READ_FAULT
  342. //
  343. // MessageText:
  344. //
  345. //  The system cannot read from the specified device.
  346. //
  347. #define ERROR_READ_FAULT                 30L
  348.  
  349. //
  350. // MessageId: ERROR_GEN_FAILURE
  351. //
  352. // MessageText:
  353. //
  354. //  A device attached to the system is not functioning.
  355. //
  356. #define ERROR_GEN_FAILURE                31L
  357.  
  358. //
  359. // MessageId: ERROR_SHARING_VIOLATION
  360. //
  361. // MessageText:
  362. //
  363. //  The process cannot access the file because
  364. //  it is being used by another process.
  365. //
  366. #define ERROR_SHARING_VIOLATION          32L
  367.  
  368. //
  369. // MessageId: ERROR_LOCK_VIOLATION
  370. //
  371. // MessageText:
  372. //
  373. //  The process cannot access the file because
  374. //  another process has locked a portion of the file.
  375. //
  376. #define ERROR_LOCK_VIOLATION             33L
  377.  
  378. //
  379. // MessageId: ERROR_WRONG_DISK
  380. //
  381. // MessageText:
  382. //
  383. //  The wrong diskette is in the drive.
  384. //  Insert %2 (Volume Serial Number: %3)
  385. //  into drive %1.
  386. //
  387. #define ERROR_WRONG_DISK                 34L
  388.  
  389. //
  390. // MessageId: ERROR_SHARING_BUFFER_EXCEEDED
  391. //
  392. // MessageText:
  393. //
  394. //  Too many files opened for sharing.
  395. //
  396. #define ERROR_SHARING_BUFFER_EXCEEDED    36L
  397.  
  398. //
  399. // MessageId: ERROR_HANDLE_EOF
  400. //
  401. // MessageText:
  402. //
  403. //  Reached the end of the file.
  404. //
  405. #define ERROR_HANDLE_EOF                 38L
  406.  
  407. //
  408. // MessageId: ERROR_HANDLE_DISK_FULL
  409. //
  410. // MessageText:
  411. //
  412. //  The disk is full.
  413. //
  414. #define ERROR_HANDLE_DISK_FULL           39L
  415.  
  416. //
  417. // MessageId: ERROR_NOT_SUPPORTED
  418. //
  419. // MessageText:
  420. //
  421. //  The network request is not supported.
  422. //
  423. #define ERROR_NOT_SUPPORTED              50L
  424.  
  425. //
  426. // MessageId: ERROR_REM_NOT_LIST
  427. //
  428. // MessageText:
  429. //
  430. //  The remote computer is not available.
  431. //
  432. #define ERROR_REM_NOT_LIST               51L
  433.  
  434. //
  435. // MessageId: ERROR_DUP_NAME
  436. //
  437. // MessageText:
  438. //
  439. //  A duplicate name exists on the network.
  440. //
  441. #define ERROR_DUP_NAME                   52L
  442.  
  443. //
  444. // MessageId: ERROR_BAD_NETPATH
  445. //
  446. // MessageText:
  447. //
  448. //  The network path was not found.
  449. //
  450. #define ERROR_BAD_NETPATH                53L
  451.  
  452. //
  453. // MessageId: ERROR_NETWORK_BUSY
  454. //
  455. // MessageText:
  456. //
  457. //  The network is busy.
  458. //
  459. #define ERROR_NETWORK_BUSY               54L
  460.  
  461. //
  462. // MessageId: ERROR_DEV_NOT_EXIST
  463. //
  464. // MessageText:
  465. //
  466. //  The specified network resource or device is no longer
  467. //  available.
  468. //
  469. #define ERROR_DEV_NOT_EXIST              55L    // dderror
  470.  
  471. //
  472. // MessageId: ERROR_TOO_MANY_CMDS
  473. //
  474. // MessageText:
  475. //
  476. //  The network BIOS command limit has been reached.
  477. //
  478. #define ERROR_TOO_MANY_CMDS              56L
  479.  
  480. //
  481. // MessageId: ERROR_ADAP_HDW_ERR
  482. //
  483. // MessageText:
  484. //
  485. //  A network adapter hardware error occurred.
  486. //
  487. #define ERROR_ADAP_HDW_ERR               57L
  488.  
  489. //
  490. // MessageId: ERROR_BAD_NET_RESP
  491. //
  492. // MessageText:
  493. //
  494. //  The specified server cannot perform the requested
  495. //  operation.
  496. //
  497. #define ERROR_BAD_NET_RESP               58L
  498.  
  499. //
  500. // MessageId: ERROR_UNEXP_NET_ERR
  501. //
  502. // MessageText:
  503. //
  504. //  An unexpected network error occurred.
  505. //
  506. #define ERROR_UNEXP_NET_ERR              59L
  507.  
  508. //
  509. // MessageId: ERROR_BAD_REM_ADAP
  510. //
  511. // MessageText:
  512. //
  513. //  The remote adapter is not compatible.
  514. //
  515. #define ERROR_BAD_REM_ADAP               60L
  516.  
  517. //
  518. // MessageId: ERROR_PRINTQ_FULL
  519. //
  520. // MessageText:
  521. //
  522. //  The printer queue is full.
  523. //
  524. #define ERROR_PRINTQ_FULL                61L
  525.  
  526. //
  527. // MessageId: ERROR_NO_SPOOL_SPACE
  528. //
  529. // MessageText:
  530. //
  531. //  Space to store the file waiting to be printed is
  532. //  not available on the server.
  533. //
  534. #define ERROR_NO_SPOOL_SPACE             62L
  535.  
  536. //
  537. // MessageId: ERROR_PRINT_CANCELLED
  538. //
  539. // MessageText:
  540. //
  541. //  Your file waiting to be printed was deleted.
  542. //
  543. #define ERROR_PRINT_CANCELLED            63L
  544.  
  545. //
  546. // MessageId: ERROR_NETNAME_DELETED
  547. //
  548. // MessageText:
  549. //
  550. //  The specified network name is no longer available.
  551. //
  552. #define ERROR_NETNAME_DELETED            64L
  553.  
  554. //
  555. // MessageId: ERROR_NETWORK_ACCESS_DENIED
  556. //
  557. // MessageText:
  558. //
  559. //  Network access is denied.
  560. //
  561. #define ERROR_NETWORK_ACCESS_DENIED      65L
  562.  
  563. //
  564. // MessageId: ERROR_BAD_DEV_TYPE
  565. //
  566. // MessageText:
  567. //
  568. //  The network resource type is not correct.
  569. //
  570. #define ERROR_BAD_DEV_TYPE               66L
  571.  
  572. //
  573. // MessageId: ERROR_BAD_NET_NAME
  574. //
  575. // MessageText:
  576. //
  577. //  The network name cannot be found.
  578. //
  579. #define ERROR_BAD_NET_NAME               67L
  580.  
  581. //
  582. // MessageId: ERROR_TOO_MANY_NAMES
  583. //
  584. // MessageText:
  585. //
  586. //  The name limit for the local computer network
  587. //  adapter card was exceeded.
  588. //
  589. #define ERROR_TOO_MANY_NAMES             68L
  590.  
  591. //
  592. // MessageId: ERROR_TOO_MANY_SESS
  593. //
  594. // MessageText:
  595. //
  596. //  The network BIOS session limit was exceeded.
  597. //
  598. #define ERROR_TOO_MANY_SESS              69L
  599.  
  600. //
  601. // MessageId: ERROR_SHARING_PAUSED
  602. //
  603. // MessageText:
  604. //
  605. //  The remote server has been paused or is in the
  606. //  process of being started.
  607. //
  608. #define ERROR_SHARING_PAUSED             70L
  609.  
  610. //
  611. // MessageId: ERROR_REQ_NOT_ACCEP
  612. //
  613. // MessageText:
  614. //
  615. //  No more connections can be made to this remote computer at this time
  616. //  because there are already as many connections as the computer can accept.
  617. //
  618. #define ERROR_REQ_NOT_ACCEP              71L
  619.  
  620. //
  621. // MessageId: ERROR_REDIR_PAUSED
  622. //
  623. // MessageText:
  624. //
  625. //  The specified printer or disk device has been paused.
  626. //
  627. #define ERROR_REDIR_PAUSED               72L
  628.  
  629. //
  630. // MessageId: ERROR_FILE_EXISTS
  631. //
  632. // MessageText:
  633. //
  634. //  The file exists.
  635. //
  636. #define ERROR_FILE_EXISTS                80L
  637.  
  638. //
  639. // MessageId: ERROR_CANNOT_MAKE
  640. //
  641. // MessageText:
  642. //
  643. //  The directory or file cannot be created.
  644. //
  645. #define ERROR_CANNOT_MAKE                82L
  646.  
  647. //
  648. // MessageId: ERROR_FAIL_I24
  649. //
  650. // MessageText:
  651. //
  652. //  Fail on INT 24.
  653. //
  654. #define ERROR_FAIL_I24                   83L
  655.  
  656. //
  657. // MessageId: ERROR_OUT_OF_STRUCTURES
  658. //
  659. // MessageText:
  660. //
  661. //  Storage to process this request is not available.
  662. //
  663. #define ERROR_OUT_OF_STRUCTURES          84L
  664.  
  665. //
  666. // MessageId: ERROR_ALREADY_ASSIGNED
  667. //
  668. // MessageText:
  669. //
  670. //  The local device name is already in use.
  671. //
  672. #define ERROR_ALREADY_ASSIGNED           85L
  673.  
  674. //
  675. // MessageId: ERROR_INVALID_PASSWORD
  676. //
  677. // MessageText:
  678. //
  679. //  The specified network password is not correct.
  680. //
  681. #define ERROR_INVALID_PASSWORD           86L
  682.  
  683. //
  684. // MessageId: ERROR_INVALID_PARAMETER
  685. //
  686. // MessageText:
  687. //
  688. //  The parameter is incorrect.
  689. //
  690. #define ERROR_INVALID_PARAMETER          87L    // dderror
  691.  
  692. //
  693. // MessageId: ERROR_NET_WRITE_FAULT
  694. //
  695. // MessageText:
  696. //
  697. //  A write fault occurred on the network.
  698. //
  699. #define ERROR_NET_WRITE_FAULT            88L
  700.  
  701. //
  702. // MessageId: ERROR_NO_PROC_SLOTS
  703. //
  704. // MessageText:
  705. //
  706. //  The system cannot start another process at
  707. //  this time.
  708. //
  709. #define ERROR_NO_PROC_SLOTS              89L
  710.  
  711. //
  712. // MessageId: ERROR_TOO_MANY_SEMAPHORES
  713. //
  714. // MessageText:
  715. //
  716. //  Cannot create another system semaphore.
  717. //
  718. #define ERROR_TOO_MANY_SEMAPHORES        100L
  719.  
  720. //
  721. // MessageId: ERROR_EXCL_SEM_ALREADY_OWNED
  722. //
  723. // MessageText:
  724. //
  725. //  The exclusive semaphore is owned by another process.
  726. //
  727. #define ERROR_EXCL_SEM_ALREADY_OWNED     101L
  728.  
  729. //
  730. // MessageId: ERROR_SEM_IS_SET
  731. //
  732. // MessageText:
  733. //
  734. //  The semaphore is set and cannot be closed.
  735. //
  736. #define ERROR_SEM_IS_SET                 102L
  737.  
  738. //
  739. // MessageId: ERROR_TOO_MANY_SEM_REQUESTS
  740. //
  741. // MessageText:
  742. //
  743. //  The semaphore cannot be set again.
  744. //
  745. #define ERROR_TOO_MANY_SEM_REQUESTS      103L
  746.  
  747. //
  748. // MessageId: ERROR_INVALID_AT_INTERRUPT_TIME
  749. //
  750. // MessageText:
  751. //
  752. //  Cannot request exclusive semaphores at interrupt time.
  753. //
  754. #define ERROR_INVALID_AT_INTERRUPT_TIME  104L
  755.  
  756. //
  757. // MessageId: ERROR_SEM_OWNER_DIED
  758. //
  759. // MessageText:
  760. //
  761. //  The previous ownership of this semaphore has ended.
  762. //
  763. #define ERROR_SEM_OWNER_DIED             105L
  764.  
  765. //
  766. // MessageId: ERROR_SEM_USER_LIMIT
  767. //
  768. // MessageText:
  769. //
  770. //  Insert the diskette for drive %1.
  771. //
  772. #define ERROR_SEM_USER_LIMIT             106L
  773.  
  774. //
  775. // MessageId: ERROR_DISK_CHANGE
  776. //
  777. // MessageText:
  778. //
  779. //  The program stopped because an alternate diskette was not inserted.
  780. //
  781. #define ERROR_DISK_CHANGE                107L
  782.  
  783. //
  784. // MessageId: ERROR_DRIVE_LOCKED
  785. //
  786. // MessageText:
  787. //
  788. //  The disk is in use or locked by
  789. //  another process.
  790. //
  791. #define ERROR_DRIVE_LOCKED               108L
  792.  
  793. //
  794. // MessageId: ERROR_BROKEN_PIPE
  795. //
  796. // MessageText:
  797. //
  798. //  The pipe has been ended.
  799. //
  800. #define ERROR_BROKEN_PIPE                109L
  801.  
  802. //
  803. // MessageId: ERROR_OPEN_FAILED
  804. //
  805. // MessageText:
  806. //
  807. //  The system cannot open the
  808. //  device or file specified.
  809. //
  810. #define ERROR_OPEN_FAILED                110L
  811.  
  812. //
  813. // MessageId: ERROR_BUFFER_OVERFLOW
  814. //
  815. // MessageText:
  816. //
  817. //  The file name is too long.
  818. //
  819. #define ERROR_BUFFER_OVERFLOW            111L
  820.  
  821. //
  822. // MessageId: ERROR_DISK_FULL
  823. //
  824. // MessageText:
  825. //
  826. //  There is not enough space on the disk.
  827. //
  828. #define ERROR_DISK_FULL                  112L
  829.  
  830. //
  831. // MessageId: ERROR_NO_MORE_SEARCH_HANDLES
  832. //
  833. // MessageText:
  834. //
  835. //  No more internal file identifiers available.
  836. //
  837. #define ERROR_NO_MORE_SEARCH_HANDLES     113L
  838.  
  839. //
  840. // MessageId: ERROR_INVALID_TARGET_HANDLE
  841. //
  842. // MessageText:
  843. //
  844. //  The target internal file identifier is incorrect.
  845. //
  846. #define ERROR_INVALID_TARGET_HANDLE      114L
  847.  
  848. //
  849. // MessageId: ERROR_INVALID_CATEGORY
  850. //
  851. // MessageText:
  852. //
  853. //  The IOCTL call made by the application program is
  854. //  not correct.
  855. //
  856. #define ERROR_INVALID_CATEGORY           117L
  857.  
  858. //
  859. // MessageId: ERROR_INVALID_VERIFY_SWITCH
  860. //
  861. // MessageText:
  862. //
  863. //  The verify-on-write switch parameter value is not
  864. //  correct.
  865. //
  866. #define ERROR_INVALID_VERIFY_SWITCH      118L
  867.  
  868. //
  869. // MessageId: ERROR_BAD_DRIVER_LEVEL
  870. //
  871. // MessageText:
  872. //
  873. //  The system does not support the command requested.
  874. //
  875. #define ERROR_BAD_DRIVER_LEVEL           119L
  876.  
  877. //
  878. // MessageId: ERROR_CALL_NOT_IMPLEMENTED
  879. //
  880. // MessageText:
  881. //
  882. //  This function is not supported on this system.
  883. //
  884. #define ERROR_CALL_NOT_IMPLEMENTED       120L
  885.  
  886. //
  887. // MessageId: ERROR_SEM_TIMEOUT
  888. //
  889. // MessageText:
  890. //
  891. //  The semaphore timeout period has expired.
  892. //
  893. #define ERROR_SEM_TIMEOUT                121L
  894.  
  895. //
  896. // MessageId: ERROR_INSUFFICIENT_BUFFER
  897. //
  898. // MessageText:
  899. //
  900. //  The data area passed to a system call is too
  901. //  small.
  902. //
  903. #define ERROR_INSUFFICIENT_BUFFER        122L    // dderror
  904.  
  905. //
  906. // MessageId: ERROR_INVALID_NAME
  907. //
  908. // MessageText:
  909. //
  910. //  The filename, directory name, or volume label syntax is incorrect.
  911. //
  912. #define ERROR_INVALID_NAME               123L
  913.  
  914. //
  915. // MessageId: ERROR_INVALID_LEVEL
  916. //
  917. // MessageText:
  918. //
  919. //  The system call level is not correct.
  920. //
  921. #define ERROR_INVALID_LEVEL              124L
  922.  
  923. //
  924. // MessageId: ERROR_NO_VOLUME_LABEL
  925. //
  926. // MessageText:
  927. //
  928. //  The disk has no volume label.
  929. //
  930. #define ERROR_NO_VOLUME_LABEL            125L
  931.  
  932. //
  933. // MessageId: ERROR_MOD_NOT_FOUND
  934. //
  935. // MessageText:
  936. //
  937. //  The specified module could not be found.
  938. //
  939. #define ERROR_MOD_NOT_FOUND              126L
  940.  
  941. //
  942. // MessageId: ERROR_PROC_NOT_FOUND
  943. //
  944. // MessageText:
  945. //
  946. //  The specified procedure could not be found.
  947. //
  948. #define ERROR_PROC_NOT_FOUND             127L
  949.  
  950. //
  951. // MessageId: ERROR_WAIT_NO_CHILDREN
  952. //
  953. // MessageText:
  954. //
  955. //  There are no child processes to wait for.
  956. //
  957. #define ERROR_WAIT_NO_CHILDREN           128L
  958.  
  959. //
  960. // MessageId: ERROR_CHILD_NOT_COMPLETE
  961. //
  962. // MessageText:
  963. //
  964. //  The %1 application cannot be run in Win32 mode.
  965. //
  966. #define ERROR_CHILD_NOT_COMPLETE         129L
  967.  
  968. //
  969. // MessageId: ERROR_DIRECT_ACCESS_HANDLE
  970. //
  971. // MessageText:
  972. //
  973. //  Attempt to use a file handle to an open disk partition for an
  974. //  operation other than raw disk I/O.
  975. //
  976. #define ERROR_DIRECT_ACCESS_HANDLE       130L
  977.  
  978. //
  979. // MessageId: ERROR_NEGATIVE_SEEK
  980. //
  981. // MessageText:
  982. //
  983. //  An attempt was made to move the file pointer before the beginning of the file.
  984. //
  985. #define ERROR_NEGATIVE_SEEK              131L
  986.  
  987. //
  988. // MessageId: ERROR_SEEK_ON_DEVICE
  989. //
  990. // MessageText:
  991. //
  992. //  The file pointer cannot be set on the specified device or file.
  993. //
  994. #define ERROR_SEEK_ON_DEVICE             132L
  995.  
  996. //
  997. // MessageId: ERROR_IS_JOIN_TARGET
  998. //
  999. // MessageText:
  1000. //
  1001. //  A JOIN or SUBST command
  1002. //  cannot be used for a drive that
  1003. //  contains previously joined drives.
  1004. //
  1005. #define ERROR_IS_JOIN_TARGET             133L
  1006.  
  1007. //
  1008. // MessageId: ERROR_IS_JOINED
  1009. //
  1010. // MessageText:
  1011. //
  1012. //  An attempt was made to use a
  1013. //  JOIN or SUBST command on a drive that has
  1014. //  already been joined.
  1015. //
  1016. #define ERROR_IS_JOINED                  134L
  1017.  
  1018. //
  1019. // MessageId: ERROR_IS_SUBSTED
  1020. //
  1021. // MessageText:
  1022. //
  1023. //  An attempt was made to use a
  1024. //  JOIN or SUBST command on a drive that has
  1025. //  already been substituted.
  1026. //
  1027. #define ERROR_IS_SUBSTED                 135L
  1028.  
  1029. //
  1030. // MessageId: ERROR_NOT_JOINED
  1031. //
  1032. // MessageText:
  1033. //
  1034. //  The system tried to delete
  1035. //  the JOIN of a drive that is not joined.
  1036. //
  1037. #define ERROR_NOT_JOINED                 136L
  1038.  
  1039. //
  1040. // MessageId: ERROR_NOT_SUBSTED
  1041. //
  1042. // MessageText:
  1043. //
  1044. //  The system tried to delete the
  1045. //  substitution of a drive that is not substituted.
  1046. //
  1047. #define ERROR_NOT_SUBSTED                137L
  1048.  
  1049. //
  1050. // MessageId: ERROR_JOIN_TO_JOIN
  1051. //
  1052. // MessageText:
  1053. //
  1054. //  The system tried to join a drive
  1055. //  to a directory on a joined drive.
  1056. //
  1057. #define ERROR_JOIN_TO_JOIN               138L
  1058.  
  1059. //
  1060. // MessageId: ERROR_SUBST_TO_SUBST
  1061. //
  1062. // MessageText:
  1063. //
  1064. //  The system tried to substitute a
  1065. //  drive to a directory on a substituted drive.
  1066. //
  1067. #define ERROR_SUBST_TO_SUBST             139L
  1068.  
  1069. //
  1070. // MessageId: ERROR_JOIN_TO_SUBST
  1071. //
  1072. // MessageText:
  1073. //
  1074. //  The system tried to join a drive to
  1075. //  a directory on a substituted drive.
  1076. //
  1077. #define ERROR_JOIN_TO_SUBST              140L
  1078.  
  1079. //
  1080. // MessageId: ERROR_SUBST_TO_JOIN
  1081. //
  1082. // MessageText:
  1083. //
  1084. //  The system tried to SUBST a drive
  1085. //  to a directory on a joined drive.
  1086. //
  1087. #define ERROR_SUBST_TO_JOIN              141L
  1088.  
  1089. //
  1090. // MessageId: ERROR_BUSY_DRIVE
  1091. //
  1092. // MessageText:
  1093. //
  1094. //  The system cannot perform a JOIN or SUBST at this time.
  1095. //
  1096. #define ERROR_BUSY_DRIVE                 142L
  1097.  
  1098. //
  1099. // MessageId: ERROR_SAME_DRIVE
  1100. //
  1101. // MessageText:
  1102. //
  1103. //  The system cannot join or substitute a
  1104. //  drive to or for a directory on the same drive.
  1105. //
  1106. #define ERROR_SAME_DRIVE                 143L
  1107.  
  1108. //
  1109. // MessageId: ERROR_DIR_NOT_ROOT
  1110. //
  1111. // MessageText:
  1112. //
  1113. //  The directory is not a subdirectory of the root directory.
  1114. //
  1115. #define ERROR_DIR_NOT_ROOT               144L
  1116.  
  1117. //
  1118. // MessageId: ERROR_DIR_NOT_EMPTY
  1119. //
  1120. // MessageText:
  1121. //
  1122. //  The directory is not empty.
  1123. //
  1124. #define ERROR_DIR_NOT_EMPTY              145L
  1125.  
  1126. //
  1127. // MessageId: ERROR_IS_SUBST_PATH
  1128. //
  1129. // MessageText:
  1130. //
  1131. //  The path specified is being used in
  1132. //  a substitute.
  1133. //
  1134. #define ERROR_IS_SUBST_PATH              146L
  1135.  
  1136. //
  1137. // MessageId: ERROR_IS_JOIN_PATH
  1138. //
  1139. // MessageText:
  1140. //
  1141. //  Not enough resources are available to
  1142. //  process this command.
  1143. //
  1144. #define ERROR_IS_JOIN_PATH               147L
  1145.  
  1146. //
  1147. // MessageId: ERROR_PATH_BUSY
  1148. //
  1149. // MessageText:
  1150. //
  1151. //  The path specified cannot be used at this time.
  1152. //
  1153. #define ERROR_PATH_BUSY                  148L
  1154.  
  1155. //
  1156. // MessageId: ERROR_IS_SUBST_TARGET
  1157. //
  1158. // MessageText:
  1159. //
  1160. //  An attempt was made to join
  1161. //  or substitute a drive for which a directory
  1162. //  on the drive is the target of a previous
  1163. //  substitute.
  1164. //
  1165. #define ERROR_IS_SUBST_TARGET            149L
  1166.  
  1167. //
  1168. // MessageId: ERROR_SYSTEM_TRACE
  1169. //
  1170. // MessageText:
  1171. //
  1172. //  System trace information was not specified in your
  1173. //  CONFIG.SYS file, or tracing is disallowed.
  1174. //
  1175. #define ERROR_SYSTEM_TRACE               150L
  1176.  
  1177. //
  1178. // MessageId: ERROR_INVALID_EVENT_COUNT
  1179. //
  1180. // MessageText:
  1181. //
  1182. //  The number of specified semaphore events for
  1183. //  DosMuxSemWait is not correct.
  1184. //
  1185. #define ERROR_INVALID_EVENT_COUNT        151L
  1186.  
  1187. //
  1188. // MessageId: ERROR_TOO_MANY_MUXWAITERS
  1189. //
  1190. // MessageText:
  1191. //
  1192. //  DosMuxSemWait did not execute; too many semaphores
  1193. //  are already set.
  1194. //
  1195. #define ERROR_TOO_MANY_MUXWAITERS        152L
  1196.  
  1197. //
  1198. // MessageId: ERROR_INVALID_LIST_FORMAT
  1199. //
  1200. // MessageText:
  1201. //
  1202. //  The DosMuxSemWait list is not correct.
  1203. //
  1204. #define ERROR_INVALID_LIST_FORMAT        153L
  1205.  
  1206. //
  1207. // MessageId: ERROR_LABEL_TOO_LONG
  1208. //
  1209. // MessageText:
  1210. //
  1211. //  The volume label you entered exceeds the label character
  1212. //  limit of the target file system.
  1213. //
  1214. #define ERROR_LABEL_TOO_LONG             154L
  1215.  
  1216. //
  1217. // MessageId: ERROR_TOO_MANY_TCBS
  1218. //
  1219. // MessageText:
  1220. //
  1221. //  Cannot create another thread.
  1222. //
  1223. #define ERROR_TOO_MANY_TCBS              155L
  1224.  
  1225. //
  1226. // MessageId: ERROR_SIGNAL_REFUSED
  1227. //
  1228. // MessageText:
  1229. //
  1230. //  The recipient process has refused the signal.
  1231. //
  1232. #define ERROR_SIGNAL_REFUSED             156L
  1233.  
  1234. //
  1235. // MessageId: ERROR_DISCARDED
  1236. //
  1237. // MessageText:
  1238. //
  1239. //  The segment is already discarded and cannot be locked.
  1240. //
  1241. #define ERROR_DISCARDED                  157L
  1242.  
  1243. //
  1244. // MessageId: ERROR_NOT_LOCKED
  1245. //
  1246. // MessageText:
  1247. //
  1248. //  The segment is already unlocked.
  1249. //
  1250. #define ERROR_NOT_LOCKED                 158L
  1251.  
  1252. //
  1253. // MessageId: ERROR_BAD_THREADID_ADDR
  1254. //
  1255. // MessageText:
  1256. //
  1257. //  The address for the thread ID is not correct.
  1258. //
  1259. #define ERROR_BAD_THREADID_ADDR          159L
  1260.  
  1261. //
  1262. // MessageId: ERROR_BAD_ARGUMENTS
  1263. //
  1264. // MessageText:
  1265. //
  1266. //  The argument string passed to DosExecPgm is not correct.
  1267. //
  1268. #define ERROR_BAD_ARGUMENTS              160L
  1269.  
  1270. //
  1271. // MessageId: ERROR_BAD_PATHNAME
  1272. //
  1273. // MessageText:
  1274. //
  1275. //  The specified path is invalid.
  1276. //
  1277. #define ERROR_BAD_PATHNAME               161L
  1278.  
  1279. //
  1280. // MessageId: ERROR_SIGNAL_PENDING
  1281. //
  1282. // MessageText:
  1283. //
  1284. //  A signal is already pending.
  1285. //
  1286. #define ERROR_SIGNAL_PENDING             162L
  1287.  
  1288. //
  1289. // MessageId: ERROR_MAX_THRDS_REACHED
  1290. //
  1291. // MessageText:
  1292. //
  1293. //  No more threads can be created in the system.
  1294. //
  1295. #define ERROR_MAX_THRDS_REACHED          164L
  1296.  
  1297. //
  1298. // MessageId: ERROR_LOCK_FAILED
  1299. //
  1300. // MessageText:
  1301. //
  1302. //  Unable to lock a region of a file.
  1303. //
  1304. #define ERROR_LOCK_FAILED                167L
  1305.  
  1306. //
  1307. // MessageId: ERROR_BUSY
  1308. //
  1309. // MessageText:
  1310. //
  1311. //  The requested resource is in use.
  1312. //
  1313. #define ERROR_BUSY                       170L
  1314.  
  1315. //
  1316. // MessageId: ERROR_CANCEL_VIOLATION
  1317. //
  1318. // MessageText:
  1319. //
  1320. //  A lock request was not outstanding for the supplied cancel region.
  1321. //
  1322. #define ERROR_CANCEL_VIOLATION           173L
  1323.  
  1324. //
  1325. // MessageId: ERROR_ATOMIC_LOCKS_NOT_SUPPORTED
  1326. //
  1327. // MessageText:
  1328. //
  1329. //  The file system does not support atomic changes to the lock type.
  1330. //
  1331. #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174L
  1332.  
  1333. //
  1334. // MessageId: ERROR_INVALID_SEGMENT_NUMBER
  1335. //
  1336. // MessageText:
  1337. //
  1338. //  The system detected a segment number that was not correct.
  1339. //
  1340. #define ERROR_INVALID_SEGMENT_NUMBER     180L
  1341.  
  1342. //
  1343. // MessageId: ERROR_INVALID_ORDINAL
  1344. //
  1345. // MessageText:
  1346. //
  1347. //  The operating system cannot run %1.
  1348. //
  1349. #define ERROR_INVALID_ORDINAL            182L
  1350.  
  1351. //
  1352. // MessageId: ERROR_ALREADY_EXISTS
  1353. //
  1354. // MessageText:
  1355. //
  1356. //  Cannot create a file when that file already exists.
  1357. //
  1358. #define ERROR_ALREADY_EXISTS             183L
  1359.  
  1360. //
  1361. // MessageId: ERROR_INVALID_FLAG_NUMBER
  1362. //
  1363. // MessageText:
  1364. //
  1365. //  The flag passed is not correct.
  1366. //
  1367. #define ERROR_INVALID_FLAG_NUMBER        186L
  1368.  
  1369. //
  1370. // MessageId: ERROR_SEM_NOT_FOUND
  1371. //
  1372. // MessageText:
  1373. //
  1374. //  The specified system semaphore name was not found.
  1375. //
  1376. #define ERROR_SEM_NOT_FOUND              187L
  1377.  
  1378. //
  1379. // MessageId: ERROR_INVALID_STARTING_CODESEG
  1380. //
  1381. // MessageText:
  1382. //
  1383. //  The operating system cannot run %1.
  1384. //
  1385. #define ERROR_INVALID_STARTING_CODESEG   188L
  1386.  
  1387. //
  1388. // MessageId: ERROR_INVALID_STACKSEG
  1389. //
  1390. // MessageText:
  1391. //
  1392. //  The operating system cannot run %1.
  1393. //
  1394. #define ERROR_INVALID_STACKSEG           189L
  1395.  
  1396. //
  1397. // MessageId: ERROR_INVALID_MODULETYPE
  1398. //
  1399. // MessageText:
  1400. //
  1401. //  The operating system cannot run %1.
  1402. //
  1403. #define ERROR_INVALID_MODULETYPE         190L
  1404.  
  1405. //
  1406. // MessageId: ERROR_INVALID_EXE_SIGNATURE
  1407. //
  1408. // MessageText:
  1409. //
  1410. //  Cannot run %1 in Win32 mode.
  1411. //
  1412. #define ERROR_INVALID_EXE_SIGNATURE      191L
  1413.  
  1414. //
  1415. // MessageId: ERROR_EXE_MARKED_INVALID
  1416. //
  1417. // MessageText:
  1418. //
  1419. //  The operating system cannot run %1.
  1420. //
  1421. #define ERROR_EXE_MARKED_INVALID         192L
  1422.  
  1423. //
  1424. // MessageId: ERROR_BAD_EXE_FORMAT
  1425. //
  1426. // MessageText:
  1427. //
  1428. //  %1 is not a valid Win32 application.
  1429. //
  1430. #define ERROR_BAD_EXE_FORMAT             193L
  1431.  
  1432. //
  1433. // MessageId: ERROR_ITERATED_DATA_EXCEEDS_64k
  1434. //
  1435. // MessageText:
  1436. //
  1437. //  The operating system cannot run %1.
  1438. //
  1439. #define ERROR_ITERATED_DATA_EXCEEDS_64k  194L
  1440.  
  1441. //
  1442. // MessageId: ERROR_INVALID_MINALLOCSIZE
  1443. //
  1444. // MessageText:
  1445. //
  1446. //  The operating system cannot run %1.
  1447. //
  1448. #define ERROR_INVALID_MINALLOCSIZE       195L
  1449.  
  1450. //
  1451. // MessageId: ERROR_DYNLINK_FROM_INVALID_RING
  1452. //
  1453. // MessageText:
  1454. //
  1455. //  The operating system cannot run this
  1456. //  application program.
  1457. //
  1458. #define ERROR_DYNLINK_FROM_INVALID_RING  196L
  1459.  
  1460. //
  1461. // MessageId: ERROR_IOPL_NOT_ENABLED
  1462. //
  1463. // MessageText:
  1464. //
  1465. //  The operating system is not presently
  1466. //  configured to run this application.
  1467. //
  1468. #define ERROR_IOPL_NOT_ENABLED           197L
  1469.  
  1470. //
  1471. // MessageId: ERROR_INVALID_SEGDPL
  1472. //
  1473. // MessageText:
  1474. //
  1475. //  The operating system cannot run %1.
  1476. //
  1477. #define ERROR_INVALID_SEGDPL             198L
  1478.  
  1479. //
  1480. // MessageId: ERROR_AUTODATASEG_EXCEEDS_64k
  1481. //
  1482. // MessageText:
  1483. //
  1484. //  The operating system cannot run this
  1485. //  application program.
  1486. //
  1487. #define ERROR_AUTODATASEG_EXCEEDS_64k    199L
  1488.  
  1489. //
  1490. // MessageId: ERROR_RING2SEG_MUST_BE_MOVABLE
  1491. //
  1492. // MessageText:
  1493. //
  1494. //  The code segment cannot be greater than or equal to 64K.
  1495. //
  1496. #define ERROR_RING2SEG_MUST_BE_MOVABLE   200L
  1497.  
  1498. //
  1499. // MessageId: ERROR_RELOC_CHAIN_XEEDS_SEGLIM
  1500. //
  1501. // MessageText:
  1502. //
  1503. //  The operating system cannot run %1.
  1504. //
  1505. #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM   201L
  1506.  
  1507. //
  1508. // MessageId: ERROR_INFLOOP_IN_RELOC_CHAIN
  1509. //
  1510. // MessageText:
  1511. //
  1512. //  The operating system cannot run %1.
  1513. //
  1514. #define ERROR_INFLOOP_IN_RELOC_CHAIN     202L
  1515.  
  1516. //
  1517. // MessageId: ERROR_ENVVAR_NOT_FOUND
  1518. //
  1519. // MessageText:
  1520. //
  1521. //  The system could not find the environment
  1522. //  option that was entered.
  1523. //
  1524. #define ERROR_ENVVAR_NOT_FOUND           203L
  1525.  
  1526. //
  1527. // MessageId: ERROR_NO_SIGNAL_SENT
  1528. //
  1529. // MessageText:
  1530. //
  1531. //  No process in the command subtree has a
  1532. //  signal handler.
  1533. //
  1534. #define ERROR_NO_SIGNAL_SENT             205L
  1535.  
  1536. //
  1537. // MessageId: ERROR_FILENAME_EXCED_RANGE
  1538. //
  1539. // MessageText:
  1540. //
  1541. //  The filename or extension is too long.
  1542. //
  1543. #define ERROR_FILENAME_EXCED_RANGE       206L
  1544.  
  1545. //
  1546. // MessageId: ERROR_RING2_STACK_IN_USE
  1547. //
  1548. // MessageText:
  1549. //
  1550. //  The ring 2 stack is in use.
  1551. //
  1552. #define ERROR_RING2_STACK_IN_USE         207L
  1553.  
  1554. //
  1555. // MessageId: ERROR_META_EXPANSION_TOO_LONG
  1556. //
  1557. // MessageText:
  1558. //
  1559. //  The global filename characters, * or ?, are entered
  1560. //  incorrectly or too many global filename characters are specified.
  1561. //
  1562. #define ERROR_META_EXPANSION_TOO_LONG    208L
  1563.  
  1564. //
  1565. // MessageId: ERROR_INVALID_SIGNAL_NUMBER
  1566. //
  1567. // MessageText:
  1568. //
  1569. //  The signal being posted is not correct.
  1570. //
  1571. #define ERROR_INVALID_SIGNAL_NUMBER      209L
  1572.  
  1573. //
  1574. // MessageId: ERROR_THREAD_1_INACTIVE
  1575. //
  1576. // MessageText:
  1577. //
  1578. //  The signal handler cannot be set.
  1579. //
  1580. #define ERROR_THREAD_1_INACTIVE          210L
  1581.  
  1582. //
  1583. // MessageId: ERROR_LOCKED
  1584. //
  1585. // MessageText:
  1586. //
  1587. //  The segment is locked and cannot be reallocated.
  1588. //
  1589. #define ERROR_LOCKED                     212L
  1590.  
  1591. //
  1592. // MessageId: ERROR_TOO_MANY_MODULES
  1593. //
  1594. // MessageText:
  1595. //
  1596. //  Too many dynamic-link modules are attached to this
  1597. //  program or dynamic-link module.
  1598. //
  1599. #define ERROR_TOO_MANY_MODULES           214L
  1600.  
  1601. //
  1602. // MessageId: ERROR_NESTING_NOT_ALLOWED
  1603. //
  1604. // MessageText:
  1605. //
  1606. //  Can't nest calls to LoadModule.
  1607. //
  1608. #define ERROR_NESTING_NOT_ALLOWED        215L
  1609.  
  1610. //
  1611. // MessageId: ERROR_EXE_MACHINE_TYPE_MISMATCH
  1612. //
  1613. // MessageText:
  1614. //
  1615. //  The image file %1 is valid, but is for a machine type other
  1616. //  than the current machine.
  1617. //
  1618. #define ERROR_EXE_MACHINE_TYPE_MISMATCH  216L
  1619.  
  1620. //
  1621. // MessageId: ERROR_BAD_PIPE
  1622. //
  1623. // MessageText:
  1624. //
  1625. //  The pipe state is invalid.
  1626. //
  1627. #define ERROR_BAD_PIPE                   230L
  1628.  
  1629. //
  1630. // MessageId: ERROR_PIPE_BUSY
  1631. //
  1632. // MessageText:
  1633. //
  1634. //  All pipe instances are busy.
  1635. //
  1636. #define ERROR_PIPE_BUSY                  231L
  1637.  
  1638. //
  1639. // MessageId: ERROR_NO_DATA
  1640. //
  1641. // MessageText:
  1642. //
  1643. //  The pipe is being closed.
  1644. //
  1645. #define ERROR_NO_DATA                    232L
  1646.  
  1647. //
  1648. // MessageId: ERROR_PIPE_NOT_CONNECTED
  1649. //
  1650. // MessageText:
  1651. //
  1652. //  No process is on the other end of the pipe.
  1653. //
  1654. #define ERROR_PIPE_NOT_CONNECTED         233L
  1655.  
  1656. //
  1657. // MessageId: ERROR_MORE_DATA
  1658. //
  1659. // MessageText:
  1660. //
  1661. //  More data is available.
  1662. //
  1663. #define ERROR_MORE_DATA                  234L    // dderror
  1664.  
  1665. //
  1666. // MessageId: ERROR_VC_DISCONNECTED
  1667. //
  1668. // MessageText:
  1669. //
  1670. //  The session was canceled.
  1671. //
  1672. #define ERROR_VC_DISCONNECTED            240L
  1673.  
  1674. //
  1675. // MessageId: ERROR_INVALID_EA_NAME
  1676. //
  1677. // MessageText:
  1678. //
  1679. //  The specified extended attribute name was invalid.
  1680. //
  1681. #define ERROR_INVALID_EA_NAME            254L
  1682.  
  1683. //
  1684. // MessageId: ERROR_EA_LIST_INCONSISTENT
  1685. //
  1686. // MessageText:
  1687. //
  1688. //  The extended attributes are inconsistent.
  1689. //
  1690. #define ERROR_EA_LIST_INCONSISTENT       255L
  1691.  
  1692. //
  1693. // MessageId: ERROR_NO_MORE_ITEMS
  1694. //
  1695. // MessageText:
  1696. //
  1697. //  No more data is available.
  1698. //
  1699. #define ERROR_NO_MORE_ITEMS              259L
  1700.  
  1701. //
  1702. // MessageId: ERROR_CANNOT_COPY
  1703. //
  1704. // MessageText:
  1705. //
  1706. //  The copy functions cannot be used.
  1707. //
  1708. #define ERROR_CANNOT_COPY                266L
  1709.  
  1710. //
  1711. // MessageId: ERROR_DIRECTORY
  1712. //
  1713. // MessageText:
  1714. //
  1715. //  The directory name is invalid.
  1716. //
  1717. #define ERROR_DIRECTORY                  267L
  1718.  
  1719. //
  1720. // MessageId: ERROR_EAS_DIDNT_FIT
  1721. //
  1722. // MessageText:
  1723. //
  1724. //  The extended attributes did not fit in the buffer.
  1725. //
  1726. #define ERROR_EAS_DIDNT_FIT              275L
  1727.  
  1728. //
  1729. // MessageId: ERROR_EA_FILE_CORRUPT
  1730. //
  1731. // MessageText:
  1732. //
  1733. //  The extended attribute file on the mounted file system is corrupt.
  1734. //
  1735. #define ERROR_EA_FILE_CORRUPT            276L
  1736.  
  1737. //
  1738. // MessageId: ERROR_EA_TABLE_FULL
  1739. //
  1740. // MessageText:
  1741. //
  1742. //  The extended attribute table file is full.
  1743. //
  1744. #define ERROR_EA_TABLE_FULL              277L
  1745.  
  1746. //
  1747. // MessageId: ERROR_INVALID_EA_HANDLE
  1748. //
  1749. // MessageText:
  1750. //
  1751. //  The specified extended attribute handle is invalid.
  1752. //
  1753. #define ERROR_INVALID_EA_HANDLE          278L
  1754.  
  1755. //
  1756. // MessageId: ERROR_EAS_NOT_SUPPORTED
  1757. //
  1758. // MessageText:
  1759. //
  1760. //  The mounted file system does not support extended attributes.
  1761. //
  1762. #define ERROR_EAS_NOT_SUPPORTED          282L
  1763.  
  1764. //
  1765. // MessageId: ERROR_NOT_OWNER
  1766. //
  1767. // MessageText:
  1768. //
  1769. //  Attempt to release mutex not owned by caller.
  1770. //
  1771. #define ERROR_NOT_OWNER                  288L
  1772.  
  1773. //
  1774. // MessageId: ERROR_TOO_MANY_POSTS
  1775. //
  1776. // MessageText:
  1777. //
  1778. //  Too many posts were made to a semaphore.
  1779. //
  1780. #define ERROR_TOO_MANY_POSTS             298L
  1781.  
  1782. //
  1783. // MessageId: ERROR_PARTIAL_COPY
  1784. //
  1785. // MessageText:
  1786. //
  1787. //  Only part of a ReadProcessMemoty or WriteProcessMemory request was completed.
  1788. //
  1789. #define ERROR_PARTIAL_COPY               299L
  1790.  
  1791. //
  1792. // MessageId: ERROR_OPLOCK_NOT_GRANTED
  1793. //
  1794. // MessageText:
  1795. //
  1796. //  The oplock request is denied.
  1797. //
  1798. #define ERROR_OPLOCK_NOT_GRANTED         300L
  1799.  
  1800. //
  1801. // MessageId: ERROR_INVALID_OPLOCK_PROTOCOL
  1802. //
  1803. // MessageText:
  1804. //
  1805. //  An invalid oplock acknowledgment was received by the system.
  1806. //
  1807. #define ERROR_INVALID_OPLOCK_PROTOCOL    301L
  1808.  
  1809. //
  1810. // MessageId: ERROR_MR_MID_NOT_FOUND
  1811. //
  1812. // MessageText:
  1813. //
  1814. //  The system cannot find message text for message number 0x%1
  1815. //  in the message file for %2.
  1816. //
  1817. #define ERROR_MR_MID_NOT_FOUND           317L
  1818.  
  1819. //
  1820. // MessageId: ERROR_INVALID_ADDRESS
  1821. //
  1822. // MessageText:
  1823. //
  1824. //  Attempt to access invalid address.
  1825. //
  1826. #define ERROR_INVALID_ADDRESS            487L
  1827.  
  1828. //
  1829. // MessageId: ERROR_ARITHMETIC_OVERFLOW
  1830. //
  1831. // MessageText:
  1832. //
  1833. //  Arithmetic result exceeded 32 bits.
  1834. //
  1835. #define ERROR_ARITHMETIC_OVERFLOW        534L
  1836.  
  1837. //
  1838. // MessageId: ERROR_PIPE_CONNECTED
  1839. //
  1840. // MessageText:
  1841. //
  1842. //  There is a process on other end of the pipe.
  1843. //
  1844. #define ERROR_PIPE_CONNECTED             535L
  1845.  
  1846. //
  1847. // MessageId: ERROR_PIPE_LISTENING
  1848. //
  1849. // MessageText:
  1850. //
  1851. //  Waiting for a process to open the other end of the pipe.
  1852. //
  1853. #define ERROR_PIPE_LISTENING             536L
  1854.  
  1855. //
  1856. // MessageId: ERROR_EA_ACCESS_DENIED
  1857. //
  1858. // MessageText:
  1859. //
  1860. //  Access to the extended attribute was denied.
  1861. //
  1862. #define ERROR_EA_ACCESS_DENIED           994L
  1863.  
  1864. //
  1865. // MessageId: ERROR_OPERATION_ABORTED
  1866. //
  1867. // MessageText:
  1868. //
  1869. //  The I/O operation has been aborted because of either a thread exit
  1870. //  or an application request.
  1871. //
  1872. #define ERROR_OPERATION_ABORTED          995L
  1873.  
  1874. //
  1875. // MessageId: ERROR_IO_INCOMPLETE
  1876. //
  1877. // MessageText:
  1878. //
  1879. //  Overlapped I/O event is not in a signaled state.
  1880. //
  1881. #define ERROR_IO_INCOMPLETE              996L
  1882.  
  1883. //
  1884. // MessageId: ERROR_IO_PENDING
  1885. //
  1886. // MessageText:
  1887. //
  1888. //  Overlapped I/O operation is in progress.
  1889. //
  1890. #define ERROR_IO_PENDING                 997L    // dderror
  1891.  
  1892. //
  1893. // MessageId: ERROR_NOACCESS
  1894. //
  1895. // MessageText:
  1896. //
  1897. //  Invalid access to memory location.
  1898. //
  1899. #define ERROR_NOACCESS                   998L
  1900.  
  1901. //
  1902. // MessageId: ERROR_SWAPERROR
  1903. //
  1904. // MessageText:
  1905. //
  1906. //  Error performing inpage operation.
  1907. //
  1908. #define ERROR_SWAPERROR                  999L
  1909.  
  1910. //
  1911. // MessageId: ERROR_STACK_OVERFLOW
  1912. //
  1913. // MessageText:
  1914. //
  1915. //  Recursion too deep; the stack overflowed.
  1916. //
  1917. #define ERROR_STACK_OVERFLOW             1001L
  1918.  
  1919. //
  1920. // MessageId: ERROR_INVALID_MESSAGE
  1921. //
  1922. // MessageText:
  1923. //
  1924. //  The window cannot act on the sent message.
  1925. //
  1926. #define ERROR_INVALID_MESSAGE            1002L
  1927.  
  1928. //
  1929. // MessageId: ERROR_CAN_NOT_COMPLETE
  1930. //
  1931. // MessageText:
  1932. //
  1933. //  Cannot complete this function.
  1934. //
  1935. #define ERROR_CAN_NOT_COMPLETE           1003L
  1936.  
  1937. //
  1938. // MessageId: ERROR_INVALID_FLAGS
  1939. //
  1940. // MessageText:
  1941. //
  1942. //  Invalid flags.
  1943. //
  1944. #define ERROR_INVALID_FLAGS              1004L
  1945.  
  1946. //
  1947. // MessageId: ERROR_UNRECOGNIZED_VOLUME
  1948. //
  1949. // MessageText:
  1950. //
  1951. //  The volume does not contain a recognized file system.
  1952. //  Please make sure that all required file system drivers are loaded and that the
  1953. //  volume is not corrupted.
  1954. //
  1955. #define ERROR_UNRECOGNIZED_VOLUME        1005L
  1956.  
  1957. //
  1958. // MessageId: ERROR_FILE_INVALID
  1959. //
  1960. // MessageText:
  1961. //
  1962. //  The volume for a file has been externally altered so that the
  1963. //  opened file is no longer valid.
  1964. //
  1965. #define ERROR_FILE_INVALID               1006L
  1966.  
  1967. //
  1968. // MessageId: ERROR_FULLSCREEN_MODE
  1969. //
  1970. // MessageText:
  1971. //
  1972. //  The requested operation cannot be performed in full-screen mode.
  1973. //
  1974. #define ERROR_FULLSCREEN_MODE            1007L
  1975.  
  1976. //
  1977. // MessageId: ERROR_NO_TOKEN
  1978. //
  1979. // MessageText:
  1980. //
  1981. //  An attempt was made to reference a token that does not exist.
  1982. //
  1983. #define ERROR_NO_TOKEN                   1008L
  1984.  
  1985. //
  1986. // MessageId: ERROR_BADDB
  1987. //
  1988. // MessageText:
  1989. //
  1990. //  The configuration registry database is corrupt.
  1991. //
  1992. #define ERROR_BADDB                      1009L
  1993.  
  1994. //
  1995. // MessageId: ERROR_BADKEY
  1996. //
  1997. // MessageText:
  1998. //
  1999. //  The configuration registry key is invalid.
  2000. //
  2001. #define ERROR_BADKEY                     1010L
  2002.  
  2003. //
  2004. // MessageId: ERROR_CANTOPEN
  2005. //
  2006. // MessageText:
  2007. //
  2008. //  The configuration registry key could not be opened.
  2009. //
  2010. #define ERROR_CANTOPEN                   1011L
  2011.  
  2012. //
  2013. // MessageId: ERROR_CANTREAD
  2014. //
  2015. // MessageText:
  2016. //
  2017. //  The configuration registry key could not be read.
  2018. //
  2019. #define ERROR_CANTREAD                   1012L
  2020.  
  2021. //
  2022. // MessageId: ERROR_CANTWRITE
  2023. //
  2024. // MessageText:
  2025. //
  2026. //  The configuration registry key could not be written.
  2027. //
  2028. #define ERROR_CANTWRITE                  1013L
  2029.  
  2030. //
  2031. // MessageId: ERROR_REGISTRY_RECOVERED
  2032. //
  2033. // MessageText:
  2034. //
  2035. //  One of the files in the registry database had to be recovered
  2036. //  by use of a log or alternate copy.  The recovery was successful.
  2037. //
  2038. #define ERROR_REGISTRY_RECOVERED         1014L
  2039.  
  2040. //
  2041. // MessageId: ERROR_REGISTRY_CORRUPT
  2042. //
  2043. // MessageText:
  2044. //
  2045. //  The registry is corrupted. The structure of one of the files that contains
  2046. //  registry data is corrupted, or the system's image of the file in memory
  2047. //  is corrupted, or the file could not be recovered because the alternate
  2048. //  copy or log was absent or corrupted.
  2049. //
  2050. #define ERROR_REGISTRY_CORRUPT           1015L
  2051.  
  2052. //
  2053. // MessageId: ERROR_REGISTRY_IO_FAILED
  2054. //
  2055. // MessageText:
  2056. //
  2057. //  An I/O operation initiated by the registry failed unrecoverably.
  2058. //  The registry could not read in, or write out, or flush, one of the files
  2059. //  that contain the system's image of the registry.
  2060. //
  2061. #define ERROR_REGISTRY_IO_FAILED         1016L
  2062.  
  2063. //
  2064. // MessageId: ERROR_NOT_REGISTRY_FILE
  2065. //
  2066. // MessageText:
  2067. //
  2068. //  The system has attempted to load or restore a file into the registry, but the
  2069. //  specified file is not in a registry file format.
  2070. //
  2071. #define ERROR_NOT_REGISTRY_FILE          1017L
  2072.  
  2073. //
  2074. // MessageId: ERROR_KEY_DELETED
  2075. //
  2076. // MessageText:
  2077. //
  2078. //  Illegal operation attempted on a registry key that has been marked for deletion.
  2079. //
  2080. #define ERROR_KEY_DELETED                1018L
  2081.  
  2082. //
  2083. // MessageId: ERROR_NO_LOG_SPACE
  2084. //
  2085. // MessageText:
  2086. //
  2087. //  System could not allocate the required space in a registry log.
  2088. //
  2089. #define ERROR_NO_LOG_SPACE               1019L
  2090.  
  2091. //
  2092. // MessageId: ERROR_KEY_HAS_CHILDREN
  2093. //
  2094. // MessageText:
  2095. //
  2096. //  Cannot create a symbolic link in a registry key that already
  2097. //  has subkeys or values.
  2098. //
  2099. #define ERROR_KEY_HAS_CHILDREN           1020L
  2100.  
  2101. //
  2102. // MessageId: ERROR_CHILD_MUST_BE_VOLATILE
  2103. //
  2104. // MessageText:
  2105. //
  2106. //  Cannot create a stable subkey under a volatile parent key.
  2107. //
  2108. #define ERROR_CHILD_MUST_BE_VOLATILE     1021L
  2109.  
  2110. //
  2111. // MessageId: ERROR_NOTIFY_ENUM_DIR
  2112. //
  2113. // MessageText:
  2114. //
  2115. //  A notify change request is being completed and the information
  2116. //  is not being returned in the caller's buffer. The caller now
  2117. //  needs to enumerate the files to find the changes.
  2118. //
  2119. #define ERROR_NOTIFY_ENUM_DIR            1022L
  2120.  
  2121. //
  2122. // MessageId: ERROR_DEPENDENT_SERVICES_RUNNING
  2123. //
  2124. // MessageText:
  2125. //
  2126. //  A stop control has been sent to a service that other running services
  2127. //  are dependent on.
  2128. //
  2129. #define ERROR_DEPENDENT_SERVICES_RUNNING 1051L
  2130.  
  2131. //
  2132. // MessageId: ERROR_INVALID_SERVICE_CONTROL
  2133. //
  2134. // MessageText:
  2135. //
  2136. //  The requested control is not valid for this service.
  2137. //
  2138. #define ERROR_INVALID_SERVICE_CONTROL    1052L
  2139.  
  2140. //
  2141. // MessageId: ERROR_SERVICE_REQUEST_TIMEOUT
  2142. //
  2143. // MessageText:
  2144. //
  2145. //  The service did not respond to the start or control request in a timely
  2146. //  fashion.
  2147. //
  2148. #define ERROR_SERVICE_REQUEST_TIMEOUT    1053L
  2149.  
  2150. //
  2151. // MessageId: ERROR_SERVICE_NO_THREAD
  2152. //
  2153. // MessageText:
  2154. //
  2155. //  A thread could not be created for the service.
  2156. //
  2157. #define ERROR_SERVICE_NO_THREAD          1054L
  2158.  
  2159. //
  2160. // MessageId: ERROR_SERVICE_DATABASE_LOCKED
  2161. //
  2162. // MessageText:
  2163. //
  2164. //  The service database is locked.
  2165. //
  2166. #define ERROR_SERVICE_DATABASE_LOCKED    1055L
  2167.  
  2168. //
  2169. // MessageId: ERROR_SERVICE_ALREADY_RUNNING
  2170. //
  2171. // MessageText:
  2172. //
  2173. //  An instance of the service is already running.
  2174. //
  2175. #define ERROR_SERVICE_ALREADY_RUNNING    1056L
  2176.  
  2177. //
  2178. // MessageId: ERROR_INVALID_SERVICE_ACCOUNT
  2179. //
  2180. // MessageText:
  2181. //
  2182. //  The account name is invalid or does not exist.
  2183. //
  2184. #define ERROR_INVALID_SERVICE_ACCOUNT    1057L
  2185.  
  2186. //
  2187. // MessageId: ERROR_SERVICE_DISABLED
  2188. //
  2189. // MessageText:
  2190. //
  2191. //  The service cannot be started, either because it is disabled or because
  2192. //  it has no enabled devices associated with it.
  2193. //
  2194. #define ERROR_SERVICE_DISABLED           1058L
  2195.  
  2196. //
  2197. // MessageId: ERROR_CIRCULAR_DEPENDENCY
  2198. //
  2199. // MessageText:
  2200. //
  2201. //  Circular service dependency was specified.
  2202. //
  2203. #define ERROR_CIRCULAR_DEPENDENCY        1059L
  2204.  
  2205. //
  2206. // MessageId: ERROR_SERVICE_DOES_NOT_EXIST
  2207. //
  2208. // MessageText:
  2209. //
  2210. //  The specified service does not exist as an installed service.
  2211. //
  2212. #define ERROR_SERVICE_DOES_NOT_EXIST     1060L
  2213.  
  2214. //
  2215. // MessageId: ERROR_SERVICE_CANNOT_ACCEPT_CTRL
  2216. //
  2217. // MessageText:
  2218. //
  2219. //  The service cannot accept control messages at this time.
  2220. //
  2221. #define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061L
  2222.  
  2223. //
  2224. // MessageId: ERROR_SERVICE_NOT_ACTIVE
  2225. //
  2226. // MessageText:
  2227. //
  2228. //  The service has not been started.
  2229. //
  2230. #define ERROR_SERVICE_NOT_ACTIVE         1062L
  2231.  
  2232. //
  2233. // MessageId: ERROR_FAILED_SERVICE_CONTROLLER_CONNECT
  2234. //
  2235. // MessageText:
  2236. //
  2237. //  The service process could not connect to the service controller.
  2238. //
  2239. #define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063L
  2240.  
  2241. //
  2242. // MessageId: ERROR_EXCEPTION_IN_SERVICE
  2243. //
  2244. // MessageText:
  2245. //
  2246. //  An exception occurred in the service when handling the control request.
  2247. //
  2248. #define ERROR_EXCEPTION_IN_SERVICE       1064L
  2249.  
  2250. //
  2251. // MessageId: ERROR_DATABASE_DOES_NOT_EXIST
  2252. //
  2253. // MessageText:
  2254. //
  2255. //  The database specified does not exist.
  2256. //
  2257. #define ERROR_DATABASE_DOES_NOT_EXIST    1065L
  2258.  
  2259. //
  2260. // MessageId: ERROR_SERVICE_SPECIFIC_ERROR
  2261. //
  2262. // MessageText:
  2263. //
  2264. //  The service has returned a service-specific error code.
  2265. //
  2266. #define ERROR_SERVICE_SPECIFIC_ERROR     1066L
  2267.  
  2268. //
  2269. // MessageId: ERROR_PROCESS_ABORTED
  2270. //
  2271. // MessageText:
  2272. //
  2273. //  The process terminated unexpectedly.
  2274. //
  2275. #define ERROR_PROCESS_ABORTED            1067L
  2276.  
  2277. //
  2278. // MessageId: ERROR_SERVICE_DEPENDENCY_FAIL
  2279. //
  2280. // MessageText:
  2281. //
  2282. //  The dependency service or group failed to start.
  2283. //
  2284. #define ERROR_SERVICE_DEPENDENCY_FAIL    1068L
  2285.  
  2286. //
  2287. // MessageId: ERROR_SERVICE_LOGON_FAILED
  2288. //
  2289. // MessageText:
  2290. //
  2291. //  The service did not start due to a logon failure.
  2292. //
  2293. #define ERROR_SERVICE_LOGON_FAILED       1069L
  2294.  
  2295. //
  2296. // MessageId: ERROR_SERVICE_START_HANG
  2297. //
  2298. // MessageText:
  2299. //
  2300. //  After starting, the service hung in a start-pending state.
  2301. //
  2302. #define ERROR_SERVICE_START_HANG         1070L
  2303.  
  2304. //
  2305. // MessageId: ERROR_INVALID_SERVICE_LOCK
  2306. //
  2307. // MessageText:
  2308. //
  2309. //  The specified service database lock is invalid.
  2310. //
  2311. #define ERROR_INVALID_SERVICE_LOCK       1071L
  2312.  
  2313. //
  2314. // MessageId: ERROR_SERVICE_MARKED_FOR_DELETE
  2315. //
  2316. // MessageText:
  2317. //
  2318. //  The specified service has been marked for deletion.
  2319. //
  2320. #define ERROR_SERVICE_MARKED_FOR_DELETE  1072L
  2321.  
  2322. //
  2323. // MessageId: ERROR_SERVICE_EXISTS
  2324. //
  2325. // MessageText:
  2326. //
  2327. //  The specified service already exists.
  2328. //
  2329. #define ERROR_SERVICE_EXISTS             1073L
  2330.  
  2331. //
  2332. // MessageId: ERROR_ALREADY_RUNNING_LKG
  2333. //
  2334. // MessageText:
  2335. //
  2336. //  The system is currently running with the last-known-good configuration.
  2337. //
  2338. #define ERROR_ALREADY_RUNNING_LKG        1074L
  2339.  
  2340. //
  2341. // MessageId: ERROR_SERVICE_DEPENDENCY_DELETED
  2342. //
  2343. // MessageText:
  2344. //
  2345. //  The dependency service does not exist or has been marked for
  2346. //  deletion.
  2347. //
  2348. #define ERROR_SERVICE_DEPENDENCY_DELETED 1075L
  2349.  
  2350. //
  2351. // MessageId: ERROR_BOOT_ALREADY_ACCEPTED
  2352. //
  2353. // MessageText:
  2354. //
  2355. //  The current boot has already been accepted for use as the
  2356. //  last-known-good control set.
  2357. //
  2358. #define ERROR_BOOT_ALREADY_ACCEPTED      1076L
  2359.  
  2360. //
  2361. // MessageId: ERROR_SERVICE_NEVER_STARTED
  2362. //
  2363. // MessageText:
  2364. //
  2365. //  No attempts to start the service have been made since the last boot.
  2366. //
  2367. #define ERROR_SERVICE_NEVER_STARTED      1077L
  2368.  
  2369. //
  2370. // MessageId: ERROR_DUPLICATE_SERVICE_NAME
  2371. //
  2372. // MessageText:
  2373. //
  2374. //  The name is already in use as either a service name or a service display
  2375. //  name.
  2376. //
  2377. #define ERROR_DUPLICATE_SERVICE_NAME     1078L
  2378.  
  2379. //
  2380. // MessageId: ERROR_DIFFERENT_SERVICE_ACCOUNT
  2381. //
  2382. // MessageText:
  2383. //
  2384. //  The account specified for this service is different from the account
  2385. //  specified for other services running in the same process.
  2386. //
  2387. #define ERROR_DIFFERENT_SERVICE_ACCOUNT  1079L
  2388.  
  2389. //
  2390. // MessageId: ERROR_CANNOT_DETECT_DRIVER_FAILURE
  2391. //
  2392. // MessageText:
  2393. //
  2394. //  Failure actions can only be set for Win32 services, not for drivers.
  2395. //
  2396. #define ERROR_CANNOT_DETECT_DRIVER_FAILURE 1080L
  2397.  
  2398. //
  2399. // MessageId: ERROR_CANNOT_DETECT_PROCESS_ABORT
  2400. //
  2401. // MessageText:
  2402. //
  2403. //  This service runs in the same process as the service control manager.
  2404. //  Therefore, the service control manager cannot take action if this
  2405. //  service's process terminates unexpectedly.
  2406. //
  2407. #define ERROR_CANNOT_DETECT_PROCESS_ABORT 1081L
  2408.  
  2409. //
  2410. // MessageId: ERROR_NO_RECOVERY_PROGRAM
  2411. //
  2412. // MessageText:
  2413. //
  2414. //  No recovery program has been configured for this service.
  2415. //
  2416. #define ERROR_NO_RECOVERY_PROGRAM        1082L
  2417.  
  2418. //
  2419. // MessageId: ERROR_END_OF_MEDIA
  2420. //
  2421. // MessageText:
  2422. //
  2423. //  The physical end of the tape has been reached.
  2424. //
  2425. #define ERROR_END_OF_MEDIA               1100L
  2426.  
  2427. //
  2428. // MessageId: ERROR_FILEMARK_DETECTED
  2429. //
  2430. // MessageText:
  2431. //
  2432. //  A tape access reached a filemark.
  2433. //
  2434. #define ERROR_FILEMARK_DETECTED          1101L
  2435.  
  2436. //
  2437. // MessageId: ERROR_BEGINNING_OF_MEDIA
  2438. //
  2439. // MessageText:
  2440. //
  2441. //  The beginning of the tape or a partition was encountered.
  2442. //
  2443. #define ERROR_BEGINNING_OF_MEDIA         1102L
  2444.  
  2445. //
  2446. // MessageId: ERROR_SETMARK_DETECTED
  2447. //
  2448. // MessageText:
  2449. //
  2450. //  A tape access reached the end of a set of files.
  2451. //
  2452. #define ERROR_SETMARK_DETECTED           1103L
  2453.  
  2454. //
  2455. // MessageId: ERROR_NO_DATA_DETECTED
  2456. //
  2457. // MessageText:
  2458. //
  2459. //  No more data is on the tape.
  2460. //
  2461. #define ERROR_NO_DATA_DETECTED           1104L
  2462.  
  2463. //
  2464. // MessageId: ERROR_PARTITION_FAILURE
  2465. //
  2466. // MessageText:
  2467. //
  2468. //  Tape could not be partitioned.
  2469. //
  2470. #define ERROR_PARTITION_FAILURE          1105L
  2471.  
  2472. //
  2473. // MessageId: ERROR_INVALID_BLOCK_LENGTH
  2474. //
  2475. // MessageText:
  2476. //
  2477. //  When accessing a new tape of a multivolume partition, the current
  2478. //  blocksize is incorrect.
  2479. //
  2480. #define ERROR_INVALID_BLOCK_LENGTH       1106L
  2481.  
  2482. //
  2483. // MessageId: ERROR_DEVICE_NOT_PARTITIONED
  2484. //
  2485. // MessageText:
  2486. //
  2487. //  Tape partition information could not be found when loading a tape.
  2488. //
  2489. #define ERROR_DEVICE_NOT_PARTITIONED     1107L
  2490.  
  2491. //
  2492. // MessageId: ERROR_UNABLE_TO_LOCK_MEDIA
  2493. //
  2494. // MessageText:
  2495. //
  2496. //  Unable to lock the media eject mechanism.
  2497. //
  2498. #define ERROR_UNABLE_TO_LOCK_MEDIA       1108L
  2499.  
  2500. //
  2501. // MessageId: ERROR_UNABLE_TO_UNLOAD_MEDIA
  2502. //
  2503. // MessageText:
  2504. //
  2505. //  Unable to unload the media.
  2506. //
  2507. #define ERROR_UNABLE_TO_UNLOAD_MEDIA     1109L
  2508.  
  2509. //
  2510. // MessageId: ERROR_MEDIA_CHANGED
  2511. //
  2512. // MessageText:
  2513. //
  2514. //  The media in the drive may have changed.
  2515. //
  2516. #define ERROR_MEDIA_CHANGED              1110L
  2517.  
  2518. //
  2519. // MessageId: ERROR_BUS_RESET
  2520. //
  2521. // MessageText:
  2522. //
  2523. //  The I/O bus was reset.
  2524. //
  2525. #define ERROR_BUS_RESET                  1111L
  2526.  
  2527. //
  2528. // MessageId: ERROR_NO_MEDIA_IN_DRIVE
  2529. //
  2530. // MessageText:
  2531. //
  2532. //  No media in drive.
  2533. //
  2534. #define ERROR_NO_MEDIA_IN_DRIVE          1112L
  2535.  
  2536. //
  2537. // MessageId: ERROR_NO_UNICODE_TRANSLATION
  2538. //
  2539. // MessageText:
  2540. //
  2541. //  No mapping for the Unicode character exists in the target multi-byte code page.
  2542. //
  2543. #define ERROR_NO_UNICODE_TRANSLATION     1113L
  2544.  
  2545. //
  2546. // MessageId: ERROR_DLL_INIT_FAILED
  2547. //
  2548. // MessageText:
  2549. //
  2550. //  A dynamic link library (DLL) initialization routine failed.
  2551. //
  2552. #define ERROR_DLL_INIT_FAILED            1114L
  2553.  
  2554. //
  2555. // MessageId: ERROR_SHUTDOWN_IN_PROGRESS
  2556. //
  2557. // MessageText:
  2558. //
  2559. //  A system shutdown is in progress.
  2560. //
  2561. #define ERROR_SHUTDOWN_IN_PROGRESS       1115L
  2562.  
  2563. //
  2564. // MessageId: ERROR_NO_SHUTDOWN_IN_PROGRESS
  2565. //
  2566. // MessageText:
  2567. //
  2568. //  Unable to abort the system shutdown because no shutdown was in progress.
  2569. //
  2570. #define ERROR_NO_SHUTDOWN_IN_PROGRESS    1116L
  2571.  
  2572. //
  2573. // MessageId: ERROR_IO_DEVICE
  2574. //
  2575. // MessageText:
  2576. //
  2577. //  The request could not be performed because of an I/O device error.
  2578. //
  2579. #define ERROR_IO_DEVICE                  1117L
  2580.  
  2581. //
  2582. // MessageId: ERROR_SERIAL_NO_DEVICE
  2583. //
  2584. // MessageText:
  2585. //
  2586. //  No serial device was successfully initialized.  The serial driver will unload.
  2587. //
  2588. #define ERROR_SERIAL_NO_DEVICE           1118L
  2589.  
  2590. //
  2591. // MessageId: ERROR_IRQ_BUSY
  2592. //
  2593. // MessageText:
  2594. //
  2595. //  Unable to open a device that was sharing an interrupt request (IRQ)
  2596. //  with other devices. At least one other device that uses that IRQ
  2597. //  was already opened.
  2598. //
  2599. #define ERROR_IRQ_BUSY                   1119L
  2600.  
  2601. //
  2602. // MessageId: ERROR_MORE_WRITES
  2603. //
  2604. // MessageText:
  2605. //
  2606. //  A serial I/O operation was completed by another write to the serial port.
  2607. //  (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
  2608. //
  2609. #define ERROR_MORE_WRITES                1120L
  2610.  
  2611. //
  2612. // MessageId: ERROR_COUNTER_TIMEOUT
  2613. //
  2614. // MessageText:
  2615. //
  2616. //  A serial I/O operation completed because the timeout period expired.
  2617. //  (The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
  2618. //
  2619. #define ERROR_COUNTER_TIMEOUT            1121L
  2620.  
  2621. //
  2622. // MessageId: ERROR_FLOPPY_ID_MARK_NOT_FOUND
  2623. //
  2624. // MessageText:
  2625. //
  2626. //  No ID address mark was found on the floppy disk.
  2627. //
  2628. #define ERROR_FLOPPY_ID_MARK_NOT_FOUND   1122L
  2629.  
  2630. //
  2631. // MessageId: ERROR_FLOPPY_WRONG_CYLINDER
  2632. //
  2633. // MessageText:
  2634. //
  2635. //  Mismatch between the floppy disk sector ID field and the floppy disk
  2636. //  controller track address.
  2637. //
  2638. #define ERROR_FLOPPY_WRONG_CYLINDER      1123L
  2639.  
  2640. //
  2641. // MessageId: ERROR_FLOPPY_UNKNOWN_ERROR
  2642. //
  2643. // MessageText:
  2644. //
  2645. //  The floppy disk controller reported an error that is not recognized
  2646. //  by the floppy disk driver.
  2647. //
  2648. #define ERROR_FLOPPY_UNKNOWN_ERROR       1124L
  2649.  
  2650. //
  2651. // MessageId: ERROR_FLOPPY_BAD_REGISTERS
  2652. //
  2653. // MessageText:
  2654. //
  2655. //  The floppy disk controller returned inconsistent results in its registers.
  2656. //
  2657. #define ERROR_FLOPPY_BAD_REGISTERS       1125L
  2658.  
  2659. //
  2660. // MessageId: ERROR_DISK_RECALIBRATE_FAILED
  2661. //
  2662. // MessageText:
  2663. //
  2664. //  While accessing the hard disk, a recalibrate operation failed, even after retries.
  2665. //
  2666. #define ERROR_DISK_RECALIBRATE_FAILED    1126L
  2667.  
  2668. //
  2669. // MessageId: ERROR_DISK_OPERATION_FAILED
  2670. //
  2671. // MessageText:
  2672. //
  2673. //  While accessing the hard disk, a disk operation failed even after retries.
  2674. //
  2675. #define ERROR_DISK_OPERATION_FAILED      1127L
  2676.  
  2677. //
  2678. // MessageId: ERROR_DISK_RESET_FAILED
  2679. //
  2680. // MessageText:
  2681. //
  2682. //  While accessing the hard disk, a disk controller reset was needed, but
  2683. //  even that failed.
  2684. //
  2685. #define ERROR_DISK_RESET_FAILED          1128L
  2686.  
  2687. //
  2688. // MessageId: ERROR_EOM_OVERFLOW
  2689. //
  2690. // MessageText:
  2691. //
  2692. //  Physical end of tape encountered.
  2693. //
  2694. #define ERROR_EOM_OVERFLOW               1129L
  2695.  
  2696. //
  2697. // MessageId: ERROR_NOT_ENOUGH_SERVER_MEMORY
  2698. //
  2699. // MessageText:
  2700. //
  2701. //  Not enough server storage is available to process this command.
  2702. //
  2703. #define ERROR_NOT_ENOUGH_SERVER_MEMORY   1130L
  2704.  
  2705. //
  2706. // MessageId: ERROR_POSSIBLE_DEADLOCK
  2707. //
  2708. // MessageText:
  2709. //
  2710. //  A potential deadlock condition has been detected.
  2711. //
  2712. #define ERROR_POSSIBLE_DEADLOCK          1131L
  2713.  
  2714. //
  2715. // MessageId: ERROR_MAPPED_ALIGNMENT
  2716. //
  2717. // MessageText:
  2718. //
  2719. //  The base address or the file offset specified does not have the proper
  2720. //  alignment.
  2721. //
  2722. #define ERROR_MAPPED_ALIGNMENT           1132L
  2723.  
  2724. //
  2725. // MessageId: ERROR_SET_POWER_STATE_VETOED
  2726. //
  2727. // MessageText:
  2728. //
  2729. //  An attempt to change the system power state was vetoed by another
  2730. //  application or driver.
  2731. //
  2732. #define ERROR_SET_POWER_STATE_VETOED     1140L
  2733.  
  2734. //
  2735. // MessageId: ERROR_SET_POWER_STATE_FAILED
  2736. //
  2737. // MessageText:
  2738. //
  2739. //  The system BIOS failed an attempt to change the system power state.
  2740. //
  2741. #define ERROR_SET_POWER_STATE_FAILED     1141L
  2742.  
  2743. //
  2744. // MessageId: ERROR_TOO_MANY_LINKS
  2745. //
  2746. // MessageText:
  2747. //
  2748. //  An attempt was made to create more links on a file than
  2749. //  the file system supports.
  2750. //
  2751. #define ERROR_TOO_MANY_LINKS             1142L
  2752.  
  2753. //
  2754. // MessageId: ERROR_OLD_WIN_VERSION
  2755. //
  2756. // MessageText:
  2757. //
  2758. //  The specified program requires a newer version of Windows.
  2759. //
  2760. #define ERROR_OLD_WIN_VERSION            1150L
  2761.  
  2762. //
  2763. // MessageId: ERROR_APP_WRONG_OS
  2764. //
  2765. // MessageText:
  2766. //
  2767. //  The specified program is not a Windows or MS-DOS program.
  2768. //
  2769. #define ERROR_APP_WRONG_OS               1151L
  2770.  
  2771. //
  2772. // MessageId: ERROR_SINGLE_INSTANCE_APP
  2773. //
  2774. // MessageText:
  2775. //
  2776. //  Cannot start more than one instance of the specified program.
  2777. //
  2778. #define ERROR_SINGLE_INSTANCE_APP        1152L
  2779.  
  2780. //
  2781. // MessageId: ERROR_RMODE_APP
  2782. //
  2783. // MessageText:
  2784. //
  2785. //  The specified program was written for an earlier version of Windows.
  2786. //
  2787. #define ERROR_RMODE_APP                  1153L
  2788.  
  2789. //
  2790. // MessageId: ERROR_INVALID_DLL
  2791. //
  2792. // MessageText:
  2793. //
  2794. //  One of the library files needed to run this application is damaged.
  2795. //
  2796. #define ERROR_INVALID_DLL                1154L
  2797.  
  2798. //
  2799. // MessageId: ERROR_NO_ASSOCIATION
  2800. //
  2801. // MessageText:
  2802. //
  2803. //  No application is associated with the specified file for this operation.
  2804. //
  2805. #define ERROR_NO_ASSOCIATION             1155L
  2806.  
  2807. //
  2808. // MessageId: ERROR_DDE_FAIL
  2809. //
  2810. // MessageText:
  2811. //
  2812. //  An error occurred in sending the command to the application.
  2813. //
  2814. #define ERROR_DDE_FAIL                   1156L
  2815.  
  2816. //
  2817. // MessageId: ERROR_DLL_NOT_FOUND
  2818. //
  2819. // MessageText:
  2820. //
  2821. //  One of the library files needed to run this application cannot be found.
  2822. //
  2823. #define ERROR_DLL_NOT_FOUND              1157L
  2824.  
  2825. //
  2826. // MessageId: ERROR_NO_MORE_USER_HANDLES
  2827. //
  2828. // MessageText:
  2829. //
  2830. //  The current process has used all of its system allowance of handles for Window Manager objects.
  2831. //
  2832. #define ERROR_NO_MORE_USER_HANDLES       1158L
  2833.  
  2834. //
  2835. // MessageId: ERROR_MESSAGE_SYNC_ONLY
  2836. //
  2837. // MessageText:
  2838. //
  2839. //  The message can be used only with synchronous operations.
  2840. //
  2841. #define ERROR_MESSAGE_SYNC_ONLY          1159L
  2842.  
  2843. //
  2844. // MessageId: ERROR_SOURCE_ELEMENT_EMPTY
  2845. //
  2846. // MessageText:
  2847. //
  2848. //  The indicated source element has no media.
  2849. //
  2850. #define ERROR_SOURCE_ELEMENT_EMPTY       1160L
  2851.  
  2852. //
  2853. // MessageId: ERROR_DESTINATION_ELEMENT_FULL
  2854. //
  2855. // MessageText:
  2856. //
  2857. //  The indicated destination element already contains media.
  2858. //
  2859. #define ERROR_DESTINATION_ELEMENT_FULL   1161L
  2860.  
  2861. //
  2862. // MessageId: ERROR_ILLEGAL_ELEMENT_ADDRESS
  2863. //
  2864. // MessageText:
  2865. //
  2866. //  The indicated element does not exist.
  2867. //
  2868. #define ERROR_ILLEGAL_ELEMENT_ADDRESS    1162L
  2869.  
  2870. //
  2871. // MessageId: ERROR_MAGAZINE_NOT_PRESENT
  2872. //
  2873. // MessageText:
  2874. //
  2875. //  The indicated element is part of a magazine that is not present.
  2876. //
  2877. #define ERROR_MAGAZINE_NOT_PRESENT       1163L
  2878.  
  2879. //
  2880. // MessageId: ERROR_DEVICE_REINITIALIZATION_NEEDED
  2881. //
  2882. // MessageText:
  2883. //
  2884. //  The indicated device requires reinitialization due to hardware errors.
  2885. //
  2886. #define ERROR_DEVICE_REINITIALIZATION_NEEDED 1164L    // dderror
  2887.  
  2888. //
  2889. // MessageId: ERROR_DEVICE_REQUIRES_CLEANING
  2890. //
  2891. // MessageText:
  2892. //
  2893. //  The device has indicated that cleaning is required before further operations are attempted.
  2894. //
  2895. #define ERROR_DEVICE_REQUIRES_CLEANING   1165L
  2896.  
  2897. //
  2898. // MessageId: ERROR_DEVICE_DOOR_OPEN
  2899. //
  2900. // MessageText:
  2901. //
  2902. //  The device has indicated that its door is open.
  2903. //
  2904. #define ERROR_DEVICE_DOOR_OPEN           1166L
  2905.  
  2906. //
  2907. // MessageId: ERROR_DEVICE_NOT_CONNECTED
  2908. //
  2909. // MessageText:
  2910. //
  2911. //  The device is not connected.
  2912. //
  2913. #define ERROR_DEVICE_NOT_CONNECTED       1167L
  2914.  
  2915. //
  2916. // MessageId: ERROR_NOT_FOUND
  2917. //
  2918. // MessageText:
  2919. //
  2920. //  Element not found.
  2921. //
  2922. #define ERROR_NOT_FOUND                  1168L
  2923.  
  2924. //
  2925. // MessageId: ERROR_NO_MATCH
  2926. //
  2927. // MessageText:
  2928. //
  2929. //  There was no match for the specified key in the index.
  2930. //
  2931. #define ERROR_NO_MATCH                   1169L
  2932.  
  2933. //
  2934. // MessageId: ERROR_SET_NOT_FOUND
  2935. //
  2936. // MessageText:
  2937. //
  2938. //  The property set specified does not exist on the object.
  2939. //
  2940. #define ERROR_SET_NOT_FOUND              1170L
  2941.  
  2942. //
  2943. // MessageId: ERROR_POINT_NOT_FOUND
  2944. //
  2945. // MessageText:
  2946. //
  2947. //  The point passed to GetMouseMovePoints is not in the buffer.
  2948. //
  2949. #define ERROR_POINT_NOT_FOUND            1171L
  2950.  
  2951. //
  2952. // MessageId: ERROR_NO_TRACKING_SERVICE
  2953. //
  2954. // MessageText:
  2955. //
  2956. //  The tracking (workstation) service is not running.
  2957. //
  2958. #define ERROR_NO_TRACKING_SERVICE        1172L
  2959.  
  2960. //
  2961. // MessageId: ERROR_NO_VOLUME_ID
  2962. //
  2963. // MessageText:
  2964. //
  2965. //  The Volume ID could not be found.
  2966. //
  2967. #define ERROR_NO_VOLUME_ID               1173L
  2968.  
  2969.  
  2970.  
  2971.  
  2972. ///////////////////////////
  2973. //                       //
  2974. // Winnet32 Status Codes //
  2975. //                       //
  2976. ///////////////////////////
  2977.  
  2978.  
  2979. //
  2980. // MessageId: ERROR_CONNECTED_OTHER_PASSWORD
  2981. //
  2982. // MessageText:
  2983. //
  2984. //  The network connection was made successfully, but the user had to be prompted
  2985. //  for a password other than the one originally specified.
  2986. //
  2987. #define ERROR_CONNECTED_OTHER_PASSWORD   2108L
  2988.  
  2989. //
  2990. // MessageId: ERROR_BAD_USERNAME
  2991. //
  2992. // MessageText:
  2993. //
  2994. //  The specified username is invalid.
  2995. //
  2996. #define ERROR_BAD_USERNAME               2202L
  2997.  
  2998. //
  2999. // MessageId: ERROR_NOT_CONNECTED
  3000. //
  3001. // MessageText:
  3002. //
  3003. //  This network connection does not exist.
  3004. //
  3005. #define ERROR_NOT_CONNECTED              2250L
  3006.  
  3007. //
  3008. // MessageId: ERROR_OPEN_FILES
  3009. //
  3010. // MessageText:
  3011. //
  3012. //  This network connection has files open or requests pending.
  3013. //
  3014. #define ERROR_OPEN_FILES                 2401L
  3015.  
  3016. //
  3017. // MessageId: ERROR_ACTIVE_CONNECTIONS
  3018. //
  3019. // MessageText:
  3020. //
  3021. //  Active connections still exist.
  3022. //
  3023. #define ERROR_ACTIVE_CONNECTIONS         2402L
  3024.  
  3025. //
  3026. // MessageId: ERROR_DEVICE_IN_USE
  3027. //
  3028. // MessageText:
  3029. //
  3030. //  The device is in use by an active process and cannot be disconnected.
  3031. //
  3032. #define ERROR_DEVICE_IN_USE              2404L
  3033.  
  3034. //
  3035. // MessageId: ERROR_BAD_DEVICE
  3036. //
  3037. // MessageText:
  3038. //
  3039. //  The specified device name is invalid.
  3040. //
  3041. #define ERROR_BAD_DEVICE                 1200L
  3042.  
  3043. //
  3044. // MessageId: ERROR_CONNECTION_UNAVAIL
  3045. //
  3046. // MessageText:
  3047. //
  3048. //  The device is not currently connected but it is a remembered connection.
  3049. //
  3050. #define ERROR_CONNECTION_UNAVAIL         1201L
  3051.  
  3052. //
  3053. // MessageId: ERROR_DEVICE_ALREADY_REMEMBERED
  3054. //
  3055. // MessageText:
  3056. //
  3057. //  An attempt was made to remember a device that had previously been remembered.
  3058. //
  3059. #define ERROR_DEVICE_ALREADY_REMEMBERED  1202L
  3060.  
  3061. //
  3062. // MessageId: ERROR_NO_NET_OR_BAD_PATH
  3063. //
  3064. // MessageText:
  3065. //
  3066. //  No network provider accepted the given network path.
  3067. //
  3068. #define ERROR_NO_NET_OR_BAD_PATH         1203L
  3069.  
  3070. //
  3071. // MessageId: ERROR_BAD_PROVIDER
  3072. //
  3073. // MessageText:
  3074. //
  3075. //  The specified network provider name is invalid.
  3076. //
  3077. #define ERROR_BAD_PROVIDER               1204L
  3078.  
  3079. //
  3080. // MessageId: ERROR_CANNOT_OPEN_PROFILE
  3081. //
  3082. // MessageText:
  3083. //
  3084. //  Unable to open the network connection profile.
  3085. //
  3086. #define ERROR_CANNOT_OPEN_PROFILE        1205L
  3087.  
  3088. //
  3089. // MessageId: ERROR_BAD_PROFILE
  3090. //
  3091. // MessageText:
  3092. //
  3093. //  The network connection profile is corrupted.
  3094. //
  3095. #define ERROR_BAD_PROFILE                1206L
  3096.  
  3097. //
  3098. // MessageId: ERROR_NOT_CONTAINER
  3099. //
  3100. // MessageText:
  3101. //
  3102. //  Cannot enumerate a noncontainer.
  3103. //
  3104. #define ERROR_NOT_CONTAINER              1207L
  3105.  
  3106. //
  3107. // MessageId: ERROR_EXTENDED_ERROR
  3108. //
  3109. // MessageText:
  3110. //
  3111. //  An extended error has occurred.
  3112. //
  3113. #define ERROR_EXTENDED_ERROR             1208L
  3114.  
  3115. //
  3116. // MessageId: ERROR_INVALID_GROUPNAME
  3117. //
  3118. // MessageText:
  3119. //
  3120. //  The format of the specified group name is invalid.
  3121. //
  3122. #define ERROR_INVALID_GROUPNAME          1209L
  3123.  
  3124. //
  3125. // MessageId: ERROR_INVALID_COMPUTERNAME
  3126. //
  3127. // MessageText:
  3128. //
  3129. //  The format of the specified computer name is invalid.
  3130. //
  3131. #define ERROR_INVALID_COMPUTERNAME       1210L
  3132.  
  3133. //
  3134. // MessageId: ERROR_INVALID_EVENTNAME
  3135. //
  3136. // MessageText:
  3137. //
  3138. //  The format of the specified event name is invalid.
  3139. //
  3140. #define ERROR_INVALID_EVENTNAME          1211L
  3141.  
  3142. //
  3143. // MessageId: ERROR_INVALID_DOMAINNAME
  3144. //
  3145. // MessageText:
  3146. //
  3147. //  The format of the specified domain name is invalid.
  3148. //
  3149. #define ERROR_INVALID_DOMAINNAME         1212L
  3150.  
  3151. //
  3152. // MessageId: ERROR_INVALID_SERVICENAME
  3153. //
  3154. // MessageText:
  3155. //
  3156. //  The format of the specified service name is invalid.
  3157. //
  3158. #define ERROR_INVALID_SERVICENAME        1213L
  3159.  
  3160. //
  3161. // MessageId: ERROR_INVALID_NETNAME
  3162. //
  3163. // MessageText:
  3164. //
  3165. //  The format of the specified network name is invalid.
  3166. //
  3167. #define ERROR_INVALID_NETNAME            1214L
  3168.  
  3169. //
  3170. // MessageId: ERROR_INVALID_SHARENAME
  3171. //
  3172. // MessageText:
  3173. //
  3174. //  The format of the specified share name is invalid.
  3175. //
  3176. #define ERROR_INVALID_SHARENAME          1215L
  3177.  
  3178. //
  3179. // MessageId: ERROR_INVALID_PASSWORDNAME
  3180. //
  3181. // MessageText:
  3182. //
  3183. //  The format of the specified password is invalid.
  3184. //
  3185. #define ERROR_INVALID_PASSWORDNAME       1216L
  3186.  
  3187. //
  3188. // MessageId: ERROR_INVALID_MESSAGENAME
  3189. //
  3190. // MessageText:
  3191. //
  3192. //  The format of the specified message name is invalid.
  3193. //
  3194. #define ERROR_INVALID_MESSAGENAME        1217L
  3195.  
  3196. //
  3197. // MessageId: ERROR_INVALID_MESSAGEDEST
  3198. //
  3199. // MessageText:
  3200. //
  3201. //  The format of the specified message destination is invalid.
  3202. //
  3203. #define ERROR_INVALID_MESSAGEDEST        1218L
  3204.  
  3205. //
  3206. // MessageId: ERROR_SESSION_CREDENTIAL_CONFLICT
  3207. //
  3208. // MessageText:
  3209. //
  3210. //  The credentials supplied conflict with an existing set of credentials.
  3211. //
  3212. #define ERROR_SESSION_CREDENTIAL_CONFLICT 1219L
  3213.  
  3214. //
  3215. // MessageId: ERROR_REMOTE_SESSION_LIMIT_EXCEEDED
  3216. //
  3217. // MessageText:
  3218. //
  3219. //  An attempt was made to establish a session to a network server, but there
  3220. //  are already too many sessions established to that server.
  3221. //
  3222. #define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 1220L
  3223.  
  3224. //
  3225. // MessageId: ERROR_DUP_DOMAINNAME
  3226. //
  3227. // MessageText:
  3228. //
  3229. //  The workgroup or domain name is already in use by another computer on the
  3230. //  network.
  3231. //
  3232. #define ERROR_DUP_DOMAINNAME             1221L
  3233.  
  3234. //
  3235. // MessageId: ERROR_NO_NETWORK
  3236. //
  3237. // MessageText:
  3238. //
  3239. //  The network is not present or not started.
  3240. //
  3241. #define ERROR_NO_NETWORK                 1222L
  3242.  
  3243. //
  3244. // MessageId: ERROR_CANCELLED
  3245. //
  3246. // MessageText:
  3247. //
  3248. //  The operation was canceled by the user.
  3249. //
  3250. #define ERROR_CANCELLED                  1223L
  3251.  
  3252. //
  3253. // MessageId: ERROR_USER_MAPPED_FILE
  3254. //
  3255. // MessageText:
  3256. //
  3257. //  The requested operation cannot be performed on a file with a user-mapped section open.
  3258. //
  3259. #define ERROR_USER_MAPPED_FILE           1224L
  3260.  
  3261. //
  3262. // MessageId: ERROR_CONNECTION_REFUSED
  3263. //
  3264. // MessageText:
  3265. //
  3266. //  The remote system refused the network connection.
  3267. //
  3268. #define ERROR_CONNECTION_REFUSED         1225L
  3269.  
  3270. //
  3271. // MessageId: ERROR_GRACEFUL_DISCONNECT
  3272. //
  3273. // MessageText:
  3274. //
  3275. //  The network connection was gracefully closed.
  3276. //
  3277. #define ERROR_GRACEFUL_DISCONNECT        1226L
  3278.  
  3279. //
  3280. // MessageId: ERROR_ADDRESS_ALREADY_ASSOCIATED
  3281. //
  3282. // MessageText:
  3283. //
  3284. //  The network transport endpoint already has an address associated with it.
  3285. //
  3286. #define ERROR_ADDRESS_ALREADY_ASSOCIATED 1227L
  3287.  
  3288. //
  3289. // MessageId: ERROR_ADDRESS_NOT_ASSOCIATED
  3290. //
  3291. // MessageText:
  3292. //
  3293. //  An address has not yet been associated with the network endpoint.
  3294. //
  3295. #define ERROR_ADDRESS_NOT_ASSOCIATED     1228L
  3296.  
  3297. //
  3298. // MessageId: ERROR_CONNECTION_INVALID
  3299. //
  3300. // MessageText:
  3301. //
  3302. //  An operation was attempted on a nonexistent network connection.
  3303. //
  3304. #define ERROR_CONNECTION_INVALID         1229L
  3305.  
  3306. //
  3307. // MessageId: ERROR_CONNECTION_ACTIVE
  3308. //
  3309. // MessageText:
  3310. //
  3311. //  An invalid operation was attempted on an active network connection.
  3312. //
  3313. #define ERROR_CONNECTION_ACTIVE          1230L
  3314.  
  3315. //
  3316. // MessageId: ERROR_NETWORK_UNREACHABLE
  3317. //
  3318. // MessageText:
  3319. //
  3320. //  The remote network is not reachable by the transport.
  3321. //
  3322. #define ERROR_NETWORK_UNREACHABLE        1231L
  3323.  
  3324. //
  3325. // MessageId: ERROR_HOST_UNREACHABLE
  3326. //
  3327. // MessageText:
  3328. //
  3329. //  The remote system is not reachable by the transport.
  3330. //
  3331. #define ERROR_HOST_UNREACHABLE           1232L
  3332.  
  3333. //
  3334. // MessageId: ERROR_PROTOCOL_UNREACHABLE
  3335. //
  3336. // MessageText:
  3337. //
  3338. //  The remote system does not support the transport protocol.
  3339. //
  3340. #define ERROR_PROTOCOL_UNREACHABLE       1233L
  3341.  
  3342. //
  3343. // MessageId: ERROR_PORT_UNREACHABLE
  3344. //
  3345. // MessageText:
  3346. //
  3347. //  No service is operating at the destination network endpoint
  3348. //  on the remote system.
  3349. //
  3350. #define ERROR_PORT_UNREACHABLE           1234L
  3351.  
  3352. //
  3353. // MessageId: ERROR_REQUEST_ABORTED
  3354. //
  3355. // MessageText:
  3356. //
  3357. //  The request was aborted.
  3358. //
  3359. #define ERROR_REQUEST_ABORTED            1235L
  3360.  
  3361. //
  3362. // MessageId: ERROR_CONNECTION_ABORTED
  3363. //
  3364. // MessageText:
  3365. //
  3366. //  The network connection was aborted by the local system.
  3367. //
  3368. #define ERROR_CONNECTION_ABORTED         1236L
  3369.  
  3370. //
  3371. // MessageId: ERROR_RETRY
  3372. //
  3373. // MessageText:
  3374. //
  3375. //  The operation could not be completed.  A retry should be performed.
  3376. //
  3377. #define ERROR_RETRY                      1237L
  3378.  
  3379. //
  3380. // MessageId: ERROR_CONNECTION_COUNT_LIMIT
  3381. //
  3382. // MessageText:
  3383. //
  3384. //  A connection to the server could not be made because the limit on the number of
  3385. //  concurrent connections for this account has been reached.
  3386. //
  3387. #define ERROR_CONNECTION_COUNT_LIMIT     1238L
  3388.  
  3389. //
  3390. // MessageId: ERROR_LOGIN_TIME_RESTRICTION
  3391. //
  3392. // MessageText:
  3393. //
  3394. //  Attempting to log in during an unauthorized time of day for this account.
  3395. //
  3396. #define ERROR_LOGIN_TIME_RESTRICTION     1239L
  3397.  
  3398. //
  3399. // MessageId: ERROR_LOGIN_WKSTA_RESTRICTION
  3400. //
  3401. // MessageText:
  3402. //
  3403. //  The account is not authorized to log in from this station.
  3404. //
  3405. #define ERROR_LOGIN_WKSTA_RESTRICTION    1240L
  3406.  
  3407. //
  3408. // MessageId: ERROR_INCORRECT_ADDRESS
  3409. //
  3410. // MessageText:
  3411. //
  3412. //  The network address could not be used for the operation requested.
  3413. //
  3414. #define ERROR_INCORRECT_ADDRESS          1241L
  3415.  
  3416. //
  3417. // MessageId: ERROR_ALREADY_REGISTERED
  3418. //
  3419. // MessageText:
  3420. //
  3421. //  The service is already registered.
  3422. //
  3423. #define ERROR_ALREADY_REGISTERED         1242L
  3424.  
  3425. //
  3426. // MessageId: ERROR_SERVICE_NOT_FOUND
  3427. //
  3428. // MessageText:
  3429. //
  3430. //  The specified service does not exist.
  3431. //
  3432. #define ERROR_SERVICE_NOT_FOUND          1243L
  3433.  
  3434. //
  3435. // MessageId: ERROR_NOT_AUTHENTICATED
  3436. //
  3437. // MessageText:
  3438. //
  3439. //  The operation being requested was not performed because the user
  3440. //  has not been authenticated.
  3441. //
  3442. #define ERROR_NOT_AUTHENTICATED          1244L
  3443.  
  3444. //
  3445. // MessageId: ERROR_NOT_LOGGED_ON
  3446. //
  3447. // MessageText:
  3448. //
  3449. //  The operation being requested was not performed because the user
  3450. //  has not logged on to the network.
  3451. //  The specified service does not exist.
  3452. //
  3453. #define ERROR_NOT_LOGGED_ON              1245L
  3454.  
  3455. //
  3456. // MessageId: ERROR_CONTINUE
  3457. //
  3458. // MessageText:
  3459. //
  3460. //  Continue with work in progress.
  3461. //
  3462. #define ERROR_CONTINUE                   1246L
  3463.  
  3464. //
  3465. // MessageId: ERROR_ALREADY_INITIALIZED
  3466. //
  3467. // MessageText:
  3468. //
  3469. //  An attempt was made to perform an initialization operation when
  3470. //  initialization has already been completed.
  3471. //
  3472. #define ERROR_ALREADY_INITIALIZED        1247L
  3473.  
  3474. //
  3475. // MessageId: ERROR_NO_MORE_DEVICES
  3476. //
  3477. // MessageText:
  3478. //
  3479. //  No more local devices.
  3480. //
  3481. #define ERROR_NO_MORE_DEVICES            1248L
  3482.  
  3483. //
  3484. // MessageId: ERROR_NO_SUCH_SITE
  3485. //
  3486. // MessageText:
  3487. //
  3488. //  The specified site does not exist.
  3489. //
  3490. #define ERROR_NO_SUCH_SITE               1249L
  3491.  
  3492. //
  3493. // MessageId: ERROR_DOMAIN_CONTROLLER_EXISTS
  3494. //
  3495. // MessageText:
  3496. //
  3497. //  A domain controller with the specified name already exists.
  3498. //
  3499. #define ERROR_DOMAIN_CONTROLLER_EXISTS   1250L
  3500.  
  3501. //
  3502. // MessageId: ERROR_DS_NOT_INSTALLED
  3503. //
  3504. // MessageText:
  3505. //
  3506. //  An error occurred while installing the Windows NT directory service. Please view the event log for more information.
  3507. //
  3508. #define ERROR_DS_NOT_INSTALLED           1251L
  3509.  
  3510.  
  3511.  
  3512.  
  3513. ///////////////////////////
  3514. //                       //
  3515. // Security Status Codes //
  3516. //                       //
  3517. ///////////////////////////
  3518.  
  3519.  
  3520. //
  3521. // MessageId: ERROR_NOT_ALL_ASSIGNED
  3522. //
  3523. // MessageText:
  3524. //
  3525. //  Not all privileges referenced are assigned to the caller.
  3526. //
  3527. #define ERROR_NOT_ALL_ASSIGNED           1300L
  3528.  
  3529. //
  3530. // MessageId: ERROR_SOME_NOT_MAPPED
  3531. //
  3532. // MessageText:
  3533. //
  3534. //  Some mapping between account names and security IDs was not done.
  3535. //
  3536. #define ERROR_SOME_NOT_MAPPED            1301L
  3537.  
  3538. //
  3539. // MessageId: ERROR_NO_QUOTAS_FOR_ACCOUNT
  3540. //
  3541. // MessageText:
  3542. //
  3543. //  No system quota limits are specifically set for this account.
  3544. //
  3545. #define ERROR_NO_QUOTAS_FOR_ACCOUNT      1302L
  3546.  
  3547. //
  3548. // MessageId: ERROR_LOCAL_USER_SESSION_KEY
  3549. //
  3550. // MessageText:
  3551. //
  3552. //  No encryption key is available.  A well-known encryption key was returned.
  3553. //
  3554. #define ERROR_LOCAL_USER_SESSION_KEY     1303L
  3555.  
  3556. //
  3557. // MessageId: ERROR_NULL_LM_PASSWORD
  3558. //
  3559. // MessageText:
  3560. //
  3561. //  The Windows NT password is too complex to be converted to a LAN Manager
  3562. //  password.  The LAN Manager password returned is a NULL string.
  3563. //
  3564. #define ERROR_NULL_LM_PASSWORD           1304L
  3565.  
  3566. //
  3567. // MessageId: ERROR_UNKNOWN_REVISION
  3568. //
  3569. // MessageText:
  3570. //
  3571. //  The revision level is unknown.
  3572. //
  3573. #define ERROR_UNKNOWN_REVISION           1305L
  3574.  
  3575. //
  3576. // MessageId: ERROR_REVISION_MISMATCH
  3577. //
  3578. // MessageText:
  3579. //
  3580. //  Indicates two revision levels are incompatible.
  3581. //
  3582. #define ERROR_REVISION_MISMATCH          1306L
  3583.  
  3584. //
  3585. // MessageId: ERROR_INVALID_OWNER
  3586. //
  3587. // MessageText:
  3588. //
  3589. //  This security ID may not be assigned as the owner of this object.
  3590. //
  3591. #define ERROR_INVALID_OWNER              1307L
  3592.  
  3593. //
  3594. // MessageId: ERROR_INVALID_PRIMARY_GROUP
  3595. //
  3596. // MessageText:
  3597. //
  3598. //  This security ID may not be assigned as the primary group of an object.
  3599. //
  3600. #define ERROR_INVALID_PRIMARY_GROUP      1308L
  3601.  
  3602. //
  3603. // MessageId: ERROR_NO_IMPERSONATION_TOKEN
  3604. //
  3605. // MessageText:
  3606. //
  3607. //  An attempt has been made to operate on an impersonation token
  3608. //  by a thread that is not currently impersonating a client.
  3609. //
  3610. #define ERROR_NO_IMPERSONATION_TOKEN     1309L
  3611.  
  3612. //
  3613. // MessageId: ERROR_CANT_DISABLE_MANDATORY
  3614. //
  3615. // MessageText:
  3616. //
  3617. //  The group may not be disabled.
  3618. //
  3619. #define ERROR_CANT_DISABLE_MANDATORY     1310L
  3620.  
  3621. //
  3622. // MessageId: ERROR_NO_LOGON_SERVERS
  3623. //
  3624. // MessageText:
  3625. //
  3626. //  There are currently no logon servers available to service the logon
  3627. //  request.
  3628. //
  3629. #define ERROR_NO_LOGON_SERVERS           1311L
  3630.  
  3631. //
  3632. // MessageId: ERROR_NO_SUCH_LOGON_SESSION
  3633. //
  3634. // MessageText:
  3635. //
  3636. //   A specified logon session does not exist.  It may already have
  3637. //   been terminated.
  3638. //
  3639. #define ERROR_NO_SUCH_LOGON_SESSION      1312L
  3640.  
  3641. //
  3642. // MessageId: ERROR_NO_SUCH_PRIVILEGE
  3643. //
  3644. // MessageText:
  3645. //
  3646. //   A specified privilege does not exist.
  3647. //
  3648. #define ERROR_NO_SUCH_PRIVILEGE          1313L
  3649.  
  3650. //
  3651. // MessageId: ERROR_PRIVILEGE_NOT_HELD
  3652. //
  3653. // MessageText:
  3654. //
  3655. //   A required privilege is not held by the client.
  3656. //
  3657. #define ERROR_PRIVILEGE_NOT_HELD         1314L
  3658.  
  3659. //
  3660. // MessageId: ERROR_INVALID_ACCOUNT_NAME
  3661. //
  3662. // MessageText:
  3663. //
  3664. //  The name provided is not a properly formed account name.
  3665. //
  3666. #define ERROR_INVALID_ACCOUNT_NAME       1315L
  3667.  
  3668. //
  3669. // MessageId: ERROR_USER_EXISTS
  3670. //
  3671. // MessageText:
  3672. //
  3673. //  The specified user already exists.
  3674. //
  3675. #define ERROR_USER_EXISTS                1316L
  3676.  
  3677. //
  3678. // MessageId: ERROR_NO_SUCH_USER
  3679. //
  3680. // MessageText:
  3681. //
  3682. //  The specified user does not exist.
  3683. //
  3684. #define ERROR_NO_SUCH_USER               1317L
  3685.  
  3686. //
  3687. // MessageId: ERROR_GROUP_EXISTS
  3688. //
  3689. // MessageText:
  3690. //
  3691. //  The specified group already exists.
  3692. //
  3693. #define ERROR_GROUP_EXISTS               1318L
  3694.  
  3695. //
  3696. // MessageId: ERROR_NO_SUCH_GROUP
  3697. //
  3698. // MessageText:
  3699. //
  3700. //  The specified group does not exist.
  3701. //
  3702. #define ERROR_NO_SUCH_GROUP              1319L
  3703.  
  3704. //
  3705. // MessageId: ERROR_MEMBER_IN_GROUP
  3706. //
  3707. // MessageText:
  3708. //
  3709. //  Either the specified user account is already a member of the specified
  3710. //  group, or the specified group cannot be deleted because it contains
  3711. //  a member.
  3712. //
  3713. #define ERROR_MEMBER_IN_GROUP            1320L
  3714.  
  3715. //
  3716. // MessageId: ERROR_MEMBER_NOT_IN_GROUP
  3717. //
  3718. // MessageText:
  3719. //
  3720. //  The specified user account is not a member of the specified group account.
  3721. //
  3722. #define ERROR_MEMBER_NOT_IN_GROUP        1321L
  3723.  
  3724. //
  3725. // MessageId: ERROR_LAST_ADMIN
  3726. //
  3727. // MessageText:
  3728. //
  3729. //  The last remaining administration account cannot be disabled
  3730. //  or deleted.
  3731. //
  3732. #define ERROR_LAST_ADMIN                 1322L
  3733.  
  3734. //
  3735. // MessageId: ERROR_WRONG_PASSWORD
  3736. //
  3737. // MessageText:
  3738. //
  3739. //  Unable to update the password.  The value provided as the current
  3740. //  password is incorrect.
  3741. //
  3742. #define ERROR_WRONG_PASSWORD             1323L
  3743.  
  3744. //
  3745. // MessageId: ERROR_ILL_FORMED_PASSWORD
  3746. //
  3747. // MessageText:
  3748. //
  3749. //  Unable to update the password.  The value provided for the new password
  3750. //  contains values that are not allowed in passwords.
  3751. //
  3752. #define ERROR_ILL_FORMED_PASSWORD        1324L
  3753.  
  3754. //
  3755. // MessageId: ERROR_PASSWORD_RESTRICTION
  3756. //
  3757. // MessageText:
  3758. //
  3759. //  Unable to update the password because a password update rule has been
  3760. //  violated.
  3761. //
  3762. #define ERROR_PASSWORD_RESTRICTION       1325L
  3763.  
  3764. //
  3765. // MessageId: ERROR_LOGON_FAILURE
  3766. //
  3767. // MessageText:
  3768. //
  3769. //  Logon failure: unknown user name or bad password.
  3770. //
  3771. #define ERROR_LOGON_FAILURE              1326L
  3772.  
  3773. //
  3774. // MessageId: ERROR_ACCOUNT_RESTRICTION
  3775. //
  3776. // MessageText:
  3777. //
  3778. //  Logon failure: user account restriction.
  3779. //
  3780. #define ERROR_ACCOUNT_RESTRICTION        1327L
  3781.  
  3782. //
  3783. // MessageId: ERROR_INVALID_LOGON_HOURS
  3784. //
  3785. // MessageText:
  3786. //
  3787. //  Logon failure: account logon time restriction violation.
  3788. //
  3789. #define ERROR_INVALID_LOGON_HOURS        1328L
  3790.  
  3791. //
  3792. // MessageId: ERROR_INVALID_WORKSTATION
  3793. //
  3794. // MessageText:
  3795. //
  3796. //  Logon failure: user not allowed to log on to this computer.
  3797. //
  3798. #define ERROR_INVALID_WORKSTATION        1329L
  3799.  
  3800. //
  3801. // MessageId: ERROR_PASSWORD_EXPIRED
  3802. //
  3803. // MessageText:
  3804. //
  3805. //  Logon failure: the specified account password has expired.
  3806. //
  3807. #define ERROR_PASSWORD_EXPIRED           1330L
  3808.  
  3809. //
  3810. // MessageId: ERROR_ACCOUNT_DISABLED
  3811. //
  3812. // MessageText:
  3813. //
  3814. //  Logon failure: account currently disabled.
  3815. //
  3816. #define ERROR_ACCOUNT_DISABLED           1331L
  3817.  
  3818. //
  3819. // MessageId: ERROR_NONE_MAPPED
  3820. //
  3821. // MessageText:
  3822. //
  3823. //  No mapping between account names and security IDs was done.
  3824. //
  3825. #define ERROR_NONE_MAPPED                1332L
  3826.  
  3827. //
  3828. // MessageId: ERROR_TOO_MANY_LUIDS_REQUESTED
  3829. //
  3830. // MessageText:
  3831. //
  3832. //  Too many local user identifiers (LUIDs) were requested at one time.
  3833. //
  3834. #define ERROR_TOO_MANY_LUIDS_REQUESTED   1333L
  3835.  
  3836. //
  3837. // MessageId: ERROR_LUIDS_EXHAUSTED
  3838. //
  3839. // MessageText:
  3840. //
  3841. //  No more local user identifiers (LUIDs) are available.
  3842. //
  3843. #define ERROR_LUIDS_EXHAUSTED            1334L
  3844.  
  3845. //
  3846. // MessageId: ERROR_INVALID_SUB_AUTHORITY
  3847. //
  3848. // MessageText:
  3849. //
  3850. //  The subauthority part of a security ID is invalid for this particular use.
  3851. //
  3852. #define ERROR_INVALID_SUB_AUTHORITY      1335L
  3853.  
  3854. //
  3855. // MessageId: ERROR_INVALID_ACL
  3856. //
  3857. // MessageText:
  3858. //
  3859. //  The access control list (ACL) structure is invalid.
  3860. //
  3861. #define ERROR_INVALID_ACL                1336L
  3862.  
  3863. //
  3864. // MessageId: ERROR_INVALID_SID
  3865. //
  3866. // MessageText:
  3867. //
  3868. //  The security ID structure is invalid.
  3869. //
  3870. #define ERROR_INVALID_SID                1337L
  3871.  
  3872. //
  3873. // MessageId: ERROR_INVALID_SECURITY_DESCR
  3874. //
  3875. // MessageText:
  3876. //
  3877. //  The security descriptor structure is invalid.
  3878. //
  3879. #define ERROR_INVALID_SECURITY_DESCR     1338L
  3880.  
  3881. //
  3882. // MessageId: ERROR_BAD_INHERITANCE_ACL
  3883. //
  3884. // MessageText:
  3885. //
  3886. //  The inherited access control list (ACL) or access control entry (ACE)
  3887. //  could not be built.
  3888. //
  3889. #define ERROR_BAD_INHERITANCE_ACL        1340L
  3890.  
  3891. //
  3892. // MessageId: ERROR_SERVER_DISABLED
  3893. //
  3894. // MessageText:
  3895. //
  3896. //  The server is currently disabled.
  3897. //
  3898. #define ERROR_SERVER_DISABLED            1341L
  3899.  
  3900. //
  3901. // MessageId: ERROR_SERVER_NOT_DISABLED
  3902. //
  3903. // MessageText:
  3904. //
  3905. //  The server is currently enabled.
  3906. //
  3907. #define ERROR_SERVER_NOT_DISABLED        1342L
  3908.  
  3909. //
  3910. // MessageId: ERROR_INVALID_ID_AUTHORITY
  3911. //
  3912. // MessageText:
  3913. //
  3914. //  The value provided was an invalid value for an identifier authority.
  3915. //
  3916. #define ERROR_INVALID_ID_AUTHORITY       1343L
  3917.  
  3918. //
  3919. // MessageId: ERROR_ALLOTTED_SPACE_EXCEEDED
  3920. //
  3921. // MessageText:
  3922. //
  3923. //  No more memory is available for security information updates.
  3924. //
  3925. #define ERROR_ALLOTTED_SPACE_EXCEEDED    1344L
  3926.  
  3927. //
  3928. // MessageId: ERROR_INVALID_GROUP_ATTRIBUTES
  3929. //
  3930. // MessageText:
  3931. //
  3932. //  The specified attributes are invalid, or incompatible with the
  3933. //  attributes for the group as a whole.
  3934. //
  3935. #define ERROR_INVALID_GROUP_ATTRIBUTES   1345L
  3936.  
  3937. //
  3938. // MessageId: ERROR_BAD_IMPERSONATION_LEVEL
  3939. //
  3940. // MessageText:
  3941. //
  3942. //  Either a required impersonation level was not provided, or the
  3943. //  provided impersonation level is invalid.
  3944. //
  3945. #define ERROR_BAD_IMPERSONATION_LEVEL    1346L
  3946.  
  3947. //
  3948. // MessageId: ERROR_CANT_OPEN_ANONYMOUS
  3949. //
  3950. // MessageText:
  3951. //
  3952. //  Cannot open an anonymous level security token.
  3953. //
  3954. #define ERROR_CANT_OPEN_ANONYMOUS        1347L
  3955.  
  3956. //
  3957. // MessageId: ERROR_BAD_VALIDATION_CLASS
  3958. //
  3959. // MessageText:
  3960. //
  3961. //  The validation information class requested was invalid.
  3962. //
  3963. #define ERROR_BAD_VALIDATION_CLASS       1348L
  3964.  
  3965. //
  3966. // MessageId: ERROR_BAD_TOKEN_TYPE
  3967. //
  3968. // MessageText:
  3969. //
  3970. //  The type of the token is inappropriate for its attempted use.
  3971. //
  3972. #define ERROR_BAD_TOKEN_TYPE             1349L
  3973.  
  3974. //
  3975. // MessageId: ERROR_NO_SECURITY_ON_OBJECT
  3976. //
  3977. // MessageText:
  3978. //
  3979. //  Unable to perform a security operation on an object
  3980. //  that has no associated security.
  3981. //
  3982. #define ERROR_NO_SECURITY_ON_OBJECT      1350L
  3983.  
  3984. //
  3985. // MessageId: ERROR_CANT_ACCESS_DOMAIN_INFO
  3986. //
  3987. // MessageText:
  3988. //
  3989. //  Indicates a Windows NT Server could not be contacted or that
  3990. //  objects within the domain are protected such that necessary
  3991. //  information could not be retrieved.
  3992. //
  3993. #define ERROR_CANT_ACCESS_DOMAIN_INFO    1351L
  3994.  
  3995. //
  3996. // MessageId: ERROR_INVALID_SERVER_STATE
  3997. //
  3998. // MessageText:
  3999. //
  4000. //  The security account manager (SAM) or local security
  4001. //  authority (LSA) server was in the wrong state to perform
  4002. //  the security operation.
  4003. //
  4004. #define ERROR_INVALID_SERVER_STATE       1352L
  4005.  
  4006. //
  4007. // MessageId: ERROR_INVALID_DOMAIN_STATE
  4008. //
  4009. // MessageText:
  4010. //
  4011. //  The domain was in the wrong state to perform the security operation.
  4012. //
  4013. #define ERROR_INVALID_DOMAIN_STATE       1353L
  4014.  
  4015. //
  4016. // MessageId: ERROR_INVALID_DOMAIN_ROLE
  4017. //
  4018. // MessageText:
  4019. //
  4020. //  This operation is only allowed for the Primary Domain Controller of the domain.
  4021. //
  4022. #define ERROR_INVALID_DOMAIN_ROLE        1354L
  4023.  
  4024. //
  4025. // MessageId: ERROR_NO_SUCH_DOMAIN
  4026. //
  4027. // MessageText:
  4028. //
  4029. //  The specified domain did not exist.
  4030. //
  4031. #define ERROR_NO_SUCH_DOMAIN             1355L
  4032.  
  4033. //
  4034. // MessageId: ERROR_DOMAIN_EXISTS
  4035. //
  4036. // MessageText:
  4037. //
  4038. //  The specified domain already exists.
  4039. //
  4040. #define ERROR_DOMAIN_EXISTS              1356L
  4041.  
  4042. //
  4043. // MessageId: ERROR_DOMAIN_LIMIT_EXCEEDED
  4044. //
  4045. // MessageText:
  4046. //
  4047. //  An attempt was made to exceed the limit on the number of domains per server.
  4048. //
  4049. #define ERROR_DOMAIN_LIMIT_EXCEEDED      1357L
  4050.  
  4051. //
  4052. // MessageId: ERROR_INTERNAL_DB_CORRUPTION
  4053. //
  4054. // MessageText:
  4055. //
  4056. //  Unable to complete the requested operation because of either a
  4057. //  catastrophic media failure or a data structure corruption on the disk.
  4058. //
  4059. #define ERROR_INTERNAL_DB_CORRUPTION     1358L
  4060.  
  4061. //
  4062. // MessageId: ERROR_INTERNAL_ERROR
  4063. //
  4064. // MessageText:
  4065. //
  4066. //  The security account database contains an internal inconsistency.
  4067. //
  4068. #define ERROR_INTERNAL_ERROR             1359L
  4069.  
  4070. //
  4071. // MessageId: ERROR_GENERIC_NOT_MAPPED
  4072. //
  4073. // MessageText:
  4074. //
  4075. //  Generic access types were contained in an access mask which should
  4076. //  already be mapped to nongeneric types.
  4077. //
  4078. #define ERROR_GENERIC_NOT_MAPPED         1360L
  4079.  
  4080. //
  4081. // MessageId: ERROR_BAD_DESCRIPTOR_FORMAT
  4082. //
  4083. // MessageText:
  4084. //
  4085. //  A security descriptor is not in the right format (absolute or self-relative).
  4086. //
  4087. #define ERROR_BAD_DESCRIPTOR_FORMAT      1361L
  4088.  
  4089. //
  4090. // MessageId: ERROR_NOT_LOGON_PROCESS
  4091. //
  4092. // MessageText:
  4093. //
  4094. //  The requested action is restricted for use by logon processes
  4095. //  only.  The calling process has not registered as a logon process.
  4096. //
  4097. #define ERROR_NOT_LOGON_PROCESS          1362L
  4098.  
  4099. //
  4100. // MessageId: ERROR_LOGON_SESSION_EXISTS
  4101. //
  4102. // MessageText:
  4103. //
  4104. //  Cannot start a new logon session with an ID that is already in use.
  4105. //
  4106. #define ERROR_LOGON_SESSION_EXISTS       1363L
  4107.  
  4108. //
  4109. // MessageId: ERROR_NO_SUCH_PACKAGE
  4110. //
  4111. // MessageText:
  4112. //
  4113. //  A specified authentication package is unknown.
  4114. //
  4115. #define ERROR_NO_SUCH_PACKAGE            1364L
  4116.  
  4117. //
  4118. // MessageId: ERROR_BAD_LOGON_SESSION_STATE
  4119. //
  4120. // MessageText:
  4121. //
  4122. //  The logon session is not in a state that is consistent with the
  4123. //  requested operation.
  4124. //
  4125. #define ERROR_BAD_LOGON_SESSION_STATE    1365L
  4126.  
  4127. //
  4128. // MessageId: ERROR_LOGON_SESSION_COLLISION
  4129. //
  4130. // MessageText:
  4131. //
  4132. //  The logon session ID is already in use.
  4133. //
  4134. #define ERROR_LOGON_SESSION_COLLISION    1366L
  4135.  
  4136. //
  4137. // MessageId: ERROR_INVALID_LOGON_TYPE
  4138. //
  4139. // MessageText:
  4140. //
  4141. //  A logon request contained an invalid logon type value.
  4142. //
  4143. #define ERROR_INVALID_LOGON_TYPE         1367L
  4144.  
  4145. //
  4146. // MessageId: ERROR_CANNOT_IMPERSONATE
  4147. //
  4148. // MessageText:
  4149. //
  4150. //  Unable to impersonate using a named pipe until data has been read
  4151. //  from that pipe.
  4152. //
  4153. #define ERROR_CANNOT_IMPERSONATE         1368L
  4154.  
  4155. //
  4156. // MessageId: ERROR_RXACT_INVALID_STATE
  4157. //
  4158. // MessageText:
  4159. //
  4160. //  The transaction state of a registry subtree is incompatible with the
  4161. //  requested operation.
  4162. //
  4163. #define ERROR_RXACT_INVALID_STATE        1369L
  4164.  
  4165. //
  4166. // MessageId: ERROR_RXACT_COMMIT_FAILURE
  4167. //
  4168. // MessageText:
  4169. //
  4170. //  An internal security database corruption has been encountered.
  4171. //
  4172. #define ERROR_RXACT_COMMIT_FAILURE       1370L
  4173.  
  4174. //
  4175. // MessageId: ERROR_SPECIAL_ACCOUNT
  4176. //
  4177. // MessageText:
  4178. //
  4179. //  Cannot perform this operation on built-in accounts.
  4180. //
  4181. #define ERROR_SPECIAL_ACCOUNT            1371L
  4182.  
  4183. //
  4184. // MessageId: ERROR_SPECIAL_GROUP
  4185. //
  4186. // MessageText:
  4187. //
  4188. //  Cannot perform this operation on this built-in special group.
  4189. //
  4190. #define ERROR_SPECIAL_GROUP              1372L
  4191.  
  4192. //
  4193. // MessageId: ERROR_SPECIAL_USER
  4194. //
  4195. // MessageText:
  4196. //
  4197. //  Cannot perform this operation on this built-in special user.
  4198. //
  4199. #define ERROR_SPECIAL_USER               1373L
  4200.  
  4201. //
  4202. // MessageId: ERROR_MEMBERS_PRIMARY_GROUP
  4203. //
  4204. // MessageText:
  4205. //
  4206. //  The user cannot be removed from a group because the group
  4207. //  is currently the user's primary group.
  4208. //
  4209. #define ERROR_MEMBERS_PRIMARY_GROUP      1374L
  4210.  
  4211. //
  4212. // MessageId: ERROR_TOKEN_ALREADY_IN_USE
  4213. //
  4214. // MessageText:
  4215. //
  4216. //  The token is already in use as a primary token.
  4217. //
  4218. #define ERROR_TOKEN_ALREADY_IN_USE       1375L
  4219.  
  4220. //
  4221. // MessageId: ERROR_NO_SUCH_ALIAS
  4222. //
  4223. // MessageText:
  4224. //
  4225. //  The specified local group does not exist.
  4226. //
  4227. #define ERROR_NO_SUCH_ALIAS              1376L
  4228.  
  4229. //
  4230. // MessageId: ERROR_MEMBER_NOT_IN_ALIAS
  4231. //
  4232. // MessageText:
  4233. //
  4234. //  The specified account name is not a member of the local group.
  4235. //
  4236. #define ERROR_MEMBER_NOT_IN_ALIAS        1377L
  4237.  
  4238. //
  4239. // MessageId: ERROR_MEMBER_IN_ALIAS
  4240. //
  4241. // MessageText:
  4242. //
  4243. //  The specified account name is already a member of the local group.
  4244. //
  4245. #define ERROR_MEMBER_IN_ALIAS            1378L
  4246.  
  4247. //
  4248. // MessageId: ERROR_ALIAS_EXISTS
  4249. //
  4250. // MessageText:
  4251. //
  4252. //  The specified local group already exists.
  4253. //
  4254. #define ERROR_ALIAS_EXISTS               1379L
  4255.  
  4256. //
  4257. // MessageId: ERROR_LOGON_NOT_GRANTED
  4258. //
  4259. // MessageText:
  4260. //
  4261. //  Logon failure: the user has not been granted the requested
  4262. //  logon type at this computer.
  4263. //
  4264. #define ERROR_LOGON_NOT_GRANTED          1380L
  4265.  
  4266. //
  4267. // MessageId: ERROR_TOO_MANY_SECRETS
  4268. //
  4269. // MessageText:
  4270. //
  4271. //  The maximum number of secrets that may be stored in a single system has been
  4272. //  exceeded.
  4273. //
  4274. #define ERROR_TOO_MANY_SECRETS           1381L
  4275.  
  4276. //
  4277. // MessageId: ERROR_SECRET_TOO_LONG
  4278. //
  4279. // MessageText:
  4280. //
  4281. //  The length of a secret exceeds the maximum length allowed.
  4282. //
  4283. #define ERROR_SECRET_TOO_LONG            1382L
  4284.  
  4285. //
  4286. // MessageId: ERROR_INTERNAL_DB_ERROR
  4287. //
  4288. // MessageText:
  4289. //
  4290. //  The local security authority database contains an internal inconsistency.
  4291. //
  4292. #define ERROR_INTERNAL_DB_ERROR          1383L
  4293.  
  4294. //
  4295. // MessageId: ERROR_TOO_MANY_CONTEXT_IDS
  4296. //
  4297. // MessageText:
  4298. //
  4299. //  During a logon attempt, the user's security context accumulated too many
  4300. //  security IDs.
  4301. //
  4302. #define ERROR_TOO_MANY_CONTEXT_IDS       1384L
  4303.  
  4304. //
  4305. // MessageId: ERROR_LOGON_TYPE_NOT_GRANTED
  4306. //
  4307. // MessageText:
  4308. //
  4309. //  Logon failure: the user has not been granted the requested logon type
  4310. //  at this computer.
  4311. //
  4312. #define ERROR_LOGON_TYPE_NOT_GRANTED     1385L
  4313.  
  4314. //
  4315. // MessageId: ERROR_NT_CROSS_ENCRYPTION_REQUIRED
  4316. //
  4317. // MessageText:
  4318. //
  4319. //  A cross-encrypted password is necessary to change a user password.
  4320. //
  4321. #define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386L
  4322.  
  4323. //
  4324. // MessageId: ERROR_NO_SUCH_MEMBER
  4325. //
  4326. // MessageText:
  4327. //
  4328. //  A new member could not be added to a local group because the member does
  4329. //  not exist.
  4330. //
  4331. #define ERROR_NO_SUCH_MEMBER             1387L
  4332.  
  4333. //
  4334. // MessageId: ERROR_INVALID_MEMBER
  4335. //
  4336. // MessageText:
  4337. //
  4338. //  A new member could not be added to a local group because the member has the
  4339. //  wrong account type.
  4340. //
  4341. #define ERROR_INVALID_MEMBER             1388L
  4342.  
  4343. //
  4344. // MessageId: ERROR_TOO_MANY_SIDS
  4345. //
  4346. // MessageText:
  4347. //
  4348. //  Too many security IDs have been specified.
  4349. //
  4350. #define ERROR_TOO_MANY_SIDS              1389L
  4351.  
  4352. //
  4353. // MessageId: ERROR_LM_CROSS_ENCRYPTION_REQUIRED
  4354. //
  4355. // MessageText:
  4356. //
  4357. //  A cross-encrypted password is necessary to change this user password.
  4358. //
  4359. #define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390L
  4360.  
  4361. //
  4362. // MessageId: ERROR_NO_INHERITANCE
  4363. //
  4364. // MessageText:
  4365. //
  4366. //  Indicates an ACL contains no inheritable components.
  4367. //
  4368. #define ERROR_NO_INHERITANCE             1391L
  4369.  
  4370. //
  4371. // MessageId: ERROR_FILE_CORRUPT
  4372. //
  4373. // MessageText:
  4374. //
  4375. //  The file or directory is corrupted and unreadable.
  4376. //
  4377. #define ERROR_FILE_CORRUPT               1392L
  4378.  
  4379. //
  4380. // MessageId: ERROR_DISK_CORRUPT
  4381. //
  4382. // MessageText:
  4383. //
  4384. //  The disk structure is corrupted and unreadable.
  4385. //
  4386. #define ERROR_DISK_CORRUPT               1393L
  4387.  
  4388. //
  4389. // MessageId: ERROR_NO_USER_SESSION_KEY
  4390. //
  4391. // MessageText:
  4392. //
  4393. //  There is no user session key for the specified logon session.
  4394. //
  4395. #define ERROR_NO_USER_SESSION_KEY        1394L
  4396.  
  4397. //
  4398. // MessageId: ERROR_LICENSE_QUOTA_EXCEEDED
  4399. //
  4400. // MessageText:
  4401. //
  4402. //  The service being accessed is licensed for a particular number of connections.
  4403. //  No more connections can be made to the service at this time
  4404. //  because there are already as many connections as the service can accept.
  4405. //
  4406. #define ERROR_LICENSE_QUOTA_EXCEEDED     1395L
  4407.  
  4408. // End of security error codes
  4409.  
  4410.  
  4411.  
  4412. ///////////////////////////
  4413. //                       //
  4414. // WinUser Error Codes   //
  4415. //                       //
  4416. ///////////////////////////
  4417.  
  4418.  
  4419. //
  4420. // MessageId: ERROR_INVALID_WINDOW_HANDLE
  4421. //
  4422. // MessageText:
  4423. //
  4424. //  Invalid window handle.
  4425. //
  4426. #define ERROR_INVALID_WINDOW_HANDLE      1400L
  4427.  
  4428. //
  4429. // MessageId: ERROR_INVALID_MENU_HANDLE
  4430. //
  4431. // MessageText:
  4432. //
  4433. //  Invalid menu handle.
  4434. //
  4435. #define ERROR_INVALID_MENU_HANDLE        1401L
  4436.  
  4437. //
  4438. // MessageId: ERROR_INVALID_CURSOR_HANDLE
  4439. //
  4440. // MessageText:
  4441. //
  4442. //  Invalid cursor handle.
  4443. //
  4444. #define ERROR_INVALID_CURSOR_HANDLE      1402L
  4445.  
  4446. //
  4447. // MessageId: ERROR_INVALID_ACCEL_HANDLE
  4448. //
  4449. // MessageText:
  4450. //
  4451. //  Invalid accelerator table handle.
  4452. //
  4453. #define ERROR_INVALID_ACCEL_HANDLE       1403L
  4454.  
  4455. //
  4456. // MessageId: ERROR_INVALID_HOOK_HANDLE
  4457. //
  4458. // MessageText:
  4459. //
  4460. //  Invalid hook handle.
  4461. //
  4462. #define ERROR_INVALID_HOOK_HANDLE        1404L
  4463.  
  4464. //
  4465. // MessageId: ERROR_INVALID_DWP_HANDLE
  4466. //
  4467. // MessageText:
  4468. //
  4469. //  Invalid handle to a multiple-window position structure.
  4470. //
  4471. #define ERROR_INVALID_DWP_HANDLE         1405L
  4472.  
  4473. //
  4474. // MessageId: ERROR_TLW_WITH_WSCHILD
  4475. //
  4476. // MessageText:
  4477. //
  4478. //  Cannot create a top-level child window.
  4479. //
  4480. #define ERROR_TLW_WITH_WSCHILD           1406L
  4481.  
  4482. //
  4483. // MessageId: ERROR_CANNOT_FIND_WND_CLASS
  4484. //
  4485. // MessageText:
  4486. //
  4487. //  Cannot find window class.
  4488. //
  4489. #define ERROR_CANNOT_FIND_WND_CLASS      1407L
  4490.  
  4491. //
  4492. // MessageId: ERROR_WINDOW_OF_OTHER_THREAD
  4493. //
  4494. // MessageText:
  4495. //
  4496. //  Invalid window; it belongs to other thread.
  4497. //
  4498. #define ERROR_WINDOW_OF_OTHER_THREAD     1408L
  4499.  
  4500. //
  4501. // MessageId: ERROR_HOTKEY_ALREADY_REGISTERED
  4502. //
  4503. // MessageText:
  4504. //
  4505. //  Hot key is already registered.
  4506. //
  4507. #define ERROR_HOTKEY_ALREADY_REGISTERED  1409L
  4508.  
  4509. //
  4510. // MessageId: ERROR_CLASS_ALREADY_EXISTS
  4511. //
  4512. // MessageText:
  4513. //
  4514. //  Class already exists.
  4515. //
  4516. #define ERROR_CLASS_ALREADY_EXISTS       1410L
  4517.  
  4518. //
  4519. // MessageId: ERROR_CLASS_DOES_NOT_EXIST
  4520. //
  4521. // MessageText:
  4522. //
  4523. //  Class does not exist.
  4524. //
  4525. #define ERROR_CLASS_DOES_NOT_EXIST       1411L
  4526.  
  4527. //
  4528. // MessageId: ERROR_CLASS_HAS_WINDOWS
  4529. //
  4530. // MessageText:
  4531. //
  4532. //  Class still has open windows.
  4533. //
  4534. #define ERROR_CLASS_HAS_WINDOWS          1412L
  4535.  
  4536. //
  4537. // MessageId: ERROR_INVALID_INDEX
  4538. //
  4539. // MessageText:
  4540. //
  4541. //  Invalid index.
  4542. //
  4543. #define ERROR_INVALID_INDEX              1413L
  4544.  
  4545. //
  4546. // MessageId: ERROR_INVALID_ICON_HANDLE
  4547. //
  4548. // MessageText:
  4549. //
  4550. //  Invalid icon handle.
  4551. //
  4552. #define ERROR_INVALID_ICON_HANDLE        1414L
  4553.  
  4554. //
  4555. // MessageId: ERROR_PRIVATE_DIALOG_INDEX
  4556. //
  4557. // MessageText:
  4558. //
  4559. //  Using private DIALOG window words.
  4560. //
  4561. #define ERROR_PRIVATE_DIALOG_INDEX       1415L
  4562.  
  4563. //
  4564. // MessageId: ERROR_LISTBOX_ID_NOT_FOUND
  4565. //
  4566. // MessageText:
  4567. //
  4568. //  The list box identifier was not found.
  4569. //
  4570. #define ERROR_LISTBOX_ID_NOT_FOUND       1416L
  4571.  
  4572. //
  4573. // MessageId: ERROR_NO_WILDCARD_CHARACTERS
  4574. //
  4575. // MessageText:
  4576. //
  4577. //  No wildcards were found.
  4578. //
  4579. #define ERROR_NO_WILDCARD_CHARACTERS     1417L
  4580.  
  4581. //
  4582. // MessageId: ERROR_CLIPBOARD_NOT_OPEN
  4583. //
  4584. // MessageText:
  4585. //
  4586. //  Thread does not have a clipboard open.
  4587. //
  4588. #define ERROR_CLIPBOARD_NOT_OPEN         1418L
  4589.  
  4590. //
  4591. // MessageId: ERROR_HOTKEY_NOT_REGISTERED
  4592. //
  4593. // MessageText:
  4594. //
  4595. //  Hot key is not registered.
  4596. //
  4597. #define ERROR_HOTKEY_NOT_REGISTERED      1419L
  4598.  
  4599. //
  4600. // MessageId: ERROR_WINDOW_NOT_DIALOG
  4601. //
  4602. // MessageText:
  4603. //
  4604. //  The window is not a valid dialog window.
  4605. //
  4606. #define ERROR_WINDOW_NOT_DIALOG          1420L
  4607.  
  4608. //
  4609. // MessageId: ERROR_CONTROL_ID_NOT_FOUND
  4610. //
  4611. // MessageText:
  4612. //
  4613. //  Control ID not found.
  4614. //
  4615. #define ERROR_CONTROL_ID_NOT_FOUND       1421L
  4616.  
  4617. //
  4618. // MessageId: ERROR_INVALID_COMBOBOX_MESSAGE
  4619. //
  4620. // MessageText:
  4621. //
  4622. //  Invalid message for a combo box because it does not have an edit control.
  4623. //
  4624. #define ERROR_INVALID_COMBOBOX_MESSAGE   1422L
  4625.  
  4626. //
  4627. // MessageId: ERROR_WINDOW_NOT_COMBOBOX
  4628. //
  4629. // MessageText:
  4630. //
  4631. //  The window is not a combo box.
  4632. //
  4633. #define ERROR_WINDOW_NOT_COMBOBOX        1423L
  4634.  
  4635. //
  4636. // MessageId: ERROR_INVALID_EDIT_HEIGHT
  4637. //
  4638. // MessageText:
  4639. //
  4640. //  Height must be less than 256.
  4641. //
  4642. #define ERROR_INVALID_EDIT_HEIGHT        1424L
  4643.  
  4644. //
  4645. // MessageId: ERROR_DC_NOT_FOUND
  4646. //
  4647. // MessageText:
  4648. //
  4649. //  Invalid device context (DC) handle.
  4650. //
  4651. #define ERROR_DC_NOT_FOUND               1425L
  4652.  
  4653. //
  4654. // MessageId: ERROR_INVALID_HOOK_FILTER
  4655. //
  4656. // MessageText:
  4657. //
  4658. //  Invalid hook procedure type.
  4659. //
  4660. #define ERROR_INVALID_HOOK_FILTER        1426L
  4661.  
  4662. //
  4663. // MessageId: ERROR_INVALID_FILTER_PROC
  4664. //
  4665. // MessageText:
  4666. //
  4667. //  Invalid hook procedure.
  4668. //
  4669. #define ERROR_INVALID_FILTER_PROC        1427L
  4670.  
  4671. //
  4672. // MessageId: ERROR_HOOK_NEEDS_HMOD
  4673. //
  4674. // MessageText:
  4675. //
  4676. //  Cannot set nonlocal hook without a module handle.
  4677. //
  4678. #define ERROR_HOOK_NEEDS_HMOD            1428L
  4679.  
  4680. //
  4681. // MessageId: ERROR_GLOBAL_ONLY_HOOK
  4682. //
  4683. // MessageText:
  4684. //
  4685. //  This hook procedure can only be set globally.
  4686. //
  4687. #define ERROR_GLOBAL_ONLY_HOOK           1429L
  4688.  
  4689. //
  4690. // MessageId: ERROR_JOURNAL_HOOK_SET
  4691. //
  4692. // MessageText:
  4693. //
  4694. //  The journal hook procedure is already installed.
  4695. //
  4696. #define ERROR_JOURNAL_HOOK_SET           1430L
  4697.  
  4698. //
  4699. // MessageId: ERROR_HOOK_NOT_INSTALLED
  4700. //
  4701. // MessageText:
  4702. //
  4703. //  The hook procedure is not installed.
  4704. //
  4705. #define ERROR_HOOK_NOT_INSTALLED         1431L
  4706.  
  4707. //
  4708. // MessageId: ERROR_INVALID_LB_MESSAGE
  4709. //
  4710. // MessageText:
  4711. //
  4712. //  Invalid message for single-selection list box.
  4713. //
  4714. #define ERROR_INVALID_LB_MESSAGE         1432L
  4715.  
  4716. //
  4717. // MessageId: ERROR_SETCOUNT_ON_BAD_LB
  4718. //
  4719. // MessageText:
  4720. //
  4721. //  LB_SETCOUNT sent to non-lazy list box.
  4722. //
  4723. #define ERROR_SETCOUNT_ON_BAD_LB         1433L
  4724.  
  4725. //
  4726. // MessageId: ERROR_LB_WITHOUT_TABSTOPS
  4727. //
  4728. // MessageText:
  4729. //
  4730. //  This list box does not support tab stops.
  4731. //
  4732. #define ERROR_LB_WITHOUT_TABSTOPS        1434L
  4733.  
  4734. //
  4735. // MessageId: ERROR_DESTROY_OBJECT_OF_OTHER_THREAD
  4736. //
  4737. // MessageText:
  4738. //
  4739. //  Cannot destroy object created by another thread.
  4740. //
  4741. #define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435L
  4742.  
  4743. //
  4744. // MessageId: ERROR_CHILD_WINDOW_MENU
  4745. //
  4746. // MessageText:
  4747. //
  4748. //  Child windows cannot have menus.
  4749. //
  4750. #define ERROR_CHILD_WINDOW_MENU          1436L
  4751.  
  4752. //
  4753. // MessageId: ERROR_NO_SYSTEM_MENU
  4754. //
  4755. // MessageText:
  4756. //
  4757. //  The window does not have a system menu.
  4758. //
  4759. #define ERROR_NO_SYSTEM_MENU             1437L
  4760.  
  4761. //
  4762. // MessageId: ERROR_INVALID_MSGBOX_STYLE
  4763. //
  4764. // MessageText:
  4765. //
  4766. //  Invalid message box style.
  4767. //
  4768. #define ERROR_INVALID_MSGBOX_STYLE       1438L
  4769.  
  4770. //
  4771. // MessageId: ERROR_INVALID_SPI_VALUE
  4772. //
  4773. // MessageText:
  4774. //
  4775. //  Invalid system-wide (SPI_*) parameter.
  4776. //
  4777. #define ERROR_INVALID_SPI_VALUE          1439L
  4778.  
  4779. //
  4780. // MessageId: ERROR_SCREEN_ALREADY_LOCKED
  4781. //
  4782. // MessageText:
  4783. //
  4784. //  Screen already locked.
  4785. //
  4786. #define ERROR_SCREEN_ALREADY_LOCKED      1440L
  4787.  
  4788. //
  4789. // MessageId: ERROR_HWNDS_HAVE_DIFF_PARENT
  4790. //
  4791. // MessageText:
  4792. //
  4793. //  All handles to windows in a multiple-window position structure must
  4794. //  have the same parent.
  4795. //
  4796. #define ERROR_HWNDS_HAVE_DIFF_PARENT     1441L
  4797.  
  4798. //
  4799. // MessageId: ERROR_NOT_CHILD_WINDOW
  4800. //
  4801. // MessageText:
  4802. //
  4803. //  The window is not a child window.
  4804. //
  4805. #define ERROR_NOT_CHILD_WINDOW           1442L
  4806.  
  4807. //
  4808. // MessageId: ERROR_INVALID_GW_COMMAND
  4809. //
  4810. // MessageText:
  4811. //
  4812. //  Invalid GW_* command.
  4813. //
  4814. #define ERROR_INVALID_GW_COMMAND         1443L
  4815.  
  4816. //
  4817. // MessageId: ERROR_INVALID_THREAD_ID
  4818. //
  4819. // MessageText:
  4820. //
  4821. //  Invalid thread identifier.
  4822. //
  4823. #define ERROR_INVALID_THREAD_ID          1444L
  4824.  
  4825. //
  4826. // MessageId: ERROR_NON_MDICHILD_WINDOW
  4827. //
  4828. // MessageText:
  4829. //
  4830. //  Cannot process a message from a window that is not a multiple document
  4831. //  interface (MDI) window.
  4832. //
  4833. #define ERROR_NON_MDICHILD_WINDOW        1445L
  4834.  
  4835. //
  4836. // MessageId: ERROR_POPUP_ALREADY_ACTIVE
  4837. //
  4838. // MessageText:
  4839. //
  4840. //  Popup menu already active.
  4841. //
  4842. #define ERROR_POPUP_ALREADY_ACTIVE       1446L
  4843.  
  4844. //
  4845. // MessageId: ERROR_NO_SCROLLBARS
  4846. //
  4847. // MessageText:
  4848. //
  4849. //  The window does not have scroll bars.
  4850. //
  4851. #define ERROR_NO_SCROLLBARS              1447L
  4852.  
  4853. //
  4854. // MessageId: ERROR_INVALID_SCROLLBAR_RANGE
  4855. //
  4856. // MessageText:
  4857. //
  4858. //  Scroll bar range cannot be greater than 0x7FFF.
  4859. //
  4860. #define ERROR_INVALID_SCROLLBAR_RANGE    1448L
  4861.  
  4862. //
  4863. // MessageId: ERROR_INVALID_SHOWWIN_COMMAND
  4864. //
  4865. // MessageText:
  4866. //
  4867. //  Cannot show or remove the window in the way specified.
  4868. //
  4869. #define ERROR_INVALID_SHOWWIN_COMMAND    1449L
  4870.  
  4871. //
  4872. // MessageId: ERROR_NO_SYSTEM_RESOURCES
  4873. //
  4874. // MessageText:
  4875. //
  4876. //  Insufficient system resources exist to complete the requested service.
  4877. //
  4878. #define ERROR_NO_SYSTEM_RESOURCES        1450L
  4879.  
  4880. //
  4881. // MessageId: ERROR_NONPAGED_SYSTEM_RESOURCES
  4882. //
  4883. // MessageText:
  4884. //
  4885. //  Insufficient system resources exist to complete the requested service.
  4886. //
  4887. #define ERROR_NONPAGED_SYSTEM_RESOURCES  1451L
  4888.  
  4889. //
  4890. // MessageId: ERROR_PAGED_SYSTEM_RESOURCES
  4891. //
  4892. // MessageText:
  4893. //
  4894. //  Insufficient system resources exist to complete the requested service.
  4895. //
  4896. #define ERROR_PAGED_SYSTEM_RESOURCES     1452L
  4897.  
  4898. //
  4899. // MessageId: ERROR_WORKING_SET_QUOTA
  4900. //
  4901. // MessageText:
  4902. //
  4903. //  Insufficient quota to complete the requested service.
  4904. //
  4905. #define ERROR_WORKING_SET_QUOTA          1453L
  4906.  
  4907. //
  4908. // MessageId: ERROR_PAGEFILE_QUOTA
  4909. //
  4910. // MessageText:
  4911. //
  4912. //  Insufficient quota to complete the requested service.
  4913. //
  4914. #define ERROR_PAGEFILE_QUOTA             1454L
  4915.  
  4916. //
  4917. // MessageId: ERROR_COMMITMENT_LIMIT
  4918. //
  4919. // MessageText:
  4920. //
  4921. //  The paging file is too small for this operation to complete.
  4922. //
  4923. #define ERROR_COMMITMENT_LIMIT           1455L
  4924.  
  4925. //
  4926. // MessageId: ERROR_MENU_ITEM_NOT_FOUND
  4927. //
  4928. // MessageText:
  4929. //
  4930. //  A menu item was not found.
  4931. //
  4932. #define ERROR_MENU_ITEM_NOT_FOUND        1456L
  4933.  
  4934. //
  4935. // MessageId: ERROR_INVALID_KEYBOARD_HANDLE
  4936. //
  4937. // MessageText:
  4938. //
  4939. //  Invalid keyboard layout handle.
  4940. //
  4941. #define ERROR_INVALID_KEYBOARD_HANDLE    1457L
  4942.  
  4943. //
  4944. // MessageId: ERROR_HOOK_TYPE_NOT_ALLOWED
  4945. //
  4946. // MessageText:
  4947. //
  4948. //  Hook type not allowed.
  4949. //
  4950. #define ERROR_HOOK_TYPE_NOT_ALLOWED      1458L
  4951.  
  4952. //
  4953. // MessageId: ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION
  4954. //
  4955. // MessageText:
  4956. //
  4957. //  This operation requires an interactive window station.
  4958. //
  4959. #define ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION 1459L
  4960.  
  4961. //
  4962. // MessageId: ERROR_TIMEOUT
  4963. //
  4964. // MessageText:
  4965. //
  4966. //  This operation returned because the timeout period expired.
  4967. //
  4968. #define ERROR_TIMEOUT                    1460L
  4969.  
  4970. //
  4971. // MessageId: ERROR_INVALID_MONITOR_HANDLE
  4972. //
  4973. // MessageText:
  4974. //
  4975. //  Invalid monitor handle.
  4976. //
  4977. #define ERROR_INVALID_MONITOR_HANDLE     1461L
  4978.  
  4979. // End of WinUser error codes
  4980.  
  4981.  
  4982.  
  4983. ///////////////////////////
  4984. //                       //
  4985. // Eventlog Status Codes //
  4986. //                       //
  4987. ///////////////////////////
  4988.  
  4989.  
  4990. //
  4991. // MessageId: ERROR_EVENTLOG_FILE_CORRUPT
  4992. //
  4993. // MessageText:
  4994. //
  4995. //  The event log file is corrupted.
  4996. //
  4997. #define ERROR_EVENTLOG_FILE_CORRUPT      1500L
  4998.  
  4999. //
  5000. // MessageId: ERROR_EVENTLOG_CANT_START
  5001. //
  5002. // MessageText:
  5003. //
  5004. //  No event log file could be opened, so the event logging service did not start.
  5005. //
  5006. #define ERROR_EVENTLOG_CANT_START        1501L
  5007.  
  5008. //
  5009. // MessageId: ERROR_LOG_FILE_FULL
  5010. //
  5011. // MessageText:
  5012. //
  5013. //  The event log file is full.
  5014. //
  5015. #define ERROR_LOG_FILE_FULL              1502L
  5016.  
  5017. //
  5018. // MessageId: ERROR_EVENTLOG_FILE_CHANGED
  5019. //
  5020. // MessageText:
  5021. //
  5022. //  The event log file has changed between read operations.
  5023. //
  5024. #define ERROR_EVENTLOG_FILE_CHANGED      1503L
  5025.  
  5026. // End of eventlog error codes
  5027.  
  5028.  
  5029.  
  5030. ///////////////////////////
  5031. //                       //
  5032. // MSI Error Codes       //
  5033. //                       //
  5034. ///////////////////////////
  5035.  
  5036.  
  5037. //
  5038. // MessageId: ERROR_INSTALL_SERVICE
  5039. //
  5040. // MessageText:
  5041. //
  5042. //  Failure accessing install service.
  5043. //
  5044. #define ERROR_INSTALL_SERVICE            1601L
  5045.  
  5046. //
  5047. // MessageId: ERROR_INSTALL_USEREXIT
  5048. //
  5049. // MessageText:
  5050. //
  5051. //  The user canceled the installation.
  5052. //
  5053. #define ERROR_INSTALL_USEREXIT           1602L
  5054.  
  5055. //
  5056. // MessageId: ERROR_INSTALL_FAILURE
  5057. //
  5058. // MessageText:
  5059. //
  5060. //  Fatal error during installation.
  5061. //
  5062. #define ERROR_INSTALL_FAILURE            1603L
  5063.  
  5064. //
  5065. // MessageId: ERROR_INSTALL_SUSPEND
  5066. //
  5067. // MessageText:
  5068. //
  5069. //  Installation suspended, incomplete.
  5070. //
  5071. #define ERROR_INSTALL_SUSPEND            1604L
  5072.  
  5073. //
  5074. // MessageId: ERROR_UNKNOWN_PRODUCT
  5075. //
  5076. // MessageText:
  5077. //
  5078. //  Product code not registered.
  5079. //
  5080. #define ERROR_UNKNOWN_PRODUCT            1605L
  5081.  
  5082. //
  5083. // MessageId: ERROR_UNKNOWN_FEATURE
  5084. //
  5085. // MessageText:
  5086. //
  5087. //  Feature ID not registered.
  5088. //
  5089. #define ERROR_UNKNOWN_FEATURE            1606L
  5090.  
  5091. //
  5092. // MessageId: ERROR_UNKNOWN_COMPONENT
  5093. //
  5094. // MessageText:
  5095. //
  5096. //  Component ID not registered.
  5097. //
  5098. #define ERROR_UNKNOWN_COMPONENT          1607L
  5099.  
  5100. //
  5101. // MessageId: ERROR_UNKNOWN_PROPERTY
  5102. //
  5103. // MessageText:
  5104. //
  5105. //  Unknown property.
  5106. //
  5107. #define ERROR_UNKNOWN_PROPERTY           1608L
  5108.  
  5109. //
  5110. // MessageId: ERROR_INVALID_HANDLE_STATE
  5111. //
  5112. // MessageText:
  5113. //
  5114. //  Handle is in an invalid state.
  5115. //
  5116. #define ERROR_INVALID_HANDLE_STATE       1609L
  5117.  
  5118. //
  5119. // MessageId: ERROR_BAD_CONFIGURATION
  5120. //
  5121. // MessageText:
  5122. //
  5123. //  Configuration data corrupt.
  5124. //
  5125. #define ERROR_BAD_CONFIGURATION          1610L
  5126.  
  5127. //
  5128. // MessageId: ERROR_INDEX_ABSENT
  5129. //
  5130. // MessageText:
  5131. //
  5132. //  Language not available.
  5133. //
  5134. #define ERROR_INDEX_ABSENT               1611L
  5135.  
  5136. //
  5137. // MessageId: ERROR_INSTALL_SOURCE_ABSENT
  5138. //
  5139. // MessageText:
  5140. //
  5141. //  Install source unavailable.
  5142. //
  5143. #define ERROR_INSTALL_SOURCE_ABSENT      1612L
  5144.  
  5145. //
  5146. // MessageId: ERROR_BAD_DATABASE_VERSION
  5147. //
  5148. // MessageText:
  5149. //
  5150. //  Database version unsupported.
  5151. //
  5152. #define ERROR_BAD_DATABASE_VERSION       1613L
  5153.  
  5154. //
  5155. // MessageId: ERROR_PRODUCT_UNINSTALLED
  5156. //
  5157. // MessageText:
  5158. //
  5159. //  Product is uninstalled.
  5160. //
  5161. #define ERROR_PRODUCT_UNINSTALLED        1614L
  5162.  
  5163. //
  5164. // MessageId: ERROR_BAD_QUERY_SYNTAX
  5165. //
  5166. // MessageText:
  5167. //
  5168. //  SQL query syntax invalid or unsupported.
  5169. //
  5170. #define ERROR_BAD_QUERY_SYNTAX           1615L
  5171.  
  5172. //
  5173. // MessageId: ERROR_INVALID_FIELD
  5174. //
  5175. // MessageText:
  5176. //
  5177. //  Record field does not exist.
  5178. //
  5179. #define ERROR_INVALID_FIELD              1616L
  5180.  
  5181. // End of MSI error codes
  5182.  
  5183.  
  5184.  
  5185. ///////////////////////////
  5186. //                       //
  5187. //   RPC Status Codes    //
  5188. //                       //
  5189. ///////////////////////////
  5190.  
  5191.  
  5192. //
  5193. // MessageId: RPC_S_INVALID_STRING_BINDING
  5194. //
  5195. // MessageText:
  5196. //
  5197. //  The string binding is invalid.
  5198. //
  5199. #define RPC_S_INVALID_STRING_BINDING     1700L
  5200.  
  5201. //
  5202. // MessageId: RPC_S_WRONG_KIND_OF_BINDING
  5203. //
  5204. // MessageText:
  5205. //
  5206. //  The binding handle is not the correct type.
  5207. //
  5208. #define RPC_S_WRONG_KIND_OF_BINDING      1701L
  5209.  
  5210. //
  5211. // MessageId: RPC_S_INVALID_BINDING
  5212. //
  5213. // MessageText:
  5214. //
  5215. //  The binding handle is invalid.
  5216. //
  5217. #define RPC_S_INVALID_BINDING            1702L
  5218.  
  5219. //
  5220. // MessageId: RPC_S_PROTSEQ_NOT_SUPPORTED
  5221. //
  5222. // MessageText:
  5223. //
  5224. //  The RPC protocol sequence is not supported.
  5225. //
  5226. #define RPC_S_PROTSEQ_NOT_SUPPORTED      1703L
  5227.  
  5228. //
  5229. // MessageId: RPC_S_INVALID_RPC_PROTSEQ
  5230. //
  5231. // MessageText:
  5232. //
  5233. //  The RPC protocol sequence is invalid.
  5234. //
  5235. #define RPC_S_INVALID_RPC_PROTSEQ        1704L
  5236.  
  5237. //
  5238. // MessageId: RPC_S_INVALID_STRING_UUID
  5239. //
  5240. // MessageText:
  5241. //
  5242. //  The string universal unique identifier (UUID) is invalid.
  5243. //
  5244. #define RPC_S_INVALID_STRING_UUID        1705L
  5245.  
  5246. //
  5247. // MessageId: RPC_S_INVALID_ENDPOINT_FORMAT
  5248. //
  5249. // MessageText:
  5250. //
  5251. //  The endpoint format is invalid.
  5252. //
  5253. #define RPC_S_INVALID_ENDPOINT_FORMAT    1706L
  5254.  
  5255. //
  5256. // MessageId: RPC_S_INVALID_NET_ADDR
  5257. //
  5258. // MessageText:
  5259. //
  5260. //  The network address is invalid.
  5261. //
  5262. #define RPC_S_INVALID_NET_ADDR           1707L
  5263.  
  5264. //
  5265. // MessageId: RPC_S_NO_ENDPOINT_FOUND
  5266. //
  5267. // MessageText:
  5268. //
  5269. //  No endpoint was found.
  5270. //
  5271. #define RPC_S_NO_ENDPOINT_FOUND          1708L
  5272.  
  5273. //
  5274. // MessageId: RPC_S_INVALID_TIMEOUT
  5275. //
  5276. // MessageText:
  5277. //
  5278. //  The timeout value is invalid.
  5279. //
  5280. #define RPC_S_INVALID_TIMEOUT            1709L
  5281.  
  5282. //
  5283. // MessageId: RPC_S_OBJECT_NOT_FOUND
  5284. //
  5285. // MessageText:
  5286. //
  5287. //  The object universal unique identifier (UUID) was not found.
  5288. //
  5289. #define RPC_S_OBJECT_NOT_FOUND           1710L
  5290.  
  5291. //
  5292. // MessageId: RPC_S_ALREADY_REGISTERED
  5293. //
  5294. // MessageText:
  5295. //
  5296. //  The object universal unique identifier (UUID) has already been registered.
  5297. //
  5298. #define RPC_S_ALREADY_REGISTERED         1711L
  5299.  
  5300. //
  5301. // MessageId: RPC_S_TYPE_ALREADY_REGISTERED
  5302. //
  5303. // MessageText:
  5304. //
  5305. //  The type universal unique identifier (UUID) has already been registered.
  5306. //
  5307. #define RPC_S_TYPE_ALREADY_REGISTERED    1712L
  5308.  
  5309. //
  5310. // MessageId: RPC_S_ALREADY_LISTENING
  5311. //
  5312. // MessageText:
  5313. //
  5314. //  The RPC server is already listening.
  5315. //
  5316. #define RPC_S_ALREADY_LISTENING          1713L
  5317.  
  5318. //
  5319. // MessageId: RPC_S_NO_PROTSEQS_REGISTERED
  5320. //
  5321. // MessageText:
  5322. //
  5323. //  No protocol sequences have been registered.
  5324. //
  5325. #define RPC_S_NO_PROTSEQS_REGISTERED     1714L
  5326.  
  5327. //
  5328. // MessageId: RPC_S_NOT_LISTENING
  5329. //
  5330. // MessageText:
  5331. //
  5332. //  The RPC server is not listening.
  5333. //
  5334. #define RPC_S_NOT_LISTENING              1715L
  5335.  
  5336. //
  5337. // MessageId: RPC_S_UNKNOWN_MGR_TYPE
  5338. //
  5339. // MessageText:
  5340. //
  5341. //  The manager type is unknown.
  5342. //
  5343. #define RPC_S_UNKNOWN_MGR_TYPE           1716L
  5344.  
  5345. //
  5346. // MessageId: RPC_S_UNKNOWN_IF
  5347. //
  5348. // MessageText:
  5349. //
  5350. //  The interface is unknown.
  5351. //
  5352. #define RPC_S_UNKNOWN_IF                 1717L
  5353.  
  5354. //
  5355. // MessageId: RPC_S_NO_BINDINGS
  5356. //
  5357. // MessageText:
  5358. //
  5359. //  There are no bindings.
  5360. //
  5361. #define RPC_S_NO_BINDINGS                1718L
  5362.  
  5363. //
  5364. // MessageId: RPC_S_NO_PROTSEQS
  5365. //
  5366. // MessageText:
  5367. //
  5368. //  There are no protocol sequences.
  5369. //
  5370. #define RPC_S_NO_PROTSEQS                1719L
  5371.  
  5372. //
  5373. // MessageId: RPC_S_CANT_CREATE_ENDPOINT
  5374. //
  5375. // MessageText:
  5376. //
  5377. //  The endpoint cannot be created.
  5378. //
  5379. #define RPC_S_CANT_CREATE_ENDPOINT       1720L
  5380.  
  5381. //
  5382. // MessageId: RPC_S_OUT_OF_RESOURCES
  5383. //
  5384. // MessageText:
  5385. //
  5386. //  Not enough resources are available to complete this operation.
  5387. //
  5388. #define RPC_S_OUT_OF_RESOURCES           1721L
  5389.  
  5390. //
  5391. // MessageId: RPC_S_SERVER_UNAVAILABLE
  5392. //
  5393. // MessageText:
  5394. //
  5395. //  The RPC server is unavailable.
  5396. //
  5397. #define RPC_S_SERVER_UNAVAILABLE         1722L
  5398.  
  5399. //
  5400. // MessageId: RPC_S_SERVER_TOO_BUSY
  5401. //
  5402. // MessageText:
  5403. //
  5404. //  The RPC server is too busy to complete this operation.
  5405. //
  5406. #define RPC_S_SERVER_TOO_BUSY            1723L
  5407.  
  5408. //
  5409. // MessageId: RPC_S_INVALID_NETWORK_OPTIONS
  5410. //
  5411. // MessageText:
  5412. //
  5413. //  The network options are invalid.
  5414. //
  5415. #define RPC_S_INVALID_NETWORK_OPTIONS    1724L
  5416.  
  5417. //
  5418. // MessageId: RPC_S_NO_CALL_ACTIVE
  5419. //
  5420. // MessageText:
  5421. //
  5422. //  There are no remote procedure calls active on this thread.
  5423. //
  5424. #define RPC_S_NO_CALL_ACTIVE             1725L
  5425.  
  5426. //
  5427. // MessageId: RPC_S_CALL_FAILED
  5428. //
  5429. // MessageText:
  5430. //
  5431. //  The remote procedure call failed.
  5432. //
  5433. #define RPC_S_CALL_FAILED                1726L
  5434.  
  5435. //
  5436. // MessageId: RPC_S_CALL_FAILED_DNE
  5437. //
  5438. // MessageText:
  5439. //
  5440. //  The remote procedure call failed and did not execute.
  5441. //
  5442. #define RPC_S_CALL_FAILED_DNE            1727L
  5443.  
  5444. //
  5445. // MessageId: RPC_S_PROTOCOL_ERROR
  5446. //
  5447. // MessageText:
  5448. //
  5449. //  A remote procedure call (RPC) protocol error occurred.
  5450. //
  5451. #define RPC_S_PROTOCOL_ERROR             1728L
  5452.  
  5453. //
  5454. // MessageId: RPC_S_UNSUPPORTED_TRANS_SYN
  5455. //
  5456. // MessageText:
  5457. //
  5458. //  The transfer syntax is not supported by the RPC server.
  5459. //
  5460. #define RPC_S_UNSUPPORTED_TRANS_SYN      1730L
  5461.  
  5462. //
  5463. // MessageId: RPC_S_UNSUPPORTED_TYPE
  5464. //
  5465. // MessageText:
  5466. //
  5467. //  The universal unique identifier (UUID) type is not supported.
  5468. //
  5469. #define RPC_S_UNSUPPORTED_TYPE           1732L
  5470.  
  5471. //
  5472. // MessageId: RPC_S_INVALID_TAG
  5473. //
  5474. // MessageText:
  5475. //
  5476. //  The tag is invalid.
  5477. //
  5478. #define RPC_S_INVALID_TAG                1733L
  5479.  
  5480. //
  5481. // MessageId: RPC_S_INVALID_BOUND
  5482. //
  5483. // MessageText:
  5484. //
  5485. //  The array bounds are invalid.
  5486. //
  5487. #define RPC_S_INVALID_BOUND              1734L
  5488.  
  5489. //
  5490. // MessageId: RPC_S_NO_ENTRY_NAME
  5491. //
  5492. // MessageText:
  5493. //
  5494. //  The binding does not contain an entry name.
  5495. //
  5496. #define RPC_S_NO_ENTRY_NAME              1735L
  5497.  
  5498. //
  5499. // MessageId: RPC_S_INVALID_NAME_SYNTAX
  5500. //
  5501. // MessageText:
  5502. //
  5503. //  The name syntax is invalid.
  5504. //
  5505. #define RPC_S_INVALID_NAME_SYNTAX        1736L
  5506.  
  5507. //
  5508. // MessageId: RPC_S_UNSUPPORTED_NAME_SYNTAX
  5509. //
  5510. // MessageText:
  5511. //
  5512. //  The name syntax is not supported.
  5513. //
  5514. #define RPC_S_UNSUPPORTED_NAME_SYNTAX    1737L
  5515.  
  5516. //
  5517. // MessageId: RPC_S_UUID_NO_ADDRESS
  5518. //
  5519. // MessageText:
  5520. //
  5521. //  No network address is available to use to construct a universal
  5522. //  unique identifier (UUID).
  5523. //
  5524. #define RPC_S_UUID_NO_ADDRESS            1739L
  5525.  
  5526. //
  5527. // MessageId: RPC_S_DUPLICATE_ENDPOINT
  5528. //
  5529. // MessageText:
  5530. //
  5531. //  The endpoint is a duplicate.
  5532. //
  5533. #define RPC_S_DUPLICATE_ENDPOINT         1740L
  5534.  
  5535. //
  5536. // MessageId: RPC_S_UNKNOWN_AUTHN_TYPE
  5537. //
  5538. // MessageText:
  5539. //
  5540. //  The authentication type is unknown.
  5541. //
  5542. #define RPC_S_UNKNOWN_AUTHN_TYPE         1741L
  5543.  
  5544. //
  5545. // MessageId: RPC_S_MAX_CALLS_TOO_SMALL
  5546. //
  5547. // MessageText:
  5548. //
  5549. //  The maximum number of calls is too small.
  5550. //
  5551. #define RPC_S_MAX_CALLS_TOO_SMALL        1742L
  5552.  
  5553. //
  5554. // MessageId: RPC_S_STRING_TOO_LONG
  5555. //
  5556. // MessageText:
  5557. //
  5558. //  The string is too long.
  5559. //
  5560. #define RPC_S_STRING_TOO_LONG            1743L
  5561.  
  5562. //
  5563. // MessageId: RPC_S_PROTSEQ_NOT_FOUND
  5564. //
  5565. // MessageText:
  5566. //
  5567. //  The RPC protocol sequence was not found.
  5568. //
  5569. #define RPC_S_PROTSEQ_NOT_FOUND          1744L
  5570.  
  5571. //
  5572. // MessageId: RPC_S_PROCNUM_OUT_OF_RANGE
  5573. //
  5574. // MessageText:
  5575. //
  5576. //  The procedure number is out of range.
  5577. //
  5578. #define RPC_S_PROCNUM_OUT_OF_RANGE       1745L
  5579.  
  5580. //
  5581. // MessageId: RPC_S_BINDING_HAS_NO_AUTH
  5582. //
  5583. // MessageText:
  5584. //
  5585. //  The binding does not contain any authentication information.
  5586. //
  5587. #define RPC_S_BINDING_HAS_NO_AUTH        1746L
  5588.  
  5589. //
  5590. // MessageId: RPC_S_UNKNOWN_AUTHN_SERVICE
  5591. //
  5592. // MessageText:
  5593. //
  5594. //  The authentication service is unknown.
  5595. //
  5596. #define RPC_S_UNKNOWN_AUTHN_SERVICE      1747L
  5597.  
  5598. //
  5599. // MessageId: RPC_S_UNKNOWN_AUTHN_LEVEL
  5600. //
  5601. // MessageText:
  5602. //
  5603. //  The authentication level is unknown.
  5604. //
  5605. #define RPC_S_UNKNOWN_AUTHN_LEVEL        1748L
  5606.  
  5607. //
  5608. // MessageId: RPC_S_INVALID_AUTH_IDENTITY
  5609. //
  5610. // MessageText:
  5611. //
  5612. //  The security context is invalid.
  5613. //
  5614. #define RPC_S_INVALID_AUTH_IDENTITY      1749L
  5615.  
  5616. //
  5617. // MessageId: RPC_S_UNKNOWN_AUTHZ_SERVICE
  5618. //
  5619. // MessageText:
  5620. //
  5621. //  The authorization service is unknown.
  5622. //
  5623. #define RPC_S_UNKNOWN_AUTHZ_SERVICE      1750L
  5624.  
  5625. //
  5626. // MessageId: EPT_S_INVALID_ENTRY
  5627. //
  5628. // MessageText:
  5629. //
  5630. //  The entry is invalid.
  5631. //
  5632. #define EPT_S_INVALID_ENTRY              1751L
  5633.  
  5634. //
  5635. // MessageId: EPT_S_CANT_PERFORM_OP
  5636. //
  5637. // MessageText:
  5638. //
  5639. //  The server endpoint cannot perform the operation.
  5640. //
  5641. #define EPT_S_CANT_PERFORM_OP            1752L
  5642.  
  5643. //
  5644. // MessageId: EPT_S_NOT_REGISTERED
  5645. //
  5646. // MessageText:
  5647. //
  5648. //  There are no more endpoints available from the endpoint mapper.
  5649. //
  5650. #define EPT_S_NOT_REGISTERED             1753L
  5651.  
  5652. //
  5653. // MessageId: RPC_S_NOTHING_TO_EXPORT
  5654. //
  5655. // MessageText:
  5656. //
  5657. //  No interfaces have been exported.
  5658. //
  5659. #define RPC_S_NOTHING_TO_EXPORT          1754L
  5660.  
  5661. //
  5662. // MessageId: RPC_S_INCOMPLETE_NAME
  5663. //
  5664. // MessageText:
  5665. //
  5666. //  The entry name is incomplete.
  5667. //
  5668. #define RPC_S_INCOMPLETE_NAME            1755L
  5669.  
  5670. //
  5671. // MessageId: RPC_S_INVALID_VERS_OPTION
  5672. //
  5673. // MessageText:
  5674. //
  5675. //  The version option is invalid.
  5676. //
  5677. #define RPC_S_INVALID_VERS_OPTION        1756L
  5678.  
  5679. //
  5680. // MessageId: RPC_S_NO_MORE_MEMBERS
  5681. //
  5682. // MessageText:
  5683. //
  5684. //  There are no more members.
  5685. //
  5686. #define RPC_S_NO_MORE_MEMBERS            1757L
  5687.  
  5688. //
  5689. // MessageId: RPC_S_NOT_ALL_OBJS_UNEXPORTED
  5690. //
  5691. // MessageText:
  5692. //
  5693. //  There is nothing to unexport.
  5694. //
  5695. #define RPC_S_NOT_ALL_OBJS_UNEXPORTED    1758L
  5696.  
  5697. //
  5698. // MessageId: RPC_S_INTERFACE_NOT_FOUND
  5699. //
  5700. // MessageText:
  5701. //
  5702. //  The interface was not found.
  5703. //
  5704. #define RPC_S_INTERFACE_NOT_FOUND        1759L
  5705.  
  5706. //
  5707. // MessageId: RPC_S_ENTRY_ALREADY_EXISTS
  5708. //
  5709. // MessageText:
  5710. //
  5711. //  The entry already exists.
  5712. //
  5713. #define RPC_S_ENTRY_ALREADY_EXISTS       1760L
  5714.  
  5715. //
  5716. // MessageId: RPC_S_ENTRY_NOT_FOUND
  5717. //
  5718. // MessageText:
  5719. //
  5720. //  The entry is not found.
  5721. //
  5722. #define RPC_S_ENTRY_NOT_FOUND            1761L
  5723.  
  5724. //
  5725. // MessageId: RPC_S_NAME_SERVICE_UNAVAILABLE
  5726. //
  5727. // MessageText:
  5728. //
  5729. //  The name service is unavailable.
  5730. //
  5731. #define RPC_S_NAME_SERVICE_UNAVAILABLE   1762L
  5732.  
  5733. //
  5734. // MessageId: RPC_S_INVALID_NAF_ID
  5735. //
  5736. // MessageText:
  5737. //
  5738. //  The network address family is invalid.
  5739. //
  5740. #define RPC_S_INVALID_NAF_ID             1763L
  5741.  
  5742. //
  5743. // MessageId: RPC_S_CANNOT_SUPPORT
  5744. //
  5745. // MessageText:
  5746. //
  5747. //  The requested operation is not supported.
  5748. //
  5749. #define RPC_S_CANNOT_SUPPORT             1764L
  5750.  
  5751. //
  5752. // MessageId: RPC_S_NO_CONTEXT_AVAILABLE
  5753. //
  5754. // MessageText:
  5755. //
  5756. //  No security context is available to allow impersonation.
  5757. //
  5758. #define RPC_S_NO_CONTEXT_AVAILABLE       1765L
  5759.  
  5760. //
  5761. // MessageId: RPC_S_INTERNAL_ERROR
  5762. //
  5763. // MessageText:
  5764. //
  5765. //  An internal error occurred in a remote procedure call (RPC).
  5766. //
  5767. #define RPC_S_INTERNAL_ERROR             1766L
  5768.  
  5769. //
  5770. // MessageId: RPC_S_ZERO_DIVIDE
  5771. //
  5772. // MessageText:
  5773. //
  5774. //  The RPC server attempted an integer division by zero.
  5775. //
  5776. #define RPC_S_ZERO_DIVIDE                1767L
  5777.  
  5778. //
  5779. // MessageId: RPC_S_ADDRESS_ERROR
  5780. //
  5781. // MessageText:
  5782. //
  5783. //  An addressing error occurred in the RPC server.
  5784. //
  5785. #define RPC_S_ADDRESS_ERROR              1768L
  5786.  
  5787. //
  5788. // MessageId: RPC_S_FP_DIV_ZERO
  5789. //
  5790. // MessageText:
  5791. //
  5792. //  A floating-point operation at the RPC server caused a division by zero.
  5793. //
  5794. #define RPC_S_FP_DIV_ZERO                1769L
  5795.  
  5796. //
  5797. // MessageId: RPC_S_FP_UNDERFLOW
  5798. //
  5799. // MessageText:
  5800. //
  5801. //  A floating-point underflow occurred at the RPC server.
  5802. //
  5803. #define RPC_S_FP_UNDERFLOW               1770L
  5804.  
  5805. //
  5806. // MessageId: RPC_S_FP_OVERFLOW
  5807. //
  5808. // MessageText:
  5809. //
  5810. //  A floating-point overflow occurred at the RPC server.
  5811. //
  5812. #define RPC_S_FP_OVERFLOW                1771L
  5813.  
  5814. //
  5815. // MessageId: RPC_X_NO_MORE_ENTRIES
  5816. //
  5817. // MessageText:
  5818. //
  5819. //  The list of RPC servers available for the binding of auto handles
  5820. //  has been exhausted.
  5821. //
  5822. #define RPC_X_NO_MORE_ENTRIES            1772L
  5823.  
  5824. //
  5825. // MessageId: RPC_X_SS_CHAR_TRANS_OPEN_FAIL
  5826. //
  5827. // MessageText:
  5828. //
  5829. //  Unable to open the character translation table file.
  5830. //
  5831. #define RPC_X_SS_CHAR_TRANS_OPEN_FAIL    1773L
  5832.  
  5833. //
  5834. // MessageId: RPC_X_SS_CHAR_TRANS_SHORT_FILE
  5835. //
  5836. // MessageText:
  5837. //
  5838. //  The file containing the character translation table has fewer than
  5839. //  512 bytes.
  5840. //
  5841. #define RPC_X_SS_CHAR_TRANS_SHORT_FILE   1774L
  5842.  
  5843. //
  5844. // MessageId: RPC_X_SS_IN_NULL_CONTEXT
  5845. //
  5846. // MessageText:
  5847. //
  5848. //  A null context handle was passed from the client to the host during
  5849. //  a remote procedure call.
  5850. //
  5851. #define RPC_X_SS_IN_NULL_CONTEXT         1775L
  5852.  
  5853. //
  5854. // MessageId: RPC_X_SS_CONTEXT_DAMAGED
  5855. //
  5856. // MessageText:
  5857. //
  5858. //  The context handle changed during a remote procedure call.
  5859. //
  5860. #define RPC_X_SS_CONTEXT_DAMAGED         1777L
  5861.  
  5862. //
  5863. // MessageId: RPC_X_SS_HANDLES_MISMATCH
  5864. //
  5865. // MessageText:
  5866. //
  5867. //  The binding handles passed to a remote procedure call do not match.
  5868. //
  5869. #define RPC_X_SS_HANDLES_MISMATCH        1778L
  5870.  
  5871. //
  5872. // MessageId: RPC_X_SS_CANNOT_GET_CALL_HANDLE
  5873. //
  5874. // MessageText:
  5875. //
  5876. //  The stub is unable to get the remote procedure call handle.
  5877. //
  5878. #define RPC_X_SS_CANNOT_GET_CALL_HANDLE  1779L
  5879.  
  5880. //
  5881. // MessageId: RPC_X_NULL_REF_POINTER
  5882. //
  5883. // MessageText:
  5884. //
  5885. //  A null reference pointer was passed to the stub.
  5886. //
  5887. #define RPC_X_NULL_REF_POINTER           1780L
  5888.  
  5889. //
  5890. // MessageId: RPC_X_ENUM_VALUE_OUT_OF_RANGE
  5891. //
  5892. // MessageText:
  5893. //
  5894. //  The enumeration value is out of range.
  5895. //
  5896. #define RPC_X_ENUM_VALUE_OUT_OF_RANGE    1781L
  5897.  
  5898. //
  5899. // MessageId: RPC_X_BYTE_COUNT_TOO_SMALL
  5900. //
  5901. // MessageText:
  5902. //
  5903. //  The byte count is too small.
  5904. //
  5905. #define RPC_X_BYTE_COUNT_TOO_SMALL       1782L
  5906.  
  5907. //
  5908. // MessageId: RPC_X_BAD_STUB_DATA
  5909. //
  5910. // MessageText:
  5911. //
  5912. //  The stub received bad data.
  5913. //
  5914. #define RPC_X_BAD_STUB_DATA              1783L
  5915.  
  5916. //
  5917. // MessageId: ERROR_INVALID_USER_BUFFER
  5918. //
  5919. // MessageText:
  5920. //
  5921. //  The supplied user buffer is not valid for the requested operation.
  5922. //
  5923. #define ERROR_INVALID_USER_BUFFER        1784L
  5924.  
  5925. //
  5926. // MessageId: ERROR_UNRECOGNIZED_MEDIA
  5927. //
  5928. // MessageText:
  5929. //
  5930. //  The disk media is not recognized.  It may not be formatted.
  5931. //
  5932. #define ERROR_UNRECOGNIZED_MEDIA         1785L
  5933.  
  5934. //
  5935. // MessageId: ERROR_NO_TRUST_LSA_SECRET
  5936. //
  5937. // MessageText:
  5938. //
  5939. //  The workstation does not have a trust secret.
  5940. //
  5941. #define ERROR_NO_TRUST_LSA_SECRET        1786L
  5942.  
  5943. //
  5944. // MessageId: ERROR_NO_TRUST_SAM_ACCOUNT
  5945. //
  5946. // MessageText:
  5947. //
  5948. //  The SAM database on the Windows NT Server does not have a computer
  5949. //  account for this workstation trust relationship.
  5950. //
  5951. #define ERROR_NO_TRUST_SAM_ACCOUNT       1787L
  5952.  
  5953. //
  5954. // MessageId: ERROR_TRUSTED_DOMAIN_FAILURE
  5955. //
  5956. // MessageText:
  5957. //
  5958. //  The trust relationship between the primary domain and the trusted
  5959. //  domain failed.
  5960. //
  5961. #define ERROR_TRUSTED_DOMAIN_FAILURE     1788L
  5962.  
  5963. //
  5964. // MessageId: ERROR_TRUSTED_RELATIONSHIP_FAILURE
  5965. //
  5966. // MessageText:
  5967. //
  5968. //  The trust relationship between this workstation and the primary
  5969. //  domain failed.
  5970. //
  5971. #define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789L
  5972.  
  5973. //
  5974. // MessageId: ERROR_TRUST_FAILURE
  5975. //
  5976. // MessageText:
  5977. //
  5978. //  The network logon failed.
  5979. //
  5980. #define ERROR_TRUST_FAILURE              1790L
  5981.  
  5982. //
  5983. // MessageId: RPC_S_CALL_IN_PROGRESS
  5984. //
  5985. // MessageText:
  5986. //
  5987. //  A remote procedure call is already in progress for this thread.
  5988. //
  5989. #define RPC_S_CALL_IN_PROGRESS           1791L
  5990.  
  5991. //
  5992. // MessageId: ERROR_NETLOGON_NOT_STARTED
  5993. //
  5994. // MessageText:
  5995. //
  5996. //  An attempt was made to logon, but the network logon service was not started.
  5997. //
  5998. #define ERROR_NETLOGON_NOT_STARTED       1792L
  5999.  
  6000. //
  6001. // MessageId: ERROR_ACCOUNT_EXPIRED
  6002. //
  6003. // MessageText:
  6004. //
  6005. //  The user's account has expired.
  6006. //
  6007. #define ERROR_ACCOUNT_EXPIRED            1793L
  6008.  
  6009. //
  6010. // MessageId: ERROR_REDIRECTOR_HAS_OPEN_HANDLES
  6011. //
  6012. // MessageText:
  6013. //
  6014. //  The redirector is in use and cannot be unloaded.
  6015. //
  6016. #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794L
  6017.  
  6018. //
  6019. // MessageId: ERROR_PRINTER_DRIVER_ALREADY_INSTALLED
  6020. //
  6021. // MessageText:
  6022. //
  6023. //  The specified printer driver is already installed.
  6024. //
  6025. #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795L
  6026.  
  6027. //
  6028. // MessageId: ERROR_UNKNOWN_PORT
  6029. //
  6030. // MessageText:
  6031. //
  6032. //  The specified port is unknown.
  6033. //
  6034. #define ERROR_UNKNOWN_PORT               1796L
  6035.  
  6036. //
  6037. // MessageId: ERROR_UNKNOWN_PRINTER_DRIVER
  6038. //
  6039. // MessageText:
  6040. //
  6041. //  The printer driver is unknown.
  6042. //
  6043. #define ERROR_UNKNOWN_PRINTER_DRIVER     1797L
  6044.  
  6045. //
  6046. // MessageId: ERROR_UNKNOWN_PRINTPROCESSOR
  6047. //
  6048. // MessageText:
  6049. //
  6050. //  The print processor is unknown.
  6051. //
  6052. #define ERROR_UNKNOWN_PRINTPROCESSOR     1798L
  6053.  
  6054. //
  6055. // MessageId: ERROR_INVALID_SEPARATOR_FILE
  6056. //
  6057. // MessageText:
  6058. //
  6059. //  The specified separator file is invalid.
  6060. //
  6061. #define ERROR_INVALID_SEPARATOR_FILE     1799L
  6062.  
  6063. //
  6064. // MessageId: ERROR_INVALID_PRIORITY
  6065. //
  6066. // MessageText:
  6067. //
  6068. //  The specified priority is invalid.
  6069. //
  6070. #define ERROR_INVALID_PRIORITY           1800L
  6071.  
  6072. //
  6073. // MessageId: ERROR_INVALID_PRINTER_NAME
  6074. //
  6075. // MessageText:
  6076. //
  6077. //  The printer name is invalid.
  6078. //
  6079. #define ERROR_INVALID_PRINTER_NAME       1801L
  6080.  
  6081. //
  6082. // MessageId: ERROR_PRINTER_ALREADY_EXISTS
  6083. //
  6084. // MessageText:
  6085. //
  6086. //  The printer already exists.
  6087. //
  6088. #define ERROR_PRINTER_ALREADY_EXISTS     1802L
  6089.  
  6090. //
  6091. // MessageId: ERROR_INVALID_PRINTER_COMMAND
  6092. //
  6093. // MessageText:
  6094. //
  6095. //  The printer command is invalid.
  6096. //
  6097. #define ERROR_INVALID_PRINTER_COMMAND    1803L
  6098.  
  6099. //
  6100. // MessageId: ERROR_INVALID_DATATYPE
  6101. //
  6102. // MessageText:
  6103. //
  6104. //  The specified datatype is invalid.
  6105. //
  6106. #define ERROR_INVALID_DATATYPE           1804L
  6107.  
  6108. //
  6109. // MessageId: ERROR_INVALID_ENVIRONMENT
  6110. //
  6111. // MessageText:
  6112. //
  6113. //  The environment specified is invalid.
  6114. //
  6115. #define ERROR_INVALID_ENVIRONMENT        1805L
  6116.  
  6117. //
  6118. // MessageId: RPC_S_NO_MORE_BINDINGS
  6119. //
  6120. // MessageText:
  6121. //
  6122. //  There are no more bindings.
  6123. //
  6124. #define RPC_S_NO_MORE_BINDINGS           1806L
  6125.  
  6126. //
  6127. // MessageId: ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
  6128. //
  6129. // MessageText:
  6130. //
  6131. //  The account used is an interdomain trust account.  Use your global user account or local user account to access this server.
  6132. //
  6133. #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807L
  6134.  
  6135. //
  6136. // MessageId: ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT
  6137. //
  6138. // MessageText:
  6139. //
  6140. //  The account used is a computer account.  Use your global user account or local user account to access this server.
  6141. //
  6142. #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808L
  6143.  
  6144. //
  6145. // MessageId: ERROR_NOLOGON_SERVER_TRUST_ACCOUNT
  6146. //
  6147. // MessageText:
  6148. //
  6149. //  The account used is a server trust account. Use your global user account or local user account to access this server.
  6150. //
  6151. #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809L
  6152.  
  6153. //
  6154. // MessageId: ERROR_DOMAIN_TRUST_INCONSISTENT
  6155. //
  6156. // MessageText:
  6157. //
  6158. //  The name or security ID (SID) of the domain specified is inconsistent
  6159. //  with the trust information for that domain.
  6160. //
  6161. #define ERROR_DOMAIN_TRUST_INCONSISTENT  1810L
  6162.  
  6163. //
  6164. // MessageId: ERROR_SERVER_HAS_OPEN_HANDLES
  6165. //
  6166. // MessageText:
  6167. //
  6168. //  The server is in use and cannot be unloaded.
  6169. //
  6170. #define ERROR_SERVER_HAS_OPEN_HANDLES    1811L
  6171.  
  6172. //
  6173. // MessageId: ERROR_RESOURCE_DATA_NOT_FOUND
  6174. //
  6175. // MessageText:
  6176. //
  6177. //  The specified image file did not contain a resource section.
  6178. //
  6179. #define ERROR_RESOURCE_DATA_NOT_FOUND    1812L
  6180.  
  6181. //
  6182. // MessageId: ERROR_RESOURCE_TYPE_NOT_FOUND
  6183. //
  6184. // MessageText:
  6185. //
  6186. //  The specified resource type cannot be found in the image file.
  6187. //
  6188. #define ERROR_RESOURCE_TYPE_NOT_FOUND    1813L
  6189.  
  6190. //
  6191. // MessageId: ERROR_RESOURCE_NAME_NOT_FOUND
  6192. //
  6193. // MessageText:
  6194. //
  6195. //  The specified resource name cannot be found in the image file.
  6196. //
  6197. #define ERROR_RESOURCE_NAME_NOT_FOUND    1814L
  6198.  
  6199. //
  6200. // MessageId: ERROR_RESOURCE_LANG_NOT_FOUND
  6201. //
  6202. // MessageText:
  6203. //
  6204. //  The specified resource language ID cannot be found in the image file.
  6205. //
  6206. #define ERROR_RESOURCE_LANG_NOT_FOUND    1815L
  6207.  
  6208. //
  6209. // MessageId: ERROR_NOT_ENOUGH_QUOTA
  6210. //
  6211. // MessageText:
  6212. //
  6213. //  Not enough quota is available to process this command.
  6214. //
  6215. #define ERROR_NOT_ENOUGH_QUOTA           1816L
  6216.  
  6217. //
  6218. // MessageId: RPC_S_NO_INTERFACES
  6219. //
  6220. // MessageText:
  6221. //
  6222. //  No interfaces have been registered.
  6223. //
  6224. #define RPC_S_NO_INTERFACES              1817L
  6225.  
  6226. //
  6227. // MessageId: RPC_S_CALL_CANCELLED
  6228. //
  6229. // MessageText:
  6230. //
  6231. //  The remote procedure call was cancelled.
  6232. //
  6233. #define RPC_S_CALL_CANCELLED             1818L
  6234.  
  6235. //
  6236. // MessageId: RPC_S_BINDING_INCOMPLETE
  6237. //
  6238. // MessageText:
  6239. //
  6240. //  The binding handle does not contain all required information.
  6241. //
  6242. #define RPC_S_BINDING_INCOMPLETE         1819L
  6243.  
  6244. //
  6245. // MessageId: RPC_S_COMM_FAILURE
  6246. //
  6247. // MessageText:
  6248. //
  6249. //  A communications failure occurred during a remote procedure call.
  6250. //
  6251. #define RPC_S_COMM_FAILURE               1820L
  6252.  
  6253. //
  6254. // MessageId: RPC_S_UNSUPPORTED_AUTHN_LEVEL
  6255. //
  6256. // MessageText:
  6257. //
  6258. //  The requested authentication level is not supported.
  6259. //
  6260. #define RPC_S_UNSUPPORTED_AUTHN_LEVEL    1821L
  6261.  
  6262. //
  6263. // MessageId: RPC_S_NO_PRINC_NAME
  6264. //
  6265. // MessageText:
  6266. //
  6267. //  No principal name registered.
  6268. //
  6269. #define RPC_S_NO_PRINC_NAME              1822L
  6270.  
  6271. //
  6272. // MessageId: RPC_S_NOT_RPC_ERROR
  6273. //
  6274. // MessageText:
  6275. //
  6276. //  The error specified is not a valid Windows RPC error code.
  6277. //
  6278. #define RPC_S_NOT_RPC_ERROR              1823L
  6279.  
  6280. //
  6281. // MessageId: RPC_S_UUID_LOCAL_ONLY
  6282. //
  6283. // MessageText:
  6284. //
  6285. //  A UUID that is valid only on this computer has been allocated.
  6286. //
  6287. #define RPC_S_UUID_LOCAL_ONLY            1824L
  6288.  
  6289. //
  6290. // MessageId: RPC_S_SEC_PKG_ERROR
  6291. //
  6292. // MessageText:
  6293. //
  6294. //  A security package specific error occurred.
  6295. //
  6296. #define RPC_S_SEC_PKG_ERROR              1825L
  6297.  
  6298. //
  6299. // MessageId: RPC_S_NOT_CANCELLED
  6300. //
  6301. // MessageText:
  6302. //
  6303. //  Thread is not canceled.
  6304. //
  6305. #define RPC_S_NOT_CANCELLED              1826L
  6306.  
  6307. //
  6308. // MessageId: RPC_X_INVALID_ES_ACTION
  6309. //
  6310. // MessageText:
  6311. //
  6312. //  Invalid operation on the encoding/decoding handle.
  6313. //
  6314. #define RPC_X_INVALID_ES_ACTION          1827L
  6315.  
  6316. //
  6317. // MessageId: RPC_X_WRONG_ES_VERSION
  6318. //
  6319. // MessageText:
  6320. //
  6321. //  Incompatible version of the serializing package.
  6322. //
  6323. #define RPC_X_WRONG_ES_VERSION           1828L
  6324.  
  6325. //
  6326. // MessageId: RPC_X_WRONG_STUB_VERSION
  6327. //
  6328. // MessageText:
  6329. //
  6330. //  Incompatible version of the RPC stub.
  6331. //
  6332. #define RPC_X_WRONG_STUB_VERSION         1829L
  6333.  
  6334. //
  6335. // MessageId: RPC_X_INVALID_PIPE_OBJECT
  6336. //
  6337. // MessageText:
  6338. //
  6339. //  The RPC pipe object is invalid or corrupted.
  6340. //
  6341. #define RPC_X_INVALID_PIPE_OBJECT        1830L
  6342.  
  6343. //
  6344. // MessageId: RPC_X_WRONG_PIPE_ORDER
  6345. //
  6346. // MessageText:
  6347. //
  6348. //  An invalid operation was attempted on an RPC pipe object.
  6349. //
  6350. #define RPC_X_WRONG_PIPE_ORDER           1831L
  6351.  
  6352. //
  6353. // MessageId: RPC_X_WRONG_PIPE_VERSION
  6354. //
  6355. // MessageText:
  6356. //
  6357. //  Unsupported RPC pipe version.
  6358. //
  6359. #define RPC_X_WRONG_PIPE_VERSION         1832L
  6360.  
  6361. //
  6362. // MessageId: RPC_S_GROUP_MEMBER_NOT_FOUND
  6363. //
  6364. // MessageText:
  6365. //
  6366. //  The group member was not found.
  6367. //
  6368. #define RPC_S_GROUP_MEMBER_NOT_FOUND     1898L
  6369.  
  6370. //
  6371. // MessageId: EPT_S_CANT_CREATE
  6372. //
  6373. // MessageText:
  6374. //
  6375. //  The endpoint mapper database entry could not be created.
  6376. //
  6377. #define EPT_S_CANT_CREATE                1899L
  6378.  
  6379. //
  6380. // MessageId: RPC_S_INVALID_OBJECT
  6381. //
  6382. // MessageText:
  6383. //
  6384. //  The object universal unique identifier (UUID) is the nil UUID.
  6385. //
  6386. #define RPC_S_INVALID_OBJECT             1900L
  6387.  
  6388. //
  6389. // MessageId: ERROR_INVALID_TIME
  6390. //
  6391. // MessageText:
  6392. //
  6393. //  The specified time is invalid.
  6394. //
  6395. #define ERROR_INVALID_TIME               1901L
  6396.  
  6397. //
  6398. // MessageId: ERROR_INVALID_FORM_NAME
  6399. //
  6400. // MessageText:
  6401. //
  6402. //  The specified form name is invalid.
  6403. //
  6404. #define ERROR_INVALID_FORM_NAME          1902L
  6405.  
  6406. //
  6407. // MessageId: ERROR_INVALID_FORM_SIZE
  6408. //
  6409. // MessageText:
  6410. //
  6411. //  The specified form size is invalid.
  6412. //
  6413. #define ERROR_INVALID_FORM_SIZE          1903L
  6414.  
  6415. //
  6416. // MessageId: ERROR_ALREADY_WAITING
  6417. //
  6418. // MessageText:
  6419. //
  6420. //  The specified printer handle is already being waited on
  6421. //
  6422. #define ERROR_ALREADY_WAITING            1904L
  6423.  
  6424. //
  6425. // MessageId: ERROR_PRINTER_DELETED
  6426. //
  6427. // MessageText:
  6428. //
  6429. //  The specified printer has been deleted.
  6430. //
  6431. #define ERROR_PRINTER_DELETED            1905L
  6432.  
  6433. //
  6434. // MessageId: ERROR_INVALID_PRINTER_STATE
  6435. //
  6436. // MessageText:
  6437. //
  6438. //  The state of the printer is invalid.
  6439. //
  6440. #define ERROR_INVALID_PRINTER_STATE      1906L
  6441.  
  6442. //
  6443. // MessageId: ERROR_PASSWORD_MUST_CHANGE
  6444. //
  6445. // MessageText:
  6446. //
  6447. //  The user must change his password before he logs on the first time.
  6448. //
  6449. #define ERROR_PASSWORD_MUST_CHANGE       1907L
  6450.  
  6451. //
  6452. // MessageId: ERROR_DOMAIN_CONTROLLER_NOT_FOUND
  6453. //
  6454. // MessageText:
  6455. //
  6456. //  Could not find the domain controller for this domain.
  6457. //
  6458. #define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 1908L
  6459.  
  6460. //
  6461. // MessageId: ERROR_ACCOUNT_LOCKED_OUT
  6462. //
  6463. // MessageText:
  6464. //
  6465. //  The referenced account is currently locked out and may not be logged on to.
  6466. //
  6467. #define ERROR_ACCOUNT_LOCKED_OUT         1909L
  6468.  
  6469. //
  6470. // MessageId: OR_INVALID_OXID
  6471. //
  6472. // MessageText:
  6473. //
  6474. //  The object exporter specified was not found.
  6475. //
  6476. #define OR_INVALID_OXID                  1910L
  6477.  
  6478. //
  6479. // MessageId: OR_INVALID_OID
  6480. //
  6481. // MessageText:
  6482. //
  6483. //  The object specified was not found.
  6484. //
  6485. #define OR_INVALID_OID                   1911L
  6486.  
  6487. //
  6488. // MessageId: OR_INVALID_SET
  6489. //
  6490. // MessageText:
  6491. //
  6492. //  The object resolver set specified was not found.
  6493. //
  6494. #define OR_INVALID_SET                   1912L
  6495.  
  6496. //
  6497. // MessageId: RPC_S_SEND_INCOMPLETE
  6498. //
  6499. // MessageText:
  6500. //
  6501. //  Some data remains to be sent in the request buffer.
  6502. //
  6503. #define RPC_S_SEND_INCOMPLETE            1913L
  6504.  
  6505. //
  6506. // MessageId: RPC_S_INVALID_ASYNC_HANDLE
  6507. //
  6508. // MessageText:
  6509. //
  6510. //  Invalid asynchronous remote procedure call handle.
  6511. //
  6512. #define RPC_S_INVALID_ASYNC_HANDLE       1914L
  6513.  
  6514. //
  6515. // MessageId: RPC_S_INVALID_ASYNC_CALL
  6516. //
  6517. // MessageText:
  6518. //
  6519. //  Invalid asynchronous RPC call handle for this operation.
  6520. //
  6521. #define RPC_S_INVALID_ASYNC_CALL         1915L
  6522.  
  6523. //
  6524. // MessageId: RPC_X_PIPE_CLOSED
  6525. //
  6526. // MessageText:
  6527. //
  6528. //  The RPC pipe object has already been closed.
  6529. //
  6530. #define RPC_X_PIPE_CLOSED                1916L
  6531.  
  6532. //
  6533. // MessageId: RPC_X_PIPE_DISCIPLINE_ERROR
  6534. //
  6535. // MessageText:
  6536. //
  6537. //  The RPC call completed before all pipes were processed.
  6538. //
  6539. #define RPC_X_PIPE_DISCIPLINE_ERROR      1917L
  6540.  
  6541. //
  6542. // MessageId: RPC_X_PIPE_EMPTY
  6543. //
  6544. // MessageText:
  6545. //
  6546. //  No more data is available from the RPC pipe.
  6547. //
  6548. #define RPC_X_PIPE_EMPTY                 1918L
  6549.  
  6550. //
  6551. // MessageId: ERROR_NO_SITENAME
  6552. //
  6553. // MessageText:
  6554. //
  6555. //  No site name is available for this machine.
  6556. //
  6557. #define ERROR_NO_SITENAME                1919L
  6558.  
  6559. //
  6560. // MessageId: ERROR_CANT_ACCESS_FILE
  6561. //
  6562. // MessageText:
  6563. //
  6564. //  The file can not be accessed by the system.
  6565. //
  6566. #define ERROR_CANT_ACCESS_FILE           1920L
  6567.  
  6568. //
  6569. // MessageId: ERROR_CANT_RESOLVE_FILENAME
  6570. //
  6571. // MessageText:
  6572. //
  6573. //  The name of the file cannot be resolved by the system.
  6574. //
  6575. #define ERROR_CANT_RESOLVE_FILENAME      1921L
  6576.  
  6577. //
  6578. // MessageId: ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY
  6579. //
  6580. // MessageText:
  6581. //
  6582. //  The directory service evaluated group memberships locally.
  6583. //
  6584. #define ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY 1922L
  6585.  
  6586. //
  6587. // MessageId: ERROR_DS_NO_ATTRIBUTE_OR_VALUE
  6588. //
  6589. // MessageText:
  6590. //
  6591. //  The specified directory service attribute or value does not exist.
  6592. //
  6593. #define ERROR_DS_NO_ATTRIBUTE_OR_VALUE   1923L
  6594.  
  6595. //
  6596. // MessageId: ERROR_DS_INVALID_ATTRIBUTE_SYNTAX
  6597. //
  6598. // MessageText:
  6599. //
  6600. //  The attribute syntax specified to the directory service is invalid.
  6601. //
  6602. #define ERROR_DS_INVALID_ATTRIBUTE_SYNTAX 1924L
  6603.  
  6604. //
  6605. // MessageId: ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED
  6606. //
  6607. // MessageText:
  6608. //
  6609. //  The attribute type specified to the directory service is not defined.
  6610. //
  6611. #define ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED 1925L
  6612.  
  6613. //
  6614. // MessageId: ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS
  6615. //
  6616. // MessageText:
  6617. //
  6618. //  The specified directory service attribute or value already exists.
  6619. //
  6620. #define ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS 1926L
  6621.  
  6622. //
  6623. // MessageId: ERROR_DS_BUSY
  6624. //
  6625. // MessageText:
  6626. //
  6627. //  The directory service is busy.
  6628. //
  6629. #define ERROR_DS_BUSY                    1927L
  6630.  
  6631. //
  6632. // MessageId: ERROR_DS_UNAVAILABLE
  6633. //
  6634. // MessageText:
  6635. //
  6636. //  The directory service is unavailable.
  6637. //
  6638. #define ERROR_DS_UNAVAILABLE             1928L
  6639.  
  6640. //
  6641. // MessageId: ERROR_DS_NO_RIDS_ALLOCATED
  6642. //
  6643. // MessageText:
  6644. //
  6645. //  The directory service was unable to allocate a relative identifier.
  6646. //
  6647. #define ERROR_DS_NO_RIDS_ALLOCATED       1929L
  6648.  
  6649. //
  6650. // MessageId: ERROR_DS_NO_MORE_RIDS
  6651. //
  6652. // MessageText:
  6653. //
  6654. //  The directory service has exhausted the pool of relative identifiers.
  6655. //
  6656. #define ERROR_DS_NO_MORE_RIDS            1930L
  6657.  
  6658. //
  6659. // MessageId: ERROR_DS_INCORRECT_ROLE_OWNER
  6660. //
  6661. // MessageText:
  6662. //
  6663. //  The requested operation could not be performed because the directory service is not the
  6664. //  master for that type of operation.
  6665. //
  6666. #define ERROR_DS_INCORRECT_ROLE_OWNER    1931L
  6667.  
  6668. //
  6669. // MessageId: ERROR_DS_RIDMGR_INIT_ERROR
  6670. //
  6671. // MessageText:
  6672. //
  6673. //  The directory service was unable to initialize the subsystem that allocates relative identifiers.
  6674. //
  6675. #define ERROR_DS_RIDMGR_INIT_ERROR       1932L
  6676.  
  6677. //
  6678. // MessageId: ERROR_DS_OBJ_CLASS_VIOLATION
  6679. //
  6680. // MessageText:
  6681. //
  6682. //  The requested operation did not satisfy one or more constraints associated with the class of the object.
  6683. //
  6684. #define ERROR_DS_OBJ_CLASS_VIOLATION     1933L
  6685.  
  6686. //
  6687. // MessageId: ERROR_DS_CANT_ON_NON_LEAF
  6688. //
  6689. // MessageText:
  6690. //
  6691. //  The directory service can perform the requested operation only on a leaf object.
  6692. //
  6693. #define ERROR_DS_CANT_ON_NON_LEAF        1934L
  6694.  
  6695. //
  6696. // MessageId: ERROR_DS_CANT_ON_RDN
  6697. //
  6698. // MessageText:
  6699. //
  6700. //  The directory service cannot perform the requested operation on the RDN attribute of an object.
  6701. //
  6702. #define ERROR_DS_CANT_ON_RDN             1935L
  6703.  
  6704. //
  6705. // MessageId: ERROR_DS_CANT_MOD_OBJ_CLASS
  6706. //
  6707. // MessageText:
  6708. //
  6709. //  The directory service detected an attempt to modify the object class of an object.
  6710. //
  6711. #define ERROR_DS_CANT_MOD_OBJ_CLASS      1936L
  6712.  
  6713. //
  6714. // MessageId: ERROR_DS_CROSS_DOM_MOVE_ERROR
  6715. //
  6716. // MessageText:
  6717. //
  6718. //  The requested cross domain move operation could not be performed.
  6719. //
  6720. #define ERROR_DS_CROSS_DOM_MOVE_ERROR    1937L
  6721.  
  6722. //
  6723. // MessageId: ERROR_DS_GC_NOT_AVAILABLE
  6724. //
  6725. // MessageText:
  6726. //
  6727. //  Unable to contact the global catalog server.
  6728. //
  6729. #define ERROR_DS_GC_NOT_AVAILABLE        1938L
  6730.  
  6731. //
  6732. // MessageId: ERROR_NO_BROWSER_SERVERS_FOUND
  6733. //
  6734. // MessageText:
  6735. //
  6736. //  The list of servers for this workgroup is not currently available
  6737. //
  6738. #define ERROR_NO_BROWSER_SERVERS_FOUND   6118L
  6739.  
  6740.  
  6741.  
  6742.  
  6743. ///////////////////////////
  6744. //                       //
  6745. //   OpenGL Error Code   //
  6746. //                       //
  6747. ///////////////////////////
  6748.  
  6749.  
  6750. //
  6751. // MessageId: ERROR_INVALID_PIXEL_FORMAT
  6752. //
  6753. // MessageText:
  6754. //
  6755. //  The pixel format is invalid.
  6756. //
  6757. #define ERROR_INVALID_PIXEL_FORMAT       2000L
  6758.  
  6759. //
  6760. // MessageId: ERROR_BAD_DRIVER
  6761. //
  6762. // MessageText:
  6763. //
  6764. //  The specified driver is invalid.
  6765. //
  6766. #define ERROR_BAD_DRIVER                 2001L
  6767.  
  6768. //
  6769. // MessageId: ERROR_INVALID_WINDOW_STYLE
  6770. //
  6771. // MessageText:
  6772. //
  6773. //  The window style or class attribute is invalid for this operation.
  6774. //
  6775. #define ERROR_INVALID_WINDOW_STYLE       2002L
  6776.  
  6777. //
  6778. // MessageId: ERROR_METAFILE_NOT_SUPPORTED
  6779. //
  6780. // MessageText:
  6781. //
  6782. //  The requested metafile operation is not supported.
  6783. //
  6784. #define ERROR_METAFILE_NOT_SUPPORTED     2003L
  6785.  
  6786. //
  6787. // MessageId: ERROR_TRANSFORM_NOT_SUPPORTED
  6788. //
  6789. // MessageText:
  6790. //
  6791. //  The requested transformation operation is not supported.
  6792. //
  6793. #define ERROR_TRANSFORM_NOT_SUPPORTED    2004L
  6794.  
  6795. //
  6796. // MessageId: ERROR_CLIPPING_NOT_SUPPORTED
  6797. //
  6798. // MessageText:
  6799. //
  6800. //  The requested clipping operation is not supported.
  6801. //
  6802. #define ERROR_CLIPPING_NOT_SUPPORTED     2005L
  6803.  
  6804. // End of OpenGL error codes
  6805.  
  6806.  
  6807.  
  6808. ///////////////////////////////////////////
  6809. //                                       //
  6810. //   Image Color Management Error Code   //
  6811. //                                       //
  6812. ///////////////////////////////////////////
  6813.  
  6814.  
  6815. //
  6816. // MessageId: ERROR_INVALID_CMM
  6817. //
  6818. // MessageText:
  6819. //
  6820. //  The specified color management module is invalid.
  6821. //
  6822. #define ERROR_INVALID_CMM                2300L
  6823.  
  6824. //
  6825. // MessageId: ERROR_INVALID_PROFILE
  6826. //
  6827. // MessageText:
  6828. //
  6829. //  The specified color profile is invalid.
  6830. //
  6831. #define ERROR_INVALID_PROFILE            2301L
  6832.  
  6833. //
  6834. // MessageId: ERROR_TAG_NOT_FOUND
  6835. //
  6836. // MessageText:
  6837. //
  6838. //  The specified tag was not found.
  6839. //
  6840. #define ERROR_TAG_NOT_FOUND              2302L
  6841.  
  6842. //
  6843. // MessageId: ERROR_TAG_NOT_PRESENT
  6844. //
  6845. // MessageText:
  6846. //
  6847. //  A required tag is not present.
  6848. //
  6849. #define ERROR_TAG_NOT_PRESENT            2303L
  6850.  
  6851. //
  6852. // MessageId: ERROR_DUPLICATE_TAG
  6853. //
  6854. // MessageText:
  6855. //
  6856. //  The specified tag is already present.
  6857. //
  6858. #define ERROR_DUPLICATE_TAG              2304L
  6859.  
  6860. //
  6861. // MessageId: ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE
  6862. //
  6863. // MessageText:
  6864. //
  6865. //  The specified color profile is not associated with any device.
  6866. //
  6867. #define ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE 2305L
  6868.  
  6869. //
  6870. // MessageId: ERROR_PROFILE_NOT_FOUND
  6871. //
  6872. // MessageText:
  6873. //
  6874. //  The specified color profile was not found.
  6875. //
  6876. #define ERROR_PROFILE_NOT_FOUND          2306L
  6877.  
  6878. //
  6879. // MessageId: ERROR_INVALID_COLORSPACE
  6880. //
  6881. // MessageText:
  6882. //
  6883. //  The specified color space is invalid.
  6884. //
  6885. #define ERROR_INVALID_COLORSPACE         2307L
  6886.  
  6887. //
  6888. // MessageId: ERROR_ICM_NOT_ENABLED
  6889. //
  6890. // MessageText:
  6891. //
  6892. //  Image Color Management is not enabled.
  6893. //
  6894. #define ERROR_ICM_NOT_ENABLED            2308L
  6895.  
  6896. //
  6897. // MessageId: ERROR_DELETING_ICM_XFORM
  6898. //
  6899. // MessageText:
  6900. //
  6901. //  There was an error while deleting the color transform.
  6902. //
  6903. #define ERROR_DELETING_ICM_XFORM         2309L
  6904.  
  6905. //
  6906. // MessageId: ERROR_INVALID_TRANSFORM
  6907. //
  6908. // MessageText:
  6909. //
  6910. //  The specified color transform is invalid.
  6911. //
  6912. #define ERROR_INVALID_TRANSFORM          2310L
  6913.  
  6914.  
  6915. ////////////////////////////////////
  6916. //                                //
  6917. //     Win32 Spooler Error Codes  //
  6918. //                                //
  6919. ////////////////////////////////////
  6920. //
  6921. // MessageId: ERROR_UNKNOWN_PRINT_MONITOR
  6922. //
  6923. // MessageText:
  6924. //
  6925. //  The specified print monitor is unknown.
  6926. //
  6927. #define ERROR_UNKNOWN_PRINT_MONITOR      3000L
  6928.  
  6929. //
  6930. // MessageId: ERROR_PRINTER_DRIVER_IN_USE
  6931. //
  6932. // MessageText:
  6933. //
  6934. //  The specified printer driver is currently in use.
  6935. //
  6936. #define ERROR_PRINTER_DRIVER_IN_USE      3001L
  6937.  
  6938. //
  6939. // MessageId: ERROR_SPOOL_FILE_NOT_FOUND
  6940. //
  6941. // MessageText:
  6942. //
  6943. //  The spool file was not found.
  6944. //
  6945. #define ERROR_SPOOL_FILE_NOT_FOUND       3002L
  6946.  
  6947. //
  6948. // MessageId: ERROR_SPL_NO_STARTDOC
  6949. //
  6950. // MessageText:
  6951. //
  6952. //  A StartDocPrinter call was not issued.
  6953. //
  6954. #define ERROR_SPL_NO_STARTDOC            3003L
  6955.  
  6956. //
  6957. // MessageId: ERROR_SPL_NO_ADDJOB
  6958. //
  6959. // MessageText:
  6960. //
  6961. //  An AddJob call was not issued.
  6962. //
  6963. #define ERROR_SPL_NO_ADDJOB              3004L
  6964.  
  6965. //
  6966. // MessageId: ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED
  6967. //
  6968. // MessageText:
  6969. //
  6970. //  The specified print processor has already been installed.
  6971. //
  6972. #define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005L
  6973.  
  6974. //
  6975. // MessageId: ERROR_PRINT_MONITOR_ALREADY_INSTALLED
  6976. //
  6977. // MessageText:
  6978. //
  6979. //  The specified print monitor has already been installed.
  6980. //
  6981. #define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006L
  6982.  
  6983. //
  6984. // MessageId: ERROR_INVALID_PRINT_MONITOR
  6985. //
  6986. // MessageText:
  6987. //
  6988. //  The specified print monitor does not have the required functions.
  6989. //
  6990. #define ERROR_INVALID_PRINT_MONITOR      3007L
  6991.  
  6992. //
  6993. // MessageId: ERROR_PRINT_MONITOR_IN_USE
  6994. //
  6995. // MessageText:
  6996. //
  6997. //  The specified print monitor is currently in use.
  6998. //
  6999. #define ERROR_PRINT_MONITOR_IN_USE       3008L
  7000.  
  7001. //
  7002. // MessageId: ERROR_PRINTER_HAS_JOBS_QUEUED
  7003. //
  7004. // MessageText:
  7005. //
  7006. //  The requested operation is not allowed when there are jobs queued to the printer.
  7007. //
  7008. #define ERROR_PRINTER_HAS_JOBS_QUEUED    3009L
  7009.  
  7010. //
  7011. // MessageId: ERROR_SUCCESS_REBOOT_REQUIRED
  7012. //
  7013. // MessageText:
  7014. //
  7015. //  The requested operation is successful.  Changes will not be effective until the system is rebooted.
  7016. //
  7017. #define ERROR_SUCCESS_REBOOT_REQUIRED    3010L
  7018.  
  7019. //
  7020. // MessageId: ERROR_SUCCESS_RESTART_REQUIRED
  7021. //
  7022. // MessageText:
  7023. //
  7024. //  The requested operation is successful.  Changes will not be effective until the service is restarted.
  7025. //
  7026. #define ERROR_SUCCESS_RESTART_REQUIRED   3011L
  7027.  
  7028. ////////////////////////////////////
  7029. //                                //
  7030. //     Wins Error Codes           //
  7031. //                                //
  7032. ////////////////////////////////////
  7033. //
  7034. // MessageId: ERROR_WINS_INTERNAL
  7035. //
  7036. // MessageText:
  7037. //
  7038. //  WINS encountered an error while processing the command.
  7039. //
  7040. #define ERROR_WINS_INTERNAL              4000L
  7041.  
  7042. //
  7043. // MessageId: ERROR_CAN_NOT_DEL_LOCAL_WINS
  7044. //
  7045. // MessageText:
  7046. //
  7047. //  The local WINS can not be deleted.
  7048. //
  7049. #define ERROR_CAN_NOT_DEL_LOCAL_WINS     4001L
  7050.  
  7051. //
  7052. // MessageId: ERROR_STATIC_INIT
  7053. //
  7054. // MessageText:
  7055. //
  7056. //  The importation from the file failed.
  7057. //
  7058. #define ERROR_STATIC_INIT                4002L
  7059.  
  7060. //
  7061. // MessageId: ERROR_INC_BACKUP
  7062. //
  7063. // MessageText:
  7064. //
  7065. //  The backup failed. Was a full backup done before?
  7066. //
  7067. #define ERROR_INC_BACKUP                 4003L
  7068.  
  7069. //
  7070. // MessageId: ERROR_FULL_BACKUP
  7071. //
  7072. // MessageText:
  7073. //
  7074. //  The backup failed. Check the directory to which you are backing the database.
  7075. //
  7076. #define ERROR_FULL_BACKUP                4004L
  7077.  
  7078. //
  7079. // MessageId: ERROR_REC_NON_EXISTENT
  7080. //
  7081. // MessageText:
  7082. //
  7083. //  The name does not exist in the WINS database.
  7084. //
  7085. #define ERROR_REC_NON_EXISTENT           4005L
  7086.  
  7087. //
  7088. // MessageId: ERROR_RPL_NOT_ALLOWED
  7089. //
  7090. // MessageText:
  7091. //
  7092. //  Replication with a nonconfigured partner is not allowed.
  7093. //
  7094. #define ERROR_RPL_NOT_ALLOWED            4006L
  7095.  
  7096. ////////////////////////////////////
  7097. //                                //
  7098. //     DHCP Error Codes           //
  7099. //                                //
  7100. ////////////////////////////////////
  7101. //
  7102. // MessageId: ERROR_DHCP_ADDRESS_CONFLICT
  7103. //
  7104. // MessageText:
  7105. //
  7106. //  The DHCP client has obtained an IP address that is already in use on the network.  The local interface will be disabled until the DHCP client can obtain a new address.
  7107. //
  7108. #define ERROR_DHCP_ADDRESS_CONFLICT      4100L
  7109.  
  7110. ////////////////////////////////////
  7111. //                                //
  7112. //     WMI Error Codes            //
  7113. //                                //
  7114. ////////////////////////////////////
  7115. //
  7116. // MessageId: ERROR_WMI_GUID_NOT_FOUND
  7117. //
  7118. // MessageText:
  7119. //
  7120. //  The GUID passed was not recognized as valid by a WMI data provider.
  7121. //
  7122. #define ERROR_WMI_GUID_NOT_FOUND         4200L
  7123.  
  7124. //
  7125. // MessageId: ERROR_WMI_INSTANCE_NOT_FOUND
  7126. //
  7127. // MessageText:
  7128. //
  7129. //  The instance name passed was not recognized as valid by a WMI data provider.
  7130. //
  7131. #define ERROR_WMI_INSTANCE_NOT_FOUND     4201L
  7132.  
  7133. //
  7134. // MessageId: ERROR_WMI_ITEMID_NOT_FOUND
  7135. //
  7136. // MessageText:
  7137. //
  7138. //  The data item ID passed was not recognized as valid by a WMI data provider.
  7139. //
  7140. #define ERROR_WMI_ITEMID_NOT_FOUND       4202L
  7141.  
  7142. //
  7143. // MessageId: ERROR_WMI_TRY_AGAIN
  7144. //
  7145. // MessageText:
  7146. //
  7147. //  The WMI request could not be completed and should be retried.
  7148. //
  7149. #define ERROR_WMI_TRY_AGAIN              4203L
  7150.  
  7151. //
  7152. // MessageId: ERROR_WMI_DP_NOT_FOUND
  7153. //
  7154. // MessageText:
  7155. //
  7156. //  The WMI data provider could not be located.
  7157. //
  7158. #define ERROR_WMI_DP_NOT_FOUND           4204L
  7159.  
  7160. //
  7161. // MessageId: ERROR_WMI_UNRESOLVED_INSTANCE_REF
  7162. //
  7163. // MessageText:
  7164. //
  7165. //  The WMI data provider references an instance set that has not been registered.
  7166. //
  7167. #define ERROR_WMI_UNRESOLVED_INSTANCE_REF 4205L
  7168.  
  7169. //
  7170. // MessageId: ERROR_WMI_ALREADY_ENABLED
  7171. //
  7172. // MessageText:
  7173. //
  7174. //  The WMI data block or event notification has already been enabled.
  7175. //
  7176. #define ERROR_WMI_ALREADY_ENABLED        4206L
  7177.  
  7178. //
  7179. // MessageId: ERROR_WMI_GUID_DISCONNECTED
  7180. //
  7181. // MessageText:
  7182. //
  7183. //  The WMI data block is no longer available.
  7184. //
  7185. #define ERROR_WMI_GUID_DISCONNECTED      4207L
  7186.  
  7187. //
  7188. // MessageId: ERROR_WMI_SERVER_UNAVAILABLE
  7189. //
  7190. // MessageText:
  7191. //
  7192. //  The WMI data service is not available.
  7193. //
  7194. #define ERROR_WMI_SERVER_UNAVAILABLE     4208L
  7195.  
  7196. //
  7197. // MessageId: ERROR_WMI_DP_FAILED
  7198. //
  7199. // MessageText:
  7200. //
  7201. //  The WMI data provider failed to carry out the request.
  7202. //
  7203. #define ERROR_WMI_DP_FAILED              4209L
  7204.  
  7205. //
  7206. // MessageId: ERROR_WMI_INVALID_MOF
  7207. //
  7208. // MessageText:
  7209. //
  7210. //  The WMI MOF information is not valid.
  7211. //
  7212. #define ERROR_WMI_INVALID_MOF            4210L
  7213.  
  7214. //
  7215. // MessageId: ERROR_WMI_INVALID_REGINFO
  7216. //
  7217. // MessageText:
  7218. //
  7219. //  The WMI registration information is not valid.
  7220. //
  7221. #define ERROR_WMI_INVALID_REGINFO        4211L
  7222.  
  7223. ////////////////////////////////////
  7224. //                                //
  7225. // NT Media Services Error Codes  //
  7226. //                                //
  7227. ////////////////////////////////////
  7228. //
  7229. // MessageId: ERROR_INVALID_MEDIA
  7230. //
  7231. // MessageText:
  7232. //
  7233. //  The media identifier does not represent a valid medium.
  7234. //
  7235. #define ERROR_INVALID_MEDIA              4300L
  7236.  
  7237. //
  7238. // MessageId: ERROR_INVALID_LIBRARY
  7239. //
  7240. // MessageText:
  7241. //
  7242. //  The library identifier does not represent a valid library.
  7243. //
  7244. #define ERROR_INVALID_LIBRARY            4301L
  7245.  
  7246. //
  7247. // MessageId: ERROR_INVALID_MEDIA_POOL
  7248. //
  7249. // MessageText:
  7250. //
  7251. //  The media pool identifier does not represent a valid media pool.
  7252. //
  7253. #define ERROR_INVALID_MEDIA_POOL         4302L
  7254.  
  7255. //
  7256. // MessageId: ERROR_DRIVE_MEDIA_MISMATCH
  7257. //
  7258. // MessageText:
  7259. //
  7260. //  The drive and medium are not compatible or exist in different libraries.
  7261. //
  7262. #define ERROR_DRIVE_MEDIA_MISMATCH       4303L
  7263.  
  7264. //
  7265. // MessageId: ERROR_MEDIA_OFFLINE
  7266. //
  7267. // MessageText:
  7268. //
  7269. //  The medium currently exists in an offline library and must be online to perform this operation.
  7270. //
  7271. #define ERROR_MEDIA_OFFLINE              4304L
  7272.  
  7273. //
  7274. // MessageId: ERROR_LIBRARY_OFFLINE
  7275. //
  7276. // MessageText:
  7277. //
  7278. //  The operation cannot be performed on an offline library.
  7279. //
  7280. #define ERROR_LIBRARY_OFFLINE            4305L
  7281.  
  7282. //
  7283. // MessageId: ERROR_EMPTY
  7284. //
  7285. // MessageText:
  7286. //
  7287. //  The library, drive, or media pool is empty.
  7288. //
  7289. #define ERROR_EMPTY                      4306L
  7290.  
  7291. //
  7292. // MessageId: ERROR_NOT_EMPTY
  7293. //
  7294. // MessageText:
  7295. //
  7296. //  The library, drive, or media pool must be empty to perform this operation.
  7297. //
  7298. #define ERROR_NOT_EMPTY                  4307L
  7299.  
  7300. //
  7301. // MessageId: ERROR_MEDIA_UNAVAILABLE
  7302. //
  7303. // MessageText:
  7304. //
  7305. //  No media is currently available in this media pool or library.
  7306. //
  7307. #define ERROR_MEDIA_UNAVAILABLE          4308L
  7308.  
  7309. //
  7310. // MessageId: ERROR_RESOURCE_DISABLED
  7311. //
  7312. // MessageText:
  7313. //
  7314. //  A resource required for this operation is disabled.
  7315. //
  7316. #define ERROR_RESOURCE_DISABLED          4309L
  7317.  
  7318. //
  7319. // MessageId: ERROR_INVALID_CLEANER
  7320. //
  7321. // MessageText:
  7322. //
  7323. //  The media identifier does not represent a valid cleaner.
  7324. //
  7325. #define ERROR_INVALID_CLEANER            4310L
  7326.  
  7327. //
  7328. // MessageId: ERROR_UNABLE_TO_CLEAN
  7329. //
  7330. // MessageText:
  7331. //
  7332. //  The drive cannot be cleaned or does not support cleaning.
  7333. //
  7334. #define ERROR_UNABLE_TO_CLEAN            4311L
  7335.  
  7336. //
  7337. // MessageId: ERROR_OBJECT_NOT_FOUND
  7338. //
  7339. // MessageText:
  7340. //
  7341. //  The object identifier does not represent a valid object.
  7342. //
  7343. #define ERROR_OBJECT_NOT_FOUND           4312L
  7344.  
  7345. //
  7346. // MessageId: ERROR_DATABASE_FAILURE
  7347. //
  7348. // MessageText:
  7349. //
  7350. //  Unable to read from or write to the database.
  7351. //
  7352. #define ERROR_DATABASE_FAILURE           4313L
  7353.  
  7354. //
  7355. // MessageId: ERROR_DATABASE_FULL
  7356. //
  7357. // MessageText:
  7358. //
  7359. //  The database is full.
  7360. //
  7361. #define ERROR_DATABASE_FULL              4314L
  7362.  
  7363. //
  7364. // MessageId: ERROR_MEDIA_INCOMPATIBLE
  7365. //
  7366. // MessageText:
  7367. //
  7368. //  The medium is not compatible with the device or media pool.
  7369. //
  7370. #define ERROR_MEDIA_INCOMPATIBLE         4315L
  7371.  
  7372. //
  7373. // MessageId: ERROR_RESOURCE_NOT_PRESENT
  7374. //
  7375. // MessageText:
  7376. //
  7377. //  The resource required for this operation does not exist.
  7378. //
  7379. #define ERROR_RESOURCE_NOT_PRESENT       4316L
  7380.  
  7381. //
  7382. // MessageId: ERROR_INVALID_OPERATION
  7383. //
  7384. // MessageText:
  7385. //
  7386. //  The operation identifier is not valid.
  7387. //
  7388. #define ERROR_INVALID_OPERATION          4317L
  7389.  
  7390. //
  7391. // MessageId: ERROR_MEDIA_NOT_AVAILABLE
  7392. //
  7393. // MessageText:
  7394. //
  7395. //  The media is not mounted or ready for use.
  7396. //
  7397. #define ERROR_MEDIA_NOT_AVAILABLE        4318L
  7398.  
  7399. //
  7400. // MessageId: ERROR_DEVICE_NOT_AVAILABLE
  7401. //
  7402. // MessageText:
  7403. //
  7404. //  The device is not ready for use.
  7405. //
  7406. #define ERROR_DEVICE_NOT_AVAILABLE       4319L
  7407.  
  7408. //
  7409. // MessageId: ERROR_REQUEST_REFUSED
  7410. //
  7411. // MessageText:
  7412. //
  7413. //  The operator or administrator has refused the request.
  7414. //
  7415. #define ERROR_REQUEST_REFUSED            4320L
  7416.  
  7417. ////////////////////////////////////////////
  7418. //                                        //
  7419. // NT Remote Storage Service Error Codes  //
  7420. //                                        //
  7421. ////////////////////////////////////////////
  7422. //
  7423. // MessageId: ERROR_FILE_OFFLINE
  7424. //
  7425. // MessageText:
  7426. //
  7427. //  The remote storage service was not able to recall the file.
  7428. //
  7429. #define ERROR_FILE_OFFLINE               4350L
  7430.  
  7431. //
  7432. // MessageId: ERROR_REMOTE_STORAGE_NOT_ACTIVE
  7433. //
  7434. // MessageText:
  7435. //
  7436. //  The remote storage service is not operational at this time.
  7437. //
  7438. #define ERROR_REMOTE_STORAGE_NOT_ACTIVE  4351L
  7439.  
  7440. //
  7441. // MessageId: ERROR_REMOTE_STORAGE_MEDIA_ERROR
  7442. //
  7443. // MessageText:
  7444. //
  7445. //  The remote storage service encountered a media error.
  7446. //
  7447. #define ERROR_REMOTE_STORAGE_MEDIA_ERROR 4352L
  7448.  
  7449. ////////////////////////////////////////////
  7450. //                                        //
  7451. // NT Reparse Points Error Codes          //
  7452. //                                        //
  7453. ////////////////////////////////////////////
  7454. //
  7455. // MessageId: ERROR_NOT_A_REPARSE_POINT
  7456. //
  7457. // MessageText:
  7458. //
  7459. //  The file or directory is not a reparse point.
  7460. //
  7461. #define ERROR_NOT_A_REPARSE_POINT        4390L
  7462.  
  7463. //
  7464. // MessageId: ERROR_REPARSE_ATTRIBUTE_CONFLICT
  7465. //
  7466. // MessageText:
  7467. //
  7468. //  The reparse point attribute cannot be set because it conflicts with an existing attribute.
  7469. //
  7470. #define ERROR_REPARSE_ATTRIBUTE_CONFLICT 4391L
  7471.  
  7472. ////////////////////////////////////
  7473. //                                //
  7474. //     Cluster Error Codes        //
  7475. //                                //
  7476. ////////////////////////////////////
  7477. //
  7478. // MessageId: ERROR_DEPENDENT_RESOURCE_EXISTS
  7479. //
  7480. // MessageText:
  7481. //
  7482. //  The cluster resource cannot be moved to another group because other resources are dependent on it.
  7483. //
  7484. #define ERROR_DEPENDENT_RESOURCE_EXISTS  5001L
  7485.  
  7486. //
  7487. // MessageId: ERROR_DEPENDENCY_NOT_FOUND
  7488. //
  7489. // MessageText:
  7490. //
  7491. //  The cluster resource dependency cannot be found.
  7492. //
  7493. #define ERROR_DEPENDENCY_NOT_FOUND       5002L
  7494.  
  7495. //
  7496. // MessageId: ERROR_DEPENDENCY_ALREADY_EXISTS
  7497. //
  7498. // MessageText:
  7499. //
  7500. //  The cluster resource cannot be made dependent on the specified resource because it is already dependent.
  7501. //
  7502. #define ERROR_DEPENDENCY_ALREADY_EXISTS  5003L
  7503.  
  7504. //
  7505. // MessageId: ERROR_RESOURCE_NOT_ONLINE
  7506. //
  7507. // MessageText:
  7508. //
  7509. //  The cluster resource is not online.
  7510. //
  7511. #define ERROR_RESOURCE_NOT_ONLINE        5004L
  7512.  
  7513. //
  7514. // MessageId: ERROR_HOST_NODE_NOT_AVAILABLE
  7515. //
  7516. // MessageText:
  7517. //
  7518. //  A cluster node is not available for this operation.
  7519. //
  7520. #define ERROR_HOST_NODE_NOT_AVAILABLE    5005L
  7521.  
  7522. //
  7523. // MessageId: ERROR_RESOURCE_NOT_AVAILABLE
  7524. //
  7525. // MessageText:
  7526. //
  7527. //  The cluster resource is not available.
  7528. //
  7529. #define ERROR_RESOURCE_NOT_AVAILABLE     5006L
  7530.  
  7531. //
  7532. // MessageId: ERROR_RESOURCE_NOT_FOUND
  7533. //
  7534. // MessageText:
  7535. //
  7536. //  The cluster resource could not be found.
  7537. //
  7538. #define ERROR_RESOURCE_NOT_FOUND         5007L
  7539.  
  7540. //
  7541. // MessageId: ERROR_SHUTDOWN_CLUSTER
  7542. //
  7543. // MessageText:
  7544. //
  7545. //  The cluster is being shut down.
  7546. //
  7547. #define ERROR_SHUTDOWN_CLUSTER           5008L
  7548.  
  7549. //
  7550. // MessageId: ERROR_CANT_EVICT_ACTIVE_NODE
  7551. //
  7552. // MessageText:
  7553. //
  7554. //  A cluster node cannot be evicted from the cluster while it is online.
  7555. //
  7556. #define ERROR_CANT_EVICT_ACTIVE_NODE     5009L
  7557.  
  7558. //
  7559. // MessageId: ERROR_OBJECT_ALREADY_EXISTS
  7560. //
  7561. // MessageText:
  7562. //
  7563. //  The object already exists.
  7564. //
  7565. #define ERROR_OBJECT_ALREADY_EXISTS      5010L
  7566.  
  7567. //
  7568. // MessageId: ERROR_OBJECT_IN_LIST
  7569. //
  7570. // MessageText:
  7571. //
  7572. //  The object is already in the list.
  7573. //
  7574. #define ERROR_OBJECT_IN_LIST             5011L
  7575.  
  7576. //
  7577. // MessageId: ERROR_GROUP_NOT_AVAILABLE
  7578. //
  7579. // MessageText:
  7580. //
  7581. //  The cluster group is not available for any new requests.
  7582. //
  7583. #define ERROR_GROUP_NOT_AVAILABLE        5012L
  7584.  
  7585. //
  7586. // MessageId: ERROR_GROUP_NOT_FOUND
  7587. //
  7588. // MessageText:
  7589. //
  7590. //  The cluster group could not be found.
  7591. //
  7592. #define ERROR_GROUP_NOT_FOUND            5013L
  7593.  
  7594. //
  7595. // MessageId: ERROR_GROUP_NOT_ONLINE
  7596. //
  7597. // MessageText:
  7598. //
  7599. //  The operation could not be completed because the cluster group is not online.
  7600. //
  7601. #define ERROR_GROUP_NOT_ONLINE           5014L
  7602.  
  7603. //
  7604. // MessageId: ERROR_HOST_NODE_NOT_RESOURCE_OWNER
  7605. //
  7606. // MessageText:
  7607. //
  7608. //  The cluster node is not the owner of the resource.
  7609. //
  7610. #define ERROR_HOST_NODE_NOT_RESOURCE_OWNER 5015L
  7611.  
  7612. //
  7613. // MessageId: ERROR_HOST_NODE_NOT_GROUP_OWNER
  7614. //
  7615. // MessageText:
  7616. //
  7617. //  The cluster node is not the owner of the group.
  7618. //
  7619. #define ERROR_HOST_NODE_NOT_GROUP_OWNER  5016L
  7620.  
  7621. //
  7622. // MessageId: ERROR_RESMON_CREATE_FAILED
  7623. //
  7624. // MessageText:
  7625. //
  7626. //  The cluster resource could not be created in the specified resource monitor.
  7627. //
  7628. #define ERROR_RESMON_CREATE_FAILED       5017L
  7629.  
  7630. //
  7631. // MessageId: ERROR_RESMON_ONLINE_FAILED
  7632. //
  7633. // MessageText:
  7634. //
  7635. //  The cluster resource could not be brought online by the resource monitor.
  7636. //
  7637. #define ERROR_RESMON_ONLINE_FAILED       5018L
  7638.  
  7639. //
  7640. // MessageId: ERROR_RESOURCE_ONLINE
  7641. //
  7642. // MessageText:
  7643. //
  7644. //  The operation could not be completed because the cluster resource is online.
  7645. //
  7646. #define ERROR_RESOURCE_ONLINE            5019L
  7647.  
  7648. //
  7649. // MessageId: ERROR_QUORUM_RESOURCE
  7650. //
  7651. // MessageText:
  7652. //
  7653. //  The cluster resource could not be deleted or brought offline because it is the quorum resource.
  7654. //
  7655. #define ERROR_QUORUM_RESOURCE            5020L
  7656.  
  7657. //
  7658. // MessageId: ERROR_NOT_QUORUM_CAPABLE
  7659. //
  7660. // MessageText:
  7661. //
  7662. //  The cluster could not make the specified resource a quorum resource because it is not capable of being a quorum resource.
  7663. //
  7664. #define ERROR_NOT_QUORUM_CAPABLE         5021L
  7665.  
  7666. //
  7667. // MessageId: ERROR_CLUSTER_SHUTTING_DOWN
  7668. //
  7669. // MessageText:
  7670. //
  7671. //  The cluster software is shutting down.
  7672. //
  7673. #define ERROR_CLUSTER_SHUTTING_DOWN      5022L
  7674.  
  7675. //
  7676. // MessageId: ERROR_INVALID_STATE
  7677. //
  7678. // MessageText:
  7679. //
  7680. //  The group or resource is not in the correct state to perform the requested operation.
  7681. //
  7682. #define ERROR_INVALID_STATE              5023L
  7683.  
  7684. //
  7685. // MessageId: ERROR_RESOURCE_PROPERTIES_STORED
  7686. //
  7687. // MessageText:
  7688. //
  7689. //  The properties were stored but not all changes will take effect until the next
  7690. //  time the resource is brought online.
  7691. //
  7692. #define ERROR_RESOURCE_PROPERTIES_STORED 5024L
  7693.  
  7694. //
  7695. // MessageId: ERROR_NOT_QUORUM_CLASS
  7696. //
  7697. // MessageText:
  7698. //
  7699. //  The cluster could not make the specified resource a quorum resource because it does not belong to a shared storage class.
  7700. //
  7701. #define ERROR_NOT_QUORUM_CLASS           5025L
  7702.  
  7703. //
  7704. // MessageId: ERROR_CORE_RESOURCE
  7705. //
  7706. // MessageText:
  7707. //
  7708. //  The cluster resource could not be deleted since it is a core resource.
  7709. //
  7710. #define ERROR_CORE_RESOURCE              5026L
  7711.  
  7712. //
  7713. // MessageId: ERROR_QUORUM_RESOURCE_ONLINE_FAILED
  7714. //
  7715. // MessageText:
  7716. //
  7717. //  The quorum resource failed to come online.
  7718. //
  7719. #define ERROR_QUORUM_RESOURCE_ONLINE_FAILED 5027L
  7720.  
  7721. //
  7722. // MessageId: ERROR_QUORUMLOG_OPEN_FAILED
  7723. //
  7724. // MessageText:
  7725. //
  7726. //  The quorum log could not be created or mounted successfully.
  7727. //
  7728. #define ERROR_QUORUMLOG_OPEN_FAILED      5028L
  7729.  
  7730. //
  7731. // MessageId: ERROR_CLUSTERLOG_CORRUPT
  7732. //
  7733. // MessageText:
  7734. //
  7735. //  The cluster log is corrupt.
  7736. //
  7737. #define ERROR_CLUSTERLOG_CORRUPT         5029L
  7738.  
  7739. //
  7740. // MessageId: ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE
  7741. //
  7742. // MessageText:
  7743. //
  7744. //  The record could not be written to the cluster log since it exceeds the maximum size.
  7745. //
  7746. #define ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE 5030L
  7747.  
  7748. //
  7749. // MessageId: ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE
  7750. //
  7751. // MessageText:
  7752. //
  7753. //  The cluster log exceeds its maximum size.
  7754. //
  7755. #define ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE 5031L
  7756.  
  7757. //
  7758. // MessageId: ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND
  7759. //
  7760. // MessageText:
  7761. //
  7762. //  No checkpoint record was found in the cluster log.
  7763. //
  7764. #define ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND 5032L
  7765.  
  7766. //
  7767. // MessageId: ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE
  7768. //
  7769. // MessageText:
  7770. //
  7771. //  The minimum required disk space needed for logging is not available.
  7772. //
  7773. #define ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE 5033L
  7774.  
  7775. ////////////////////////////////////
  7776. //                                //
  7777. //     EFS Error Codes            //
  7778. //                                //
  7779. ////////////////////////////////////
  7780. //
  7781. // MessageId: ERROR_ENCRYPTION_FAILED
  7782. //
  7783. // MessageText:
  7784. //
  7785. //  The specified file could not be encrypted.
  7786. //
  7787. #define ERROR_ENCRYPTION_FAILED          6000L
  7788.  
  7789. //
  7790. // MessageId: ERROR_DECRYPTION_FAILED
  7791. //
  7792. // MessageText:
  7793. //
  7794. //  The specified file could not be decrypted.
  7795. //
  7796. #define ERROR_DECRYPTION_FAILED          6001L
  7797.  
  7798. //
  7799. // MessageId: ERROR_FILE_ENCRYPTED
  7800. //
  7801. // MessageText:
  7802. //
  7803. //  The specified file is encrypted and the user does not have the ability to decrypt it.
  7804. //
  7805. #define ERROR_FILE_ENCRYPTED             6002L
  7806.  
  7807. //
  7808. // MessageId: ERROR_NO_RECOVERY_POLICY
  7809. //
  7810. // MessageText:
  7811. //
  7812. //  There is no encryption recovery policy configured for this system.
  7813. //
  7814. #define ERROR_NO_RECOVERY_POLICY         6003L
  7815.  
  7816. //
  7817. // MessageId: ERROR_NO_EFS
  7818. //
  7819. // MessageText:
  7820. //
  7821. //  The required encryption driver is not loaded for this system.
  7822. //
  7823. #define ERROR_NO_EFS                     6004L
  7824.  
  7825. //
  7826. // MessageId: ERROR_WRONG_EFS
  7827. //
  7828. // MessageText:
  7829. //
  7830. //  The file was encrypted with a different encryption driver than is currently loaded.
  7831. //
  7832. #define ERROR_WRONG_EFS                  6005L
  7833.  
  7834. //
  7835. // MessageId: ERROR_NO_USER_KEYS
  7836. //
  7837. // MessageText:
  7838. //
  7839. //  There are no EFS keys defined for the user.
  7840. //
  7841. #define ERROR_NO_USER_KEYS               6006L
  7842.  
  7843. //
  7844. // MessageId: ERROR_FILE_NOT_ENCRYPTED
  7845. //
  7846. // MessageText:
  7847. //
  7848. //  The specified file is not encrypted.
  7849. //
  7850. #define ERROR_FILE_NOT_ENCRYPTED         6007L
  7851.  
  7852. //
  7853. // MessageId: ERROR_NOT_EXPORT_FORMAT
  7854. //
  7855. // MessageText:
  7856. //
  7857. //  The specified file is not in the defined EFS export format.
  7858. //
  7859. #define ERROR_NOT_EXPORT_FORMAT          6008L
  7860.  
  7861. ////////////////////////////////////
  7862. //                                //
  7863. //     OLE Error Codes            //
  7864. //                                //
  7865. ////////////////////////////////////
  7866.  
  7867. //
  7868. // OLE error definitions and values
  7869. //
  7870. // The return value of OLE APIs and methods is an HRESULT.
  7871. // This is not a handle to anything, but is merely a 32-bit value
  7872. // with several fields encoded in the value.  The parts of an
  7873. // HRESULT are shown below.
  7874. //
  7875. // Many of the macros and functions below were orginally defined to
  7876. // operate on SCODEs.  SCODEs are no longer used.  The macros are
  7877. // still present for compatibility and easy porting of Win16 code.
  7878. // Newly written code should use the HRESULT macros and functions.
  7879. //
  7880.  
  7881. //
  7882. //  HRESULTs are 32 bit values layed out as follows:
  7883. //
  7884. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  7885. //   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
  7886. //  +-+-+-+-+-+---------------------+-------------------------------+
  7887. //  |S|R|C|N|r|    Facility         |               Code            |
  7888. //  +-+-+-+-+-+---------------------+-------------------------------+
  7889. //
  7890. //  where
  7891. //
  7892. //      S - Severity - indicates success/fail
  7893. //
  7894. //          0 - Success
  7895. //          1 - Fail (COERROR)
  7896. //
  7897. //      R - reserved portion of the facility code, corresponds to NT's
  7898. //              second severity bit.
  7899. //
  7900. //      C - reserved portion of the facility code, corresponds to NT's
  7901. //              C field.
  7902. //
  7903. //      N - reserved portion of the facility code. Used to indicate a
  7904. //              mapped NT status value.
  7905. //
  7906. //      r - reserved portion of the facility code. Reserved for internal
  7907. //              use. Used to indicate HRESULT values that are not status
  7908. //              values, but are instead message ids for display strings.
  7909. //
  7910. //      Facility - is the facility code
  7911. //
  7912. //      Code - is the facility's status code
  7913. //
  7914.  
  7915. //
  7916. // Severity values
  7917. //
  7918.  
  7919. #define SEVERITY_SUCCESS    0
  7920. #define SEVERITY_ERROR      1
  7921.  
  7922.  
  7923. //
  7924. // Generic test for success on any status value (non-negative numbers
  7925. // indicate success).
  7926. //
  7927.  
  7928. #define SUCCEEDED(Status) ((HRESULT)(Status) >= 0)
  7929.  
  7930. //
  7931. // and the inverse
  7932. //
  7933.  
  7934. #define FAILED(Status) ((HRESULT)(Status)<0)
  7935.  
  7936.  
  7937. //
  7938. // Generic test for error on any status value.
  7939. //
  7940.  
  7941. #define IS_ERROR(Status) ((unsigned long)(Status) >> 31 == SEVERITY_ERROR)
  7942.  
  7943. //
  7944. // Return the code
  7945. //
  7946.  
  7947. #define HRESULT_CODE(hr)    ((hr) & 0xFFFF)
  7948. #define SCODE_CODE(sc)      ((sc) & 0xFFFF)
  7949.  
  7950. //
  7951. //  Return the facility
  7952. //
  7953.  
  7954. #define HRESULT_FACILITY(hr)  (((hr) >> 16) & 0x1fff)
  7955. #define SCODE_FACILITY(sc)    (((sc) >> 16) & 0x1fff)
  7956.  
  7957. //
  7958. //  Return the severity
  7959. //
  7960.  
  7961. #define HRESULT_SEVERITY(hr)  (((hr) >> 31) & 0x1)
  7962. #define SCODE_SEVERITY(sc)    (((sc) >> 31) & 0x1)
  7963.  
  7964. //
  7965. // Create an HRESULT value from component pieces
  7966. //
  7967.  
  7968. #define MAKE_HRESULT(sev,fac,code) \
  7969.     ((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
  7970. #define MAKE_SCODE(sev,fac,code) \
  7971.     ((SCODE) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
  7972.  
  7973.  
  7974. //
  7975. // Map a WIN32 error value into a HRESULT
  7976. // Note: This assumes that WIN32 errors fall in the range -32k to 32k.
  7977. //
  7978. // Define bits here so macros are guaranteed to work
  7979.  
  7980. #define FACILITY_NT_BIT                 0x10000000
  7981. #define HRESULT_FROM_WIN32(x)   (x ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : 0 )
  7982.  
  7983. //
  7984. // Map an NT status value into a HRESULT
  7985. //
  7986.  
  7987. #define HRESULT_FROM_NT(x)      ((HRESULT) ((x) | FACILITY_NT_BIT))
  7988.  
  7989.  
  7990. // ****** OBSOLETE functions
  7991.  
  7992. // HRESULT functions
  7993. // As noted above, these functions are obsolete and should not be used.
  7994.  
  7995.  
  7996. // Extract the SCODE from a HRESULT
  7997.  
  7998. #define GetScode(hr) ((SCODE) (hr))
  7999.  
  8000. // Convert an SCODE into an HRESULT.
  8001.  
  8002. #define ResultFromScode(sc) ((HRESULT) (sc))
  8003.  
  8004.  
  8005. // PropagateResult is a noop
  8006. #define PropagateResult(hrPrevious, scBase) ((HRESULT) scBase)
  8007.  
  8008.  
  8009. // ****** End of OBSOLETE functions.
  8010.  
  8011.  
  8012. // ---------------------- HRESULT value definitions -----------------
  8013. //
  8014. // HRESULT definitions
  8015. //
  8016.  
  8017. #ifdef RC_INVOKED
  8018. #define _HRESULT_TYPEDEF_(_sc) _sc
  8019. #else // RC_INVOKED
  8020. #define _HRESULT_TYPEDEF_(_sc) ((HRESULT)_sc)
  8021. #endif // RC_INVOKED
  8022.  
  8023. #define NOERROR             0
  8024.  
  8025. //
  8026. // Error definitions follow
  8027. //
  8028.  
  8029. //
  8030. // Codes 0x4000-0x40ff are reserved for OLE
  8031. //
  8032. //
  8033. // Error codes
  8034. //
  8035. //
  8036. // MessageId: E_UNEXPECTED
  8037. //
  8038. // MessageText:
  8039. //
  8040. //  Catastrophic failure
  8041. //
  8042. #define E_UNEXPECTED                     _HRESULT_TYPEDEF_(0x8000FFFFL)
  8043.  
  8044. #if defined(_WIN32) && !defined(_MAC)
  8045. //
  8046. // MessageId: E_NOTIMPL
  8047. //
  8048. // MessageText:
  8049. //
  8050. //  Not implemented
  8051. //
  8052. #define E_NOTIMPL                        _HRESULT_TYPEDEF_(0x80004001L)
  8053.  
  8054. //
  8055. // MessageId: E_OUTOFMEMORY
  8056. //
  8057. // MessageText:
  8058. //
  8059. //  Ran out of memory
  8060. //
  8061. #define E_OUTOFMEMORY                    _HRESULT_TYPEDEF_(0x8007000EL)
  8062.  
  8063. //
  8064. // MessageId: E_INVALIDARG
  8065. //
  8066. // MessageText:
  8067. //
  8068. //  One or more arguments are invalid
  8069. //
  8070. #define E_INVALIDARG                     _HRESULT_TYPEDEF_(0x80070057L)
  8071.  
  8072. //
  8073. // MessageId: E_NOINTERFACE
  8074. //
  8075. // MessageText:
  8076. //
  8077. //  No such interface supported
  8078. //
  8079. #define E_NOINTERFACE                    _HRESULT_TYPEDEF_(0x80004002L)
  8080.  
  8081. //
  8082. // MessageId: E_POINTER
  8083. //
  8084. // MessageText:
  8085. //
  8086. //  Invalid pointer
  8087. //
  8088. #define E_POINTER                        _HRESULT_TYPEDEF_(0x80004003L)
  8089.  
  8090. //
  8091. // MessageId: E_HANDLE
  8092. //
  8093. // MessageText:
  8094. //
  8095. //  Invalid handle
  8096. //
  8097. #define E_HANDLE                         _HRESULT_TYPEDEF_(0x80070006L)
  8098.  
  8099. //
  8100. // MessageId: E_ABORT
  8101. //
  8102. // MessageText:
  8103. //
  8104. //  Operation aborted
  8105. //
  8106. #define E_ABORT                          _HRESULT_TYPEDEF_(0x80004004L)
  8107.  
  8108. //
  8109. // MessageId: E_FAIL
  8110. //
  8111. // MessageText:
  8112. //
  8113. //  Unspecified error
  8114. //
  8115. #define E_FAIL                           _HRESULT_TYPEDEF_(0x80004005L)
  8116.  
  8117. //
  8118. // MessageId: E_ACCESSDENIED
  8119. //
  8120. // MessageText:
  8121. //
  8122. //  General access denied error
  8123. //
  8124. #define E_ACCESSDENIED                   _HRESULT_TYPEDEF_(0x80070005L)
  8125.  
  8126. #else
  8127. //
  8128. // MessageId: E_NOTIMPL
  8129. //
  8130. // MessageText:
  8131. //
  8132. //  Not implemented
  8133. //
  8134. #define E_NOTIMPL                        _HRESULT_TYPEDEF_(0x80000001L)
  8135.  
  8136. //
  8137. // MessageId: E_OUTOFMEMORY
  8138. //
  8139. // MessageText:
  8140. //
  8141. //  Ran out of memory
  8142. //
  8143. #define E_OUTOFMEMORY                    _HRESULT_TYPEDEF_(0x80000002L)
  8144.  
  8145. //
  8146. // MessageId: E_INVALIDARG
  8147. //
  8148. // MessageText:
  8149. //
  8150. //  One or more arguments are invalid
  8151. //
  8152. #define E_INVALIDARG                     _HRESULT_TYPEDEF_(0x80000003L)
  8153.  
  8154. //
  8155. // MessageId: E_NOINTERFACE
  8156. //
  8157. // MessageText:
  8158. //
  8159. //  No such interface supported
  8160. //
  8161. #define E_NOINTERFACE                    _HRESULT_TYPEDEF_(0x80000004L)
  8162.  
  8163. //
  8164. // MessageId: E_POINTER
  8165. //
  8166. // MessageText:
  8167. //
  8168. //  Invalid pointer
  8169. //
  8170. #define E_POINTER                        _HRESULT_TYPEDEF_(0x80000005L)
  8171.  
  8172. //
  8173. // MessageId: E_HANDLE
  8174. //
  8175. // MessageText:
  8176. //
  8177. //  Invalid handle
  8178. //
  8179. #define E_HANDLE                         _HRESULT_TYPEDEF_(0x80000006L)
  8180.  
  8181. //
  8182. // MessageId: E_ABORT
  8183. //
  8184. // MessageText:
  8185. //
  8186. //  Operation aborted
  8187. //
  8188. #define E_ABORT                          _HRESULT_TYPEDEF_(0x80000007L)
  8189.  
  8190. //
  8191. // MessageId: E_FAIL
  8192. //
  8193. // MessageText:
  8194. //
  8195. //  Unspecified error
  8196. //
  8197. #define E_FAIL                           _HRESULT_TYPEDEF_(0x80000008L)
  8198.  
  8199. //
  8200. // MessageId: E_ACCESSDENIED
  8201. //
  8202. // MessageText:
  8203. //
  8204. //  General access denied error
  8205. //
  8206. #define E_ACCESSDENIED                   _HRESULT_TYPEDEF_(0x80000009L)
  8207.  
  8208. #endif //WIN32
  8209. //
  8210. // MessageId: E_PENDING
  8211. //
  8212. // MessageText:
  8213. //
  8214. //  The data necessary to complete this operation is not yet available.
  8215. //
  8216. #define E_PENDING                        _HRESULT_TYPEDEF_(0x8000000AL)
  8217.  
  8218. //
  8219. // MessageId: CO_E_INIT_TLS
  8220. //
  8221. // MessageText:
  8222. //
  8223. //  Thread local storage failure
  8224. //
  8225. #define CO_E_INIT_TLS                    _HRESULT_TYPEDEF_(0x80004006L)
  8226.  
  8227. //
  8228. // MessageId: CO_E_INIT_SHARED_ALLOCATOR
  8229. //
  8230. // MessageText:
  8231. //
  8232. //  Get shared memory allocator failure
  8233. //
  8234. #define CO_E_INIT_SHARED_ALLOCATOR       _HRESULT_TYPEDEF_(0x80004007L)
  8235.  
  8236. //
  8237. // MessageId: CO_E_INIT_MEMORY_ALLOCATOR
  8238. //
  8239. // MessageText:
  8240. //
  8241. //  Get memory allocator failure
  8242. //
  8243. #define CO_E_INIT_MEMORY_ALLOCATOR       _HRESULT_TYPEDEF_(0x80004008L)
  8244.  
  8245. //
  8246. // MessageId: CO_E_INIT_CLASS_CACHE
  8247. //
  8248. // MessageText:
  8249. //
  8250. //  Unable to initialize class cache
  8251. //
  8252. #define CO_E_INIT_CLASS_CACHE            _HRESULT_TYPEDEF_(0x80004009L)
  8253.  
  8254. //
  8255. // MessageId: CO_E_INIT_RPC_CHANNEL
  8256. //
  8257. // MessageText:
  8258. //
  8259. //  Unable to initialize RPC services
  8260. //
  8261. #define CO_E_INIT_RPC_CHANNEL            _HRESULT_TYPEDEF_(0x8000400AL)
  8262.  
  8263. //
  8264. // MessageId: CO_E_INIT_TLS_SET_CHANNEL_CONTROL
  8265. //
  8266. // MessageText:
  8267. //
  8268. //  Cannot set thread local storage channel control
  8269. //
  8270. #define CO_E_INIT_TLS_SET_CHANNEL_CONTROL _HRESULT_TYPEDEF_(0x8000400BL)
  8271.  
  8272. //
  8273. // MessageId: CO_E_INIT_TLS_CHANNEL_CONTROL
  8274. //
  8275. // MessageText:
  8276. //
  8277. //  Could not allocate thread local storage channel control
  8278. //
  8279. #define CO_E_INIT_TLS_CHANNEL_CONTROL    _HRESULT_TYPEDEF_(0x8000400CL)
  8280.  
  8281. //
  8282. // MessageId: CO_E_INIT_UNACCEPTED_USER_ALLOCATOR
  8283. //
  8284. // MessageText:
  8285. //
  8286. //  The user supplied memory allocator is unacceptable
  8287. //
  8288. #define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR _HRESULT_TYPEDEF_(0x8000400DL)
  8289.  
  8290. //
  8291. // MessageId: CO_E_INIT_SCM_MUTEX_EXISTS
  8292. //
  8293. // MessageText:
  8294. //
  8295. //  The OLE service mutex already exists
  8296. //
  8297. #define CO_E_INIT_SCM_MUTEX_EXISTS       _HRESULT_TYPEDEF_(0x8000400EL)
  8298.  
  8299. //
  8300. // MessageId: CO_E_INIT_SCM_FILE_MAPPING_EXISTS
  8301. //
  8302. // MessageText:
  8303. //
  8304. //  The OLE service file mapping already exists
  8305. //
  8306. #define CO_E_INIT_SCM_FILE_MAPPING_EXISTS _HRESULT_TYPEDEF_(0x8000400FL)
  8307.  
  8308. //
  8309. // MessageId: CO_E_INIT_SCM_MAP_VIEW_OF_FILE
  8310. //
  8311. // MessageText:
  8312. //
  8313. //  Unable to map view of file for OLE service
  8314. //
  8315. #define CO_E_INIT_SCM_MAP_VIEW_OF_FILE   _HRESULT_TYPEDEF_(0x80004010L)
  8316.  
  8317. //
  8318. // MessageId: CO_E_INIT_SCM_EXEC_FAILURE
  8319. //
  8320. // MessageText:
  8321. //
  8322. //  Failure attempting to launch OLE service
  8323. //
  8324. #define CO_E_INIT_SCM_EXEC_FAILURE       _HRESULT_TYPEDEF_(0x80004011L)
  8325.  
  8326. //
  8327. // MessageId: CO_E_INIT_ONLY_SINGLE_THREADED
  8328. //
  8329. // MessageText:
  8330. //
  8331. //  There was an attempt to call CoInitialize a second time while single threaded
  8332. //
  8333. #define CO_E_INIT_ONLY_SINGLE_THREADED   _HRESULT_TYPEDEF_(0x80004012L)
  8334.  
  8335. //
  8336. // MessageId: CO_E_CANT_REMOTE
  8337. //
  8338. // MessageText:
  8339. //
  8340. //  A Remote activation was necessary but was not allowed
  8341. //
  8342. #define CO_E_CANT_REMOTE                 _HRESULT_TYPEDEF_(0x80004013L)
  8343.  
  8344. //
  8345. // MessageId: CO_E_BAD_SERVER_NAME
  8346. //
  8347. // MessageText:
  8348. //
  8349. //  A Remote activation was necessary but the server name provided was invalid
  8350. //
  8351. #define CO_E_BAD_SERVER_NAME             _HRESULT_TYPEDEF_(0x80004014L)
  8352.  
  8353. //
  8354. // MessageId: CO_E_WRONG_SERVER_IDENTITY
  8355. //
  8356. // MessageText:
  8357. //
  8358. //  The class is configured to run as a security id different from the caller
  8359. //
  8360. #define CO_E_WRONG_SERVER_IDENTITY       _HRESULT_TYPEDEF_(0x80004015L)
  8361.  
  8362. //
  8363. // MessageId: CO_E_OLE1DDE_DISABLED
  8364. //
  8365. // MessageText:
  8366. //
  8367. //  Use of Ole1 services requiring DDE windows is disabled
  8368. //
  8369. #define CO_E_OLE1DDE_DISABLED            _HRESULT_TYPEDEF_(0x80004016L)
  8370.  
  8371. //
  8372. // MessageId: CO_E_RUNAS_SYNTAX
  8373. //
  8374. // MessageText:
  8375. //
  8376. //  A RunAs specification must be <domain name>\<user name> or simply <user name>
  8377. //
  8378. #define CO_E_RUNAS_SYNTAX                _HRESULT_TYPEDEF_(0x80004017L)
  8379.  
  8380. //
  8381. // MessageId: CO_E_CREATEPROCESS_FAILURE
  8382. //
  8383. // MessageText:
  8384. //
  8385. //  The server process could not be started.  The pathname may be incorrect.
  8386. //
  8387. #define CO_E_CREATEPROCESS_FAILURE       _HRESULT_TYPEDEF_(0x80004018L)
  8388.  
  8389. //
  8390. // MessageId: CO_E_RUNAS_CREATEPROCESS_FAILURE
  8391. //
  8392. // MessageText:
  8393. //
  8394. //  The server process could not be started as the configured identity.  The pathname may be incorrect or unavailable.
  8395. //
  8396. #define CO_E_RUNAS_CREATEPROCESS_FAILURE _HRESULT_TYPEDEF_(0x80004019L)
  8397.  
  8398. //
  8399. // MessageId: CO_E_RUNAS_LOGON_FAILURE
  8400. //
  8401. // MessageText:
  8402. //
  8403. //  The server process could not be started because the configured identity is incorrect.  Check the username and password.
  8404. //
  8405. #define CO_E_RUNAS_LOGON_FAILURE         _HRESULT_TYPEDEF_(0x8000401AL)
  8406.  
  8407. //
  8408. // MessageId: CO_E_LAUNCH_PERMSSION_DENIED
  8409. //
  8410. // MessageText:
  8411. //
  8412. //  The client is not allowed to launch this server.
  8413. //
  8414. #define CO_E_LAUNCH_PERMSSION_DENIED     _HRESULT_TYPEDEF_(0x8000401BL)
  8415.  
  8416. //
  8417. // MessageId: CO_E_START_SERVICE_FAILURE
  8418. //
  8419. // MessageText:
  8420. //
  8421. //  The service providing this server could not be started.
  8422. //
  8423. #define CO_E_START_SERVICE_FAILURE       _HRESULT_TYPEDEF_(0x8000401CL)
  8424.  
  8425. //
  8426. // MessageId: CO_E_REMOTE_COMMUNICATION_FAILURE
  8427. //
  8428. // MessageText:
  8429. //
  8430. //  This computer was unable to communicate with the computer providing the server.
  8431. //
  8432. #define CO_E_REMOTE_COMMUNICATION_FAILURE _HRESULT_TYPEDEF_(0x8000401DL)
  8433.  
  8434. //
  8435. // MessageId: CO_E_SERVER_START_TIMEOUT
  8436. //
  8437. // MessageText:
  8438. //
  8439. //  The server did not respond after being launched.
  8440. //
  8441. #define CO_E_SERVER_START_TIMEOUT        _HRESULT_TYPEDEF_(0x8000401EL)
  8442.  
  8443. //
  8444. // MessageId: CO_E_CLSREG_INCONSISTENT
  8445. //
  8446. // MessageText:
  8447. //
  8448. //  The registration information for this server is inconsistent or incomplete.
  8449. //
  8450. #define CO_E_CLSREG_INCONSISTENT         _HRESULT_TYPEDEF_(0x8000401FL)
  8451.  
  8452. //
  8453. // MessageId: CO_E_IIDREG_INCONSISTENT
  8454. //
  8455. // MessageText:
  8456. //
  8457. //  The registration information for this interface is inconsistent or incomplete.
  8458. //
  8459. #define CO_E_IIDREG_INCONSISTENT         _HRESULT_TYPEDEF_(0x80004020L)
  8460.  
  8461. //
  8462. // MessageId: CO_E_NOT_SUPPORTED
  8463. //
  8464. // MessageText:
  8465. //
  8466. //  The operation attempted is not supported.
  8467. //
  8468. #define CO_E_NOT_SUPPORTED               _HRESULT_TYPEDEF_(0x80004021L)
  8469.  
  8470. //
  8471. // MessageId: CO_E_RELOAD_DLL
  8472. //
  8473. // MessageText:
  8474. //
  8475. //  A dll must be loaded.
  8476. //
  8477. #define CO_E_RELOAD_DLL                  _HRESULT_TYPEDEF_(0x80004022L)
  8478.  
  8479. //
  8480. // MessageId: CO_E_MSI_ERROR
  8481. //
  8482. // MessageText:
  8483. //
  8484. //  A Microsoft Software Installer error was encountered.
  8485. //
  8486. #define CO_E_MSI_ERROR                   _HRESULT_TYPEDEF_(0x80004023L)
  8487.  
  8488.  
  8489. //
  8490. // Success codes
  8491. //
  8492. #define S_OK                                   ((HRESULT)0x00000000L)
  8493. #define S_FALSE                                ((HRESULT)0x00000001L)
  8494.  
  8495. // ******************
  8496. // FACILITY_ITF
  8497. // ******************
  8498.  
  8499. //
  8500. // Codes 0x0-0x01ff are reserved for the OLE group of
  8501. // interfaces.
  8502. //
  8503.  
  8504.  
  8505. //
  8506. // Generic OLE errors that may be returned by many inerfaces
  8507. //
  8508.  
  8509. #define OLE_E_FIRST ((HRESULT)0x80040000L)
  8510. #define OLE_E_LAST  ((HRESULT)0x800400FFL)
  8511. #define OLE_S_FIRST ((HRESULT)0x00040000L)
  8512. #define OLE_S_LAST  ((HRESULT)0x000400FFL)
  8513.  
  8514. //
  8515. // Old OLE errors
  8516. //
  8517. //
  8518. // MessageId: OLE_E_OLEVERB
  8519. //
  8520. // MessageText:
  8521. //
  8522. //  Invalid OLEVERB structure
  8523. //
  8524. #define OLE_E_OLEVERB                    _HRESULT_TYPEDEF_(0x80040000L)
  8525.  
  8526. //
  8527. // MessageId: OLE_E_ADVF
  8528. //
  8529. // MessageText:
  8530. //
  8531. //  Invalid advise flags
  8532. //
  8533. #define OLE_E_ADVF                       _HRESULT_TYPEDEF_(0x80040001L)
  8534.  
  8535. //
  8536. // MessageId: OLE_E_ENUM_NOMORE
  8537. //
  8538. // MessageText:
  8539. //
  8540. //  Can't enumerate any more, because the associated data is missing
  8541. //
  8542. #define OLE_E_ENUM_NOMORE                _HRESULT_TYPEDEF_(0x80040002L)
  8543.  
  8544. //
  8545. // MessageId: OLE_E_ADVISENOTSUPPORTED
  8546. //
  8547. // MessageText:
  8548. //
  8549. //  This implementation doesn't take advises
  8550. //
  8551. #define OLE_E_ADVISENOTSUPPORTED         _HRESULT_TYPEDEF_(0x80040003L)
  8552.  
  8553. //
  8554. // MessageId: OLE_E_NOCONNECTION
  8555. //
  8556. // MessageText:
  8557. //
  8558. //  There is no connection for this connection ID
  8559. //
  8560. #define OLE_E_NOCONNECTION               _HRESULT_TYPEDEF_(0x80040004L)
  8561.  
  8562. //
  8563. // MessageId: OLE_E_NOTRUNNING
  8564. //
  8565. // MessageText:
  8566. //
  8567. //  Need to run the object to perform this operation
  8568. //
  8569. #define OLE_E_NOTRUNNING                 _HRESULT_TYPEDEF_(0x80040005L)
  8570.  
  8571. //
  8572. // MessageId: OLE_E_NOCACHE
  8573. //
  8574. // MessageText:
  8575. //
  8576. //  There is no cache to operate on
  8577. //
  8578. #define OLE_E_NOCACHE                    _HRESULT_TYPEDEF_(0x80040006L)
  8579.  
  8580. //
  8581. // MessageId: OLE_E_BLANK
  8582. //
  8583. // MessageText:
  8584. //
  8585. //  Uninitialized object
  8586. //
  8587. #define OLE_E_BLANK                      _HRESULT_TYPEDEF_(0x80040007L)
  8588.  
  8589. //
  8590. // MessageId: OLE_E_CLASSDIFF
  8591. //
  8592. // MessageText:
  8593. //
  8594. //  Linked object's source class has changed
  8595. //
  8596. #define OLE_E_CLASSDIFF                  _HRESULT_TYPEDEF_(0x80040008L)
  8597.  
  8598. //
  8599. // MessageId: OLE_E_CANT_GETMONIKER
  8600. //
  8601. // MessageText:
  8602. //
  8603. //  Not able to get the moniker of the object
  8604. //
  8605. #define OLE_E_CANT_GETMONIKER            _HRESULT_TYPEDEF_(0x80040009L)
  8606.  
  8607. //
  8608. // MessageId: OLE_E_CANT_BINDTOSOURCE
  8609. //
  8610. // MessageText:
  8611. //
  8612. //  Not able to bind to the source
  8613. //
  8614. #define OLE_E_CANT_BINDTOSOURCE          _HRESULT_TYPEDEF_(0x8004000AL)
  8615.  
  8616. //
  8617. // MessageId: OLE_E_STATIC
  8618. //
  8619. // MessageText:
  8620. //
  8621. //  Object is static; operation not allowed
  8622. //
  8623. #define OLE_E_STATIC                     _HRESULT_TYPEDEF_(0x8004000BL)
  8624.  
  8625. //
  8626. // MessageId: OLE_E_PROMPTSAVECANCELLED
  8627. //
  8628. // MessageText:
  8629. //
  8630. //  User canceled out of save dialog
  8631. //
  8632. #define OLE_E_PROMPTSAVECANCELLED        _HRESULT_TYPEDEF_(0x8004000CL)
  8633.  
  8634. //
  8635. // MessageId: OLE_E_INVALIDRECT
  8636. //
  8637. // MessageText:
  8638. //
  8639. //  Invalid rectangle
  8640. //
  8641. #define OLE_E_INVALIDRECT                _HRESULT_TYPEDEF_(0x8004000DL)
  8642.  
  8643. //
  8644. // MessageId: OLE_E_WRONGCOMPOBJ
  8645. //
  8646. // MessageText:
  8647. //
  8648. //  compobj.dll is too old for the ole2.dll initialized
  8649. //
  8650. #define OLE_E_WRONGCOMPOBJ               _HRESULT_TYPEDEF_(0x8004000EL)
  8651.  
  8652. //
  8653. // MessageId: OLE_E_INVALIDHWND
  8654. //
  8655. // MessageText:
  8656. //
  8657. //  Invalid window handle
  8658. //
  8659. #define OLE_E_INVALIDHWND                _HRESULT_TYPEDEF_(0x8004000FL)
  8660.  
  8661. //
  8662. // MessageId: OLE_E_NOT_INPLACEACTIVE
  8663. //
  8664. // MessageText:
  8665. //
  8666. //  Object is not in any of the inplace active states
  8667. //
  8668. #define OLE_E_NOT_INPLACEACTIVE          _HRESULT_TYPEDEF_(0x80040010L)
  8669.  
  8670. //
  8671. // MessageId: OLE_E_CANTCONVERT
  8672. //
  8673. // MessageText:
  8674. //
  8675. //  Not able to convert object
  8676. //
  8677. #define OLE_E_CANTCONVERT                _HRESULT_TYPEDEF_(0x80040011L)
  8678.  
  8679. //
  8680. // MessageId: OLE_E_NOSTORAGE
  8681. //
  8682. // MessageText:
  8683. //
  8684. //  Not able to perform the operation because object is not given storage yet
  8685. //  
  8686. //
  8687. #define OLE_E_NOSTORAGE                  _HRESULT_TYPEDEF_(0x80040012L)
  8688.  
  8689. //
  8690. // MessageId: DV_E_FORMATETC
  8691. //
  8692. // MessageText:
  8693. //
  8694. //  Invalid FORMATETC structure
  8695. //
  8696. #define DV_E_FORMATETC                   _HRESULT_TYPEDEF_(0x80040064L)
  8697.  
  8698. //
  8699. // MessageId: DV_E_DVTARGETDEVICE
  8700. //
  8701. // MessageText:
  8702. //
  8703. //  Invalid DVTARGETDEVICE structure
  8704. //
  8705. #define DV_E_DVTARGETDEVICE              _HRESULT_TYPEDEF_(0x80040065L)
  8706.  
  8707. //
  8708. // MessageId: DV_E_STGMEDIUM
  8709. //
  8710. // MessageText:
  8711. //
  8712. //  Invalid STDGMEDIUM structure
  8713. //
  8714. #define DV_E_STGMEDIUM                   _HRESULT_TYPEDEF_(0x80040066L)
  8715.  
  8716. //
  8717. // MessageId: DV_E_STATDATA
  8718. //
  8719. // MessageText:
  8720. //
  8721. //  Invalid STATDATA structure
  8722. //
  8723. #define DV_E_STATDATA                    _HRESULT_TYPEDEF_(0x80040067L)
  8724.  
  8725. //
  8726. // MessageId: DV_E_LINDEX
  8727. //
  8728. // MessageText:
  8729. //
  8730. //  Invalid lindex
  8731. //
  8732. #define DV_E_LINDEX                      _HRESULT_TYPEDEF_(0x80040068L)
  8733.  
  8734. //
  8735. // MessageId: DV_E_TYMED
  8736. //
  8737. // MessageText:
  8738. //
  8739. //  Invalid tymed
  8740. //
  8741. #define DV_E_TYMED                       _HRESULT_TYPEDEF_(0x80040069L)
  8742.  
  8743. //
  8744. // MessageId: DV_E_CLIPFORMAT
  8745. //
  8746. // MessageText:
  8747. //
  8748. //  Invalid clipboard format
  8749. //
  8750. #define DV_E_CLIPFORMAT                  _HRESULT_TYPEDEF_(0x8004006AL)
  8751.  
  8752. //
  8753. // MessageId: DV_E_DVASPECT
  8754. //
  8755. // MessageText:
  8756. //
  8757. //  Invalid aspect(s)
  8758. //
  8759. #define DV_E_DVASPECT                    _HRESULT_TYPEDEF_(0x8004006BL)
  8760.  
  8761. //
  8762. // MessageId: DV_E_DVTARGETDEVICE_SIZE
  8763. //
  8764. // MessageText:
  8765. //
  8766. //  tdSize parameter of the DVTARGETDEVICE structure is invalid
  8767. //
  8768. #define DV_E_DVTARGETDEVICE_SIZE         _HRESULT_TYPEDEF_(0x8004006CL)
  8769.  
  8770. //
  8771. // MessageId: DV_E_NOIVIEWOBJECT
  8772. //
  8773. // MessageText:
  8774. //
  8775. //  Object doesn't support IViewObject interface
  8776. //
  8777. #define DV_E_NOIVIEWOBJECT               _HRESULT_TYPEDEF_(0x8004006DL)
  8778.  
  8779. #define DRAGDROP_E_FIRST 0x80040100L
  8780. #define DRAGDROP_E_LAST  0x8004010FL
  8781. #define DRAGDROP_S_FIRST 0x00040100L
  8782. #define DRAGDROP_S_LAST  0x0004010FL
  8783. //
  8784. // MessageId: DRAGDROP_E_NOTREGISTERED
  8785. //
  8786. // MessageText:
  8787. //
  8788. //  Trying to revoke a drop target that has not been registered
  8789. //
  8790. #define DRAGDROP_E_NOTREGISTERED         _HRESULT_TYPEDEF_(0x80040100L)
  8791.  
  8792. //
  8793. // MessageId: DRAGDROP_E_ALREADYREGISTERED
  8794. //
  8795. // MessageText:
  8796. //
  8797. //  This window has already been registered as a drop target
  8798. //
  8799. #define DRAGDROP_E_ALREADYREGISTERED     _HRESULT_TYPEDEF_(0x80040101L)
  8800.  
  8801. //
  8802. // MessageId: DRAGDROP_E_INVALIDHWND
  8803. //
  8804. // MessageText:
  8805. //
  8806. //  Invalid window handle
  8807. //
  8808. #define DRAGDROP_E_INVALIDHWND           _HRESULT_TYPEDEF_(0x80040102L)
  8809.  
  8810. #define CLASSFACTORY_E_FIRST  0x80040110L
  8811. #define CLASSFACTORY_E_LAST   0x8004011FL
  8812. #define CLASSFACTORY_S_FIRST  0x00040110L
  8813. #define CLASSFACTORY_S_LAST   0x0004011FL
  8814. //
  8815. // MessageId: CLASS_E_NOAGGREGATION
  8816. //
  8817. // MessageText:
  8818. //
  8819. //  Class does not support aggregation (or class object is remote)
  8820. //
  8821. #define CLASS_E_NOAGGREGATION            _HRESULT_TYPEDEF_(0x80040110L)
  8822.  
  8823. //
  8824. // MessageId: CLASS_E_CLASSNOTAVAILABLE
  8825. //
  8826. // MessageText:
  8827. //
  8828. //  ClassFactory cannot supply requested class
  8829. //
  8830. #define CLASS_E_CLASSNOTAVAILABLE        _HRESULT_TYPEDEF_(0x80040111L)
  8831.  
  8832. //
  8833. // MessageId: CLASS_E_NOTLICENSED
  8834. //
  8835. // MessageText:
  8836. //
  8837. //  Class is not licensed for use
  8838. //
  8839. #define CLASS_E_NOTLICENSED              _HRESULT_TYPEDEF_(0x80040112L)
  8840.  
  8841. #define MARSHAL_E_FIRST  0x80040120L
  8842. #define MARSHAL_E_LAST   0x8004012FL
  8843. #define MARSHAL_S_FIRST  0x00040120L
  8844. #define MARSHAL_S_LAST   0x0004012FL
  8845. #define DATA_E_FIRST     0x80040130L
  8846. #define DATA_E_LAST      0x8004013FL
  8847. #define DATA_S_FIRST     0x00040130L
  8848. #define DATA_S_LAST      0x0004013FL
  8849. #define VIEW_E_FIRST     0x80040140L
  8850. #define VIEW_E_LAST      0x8004014FL
  8851. #define VIEW_S_FIRST     0x00040140L
  8852. #define VIEW_S_LAST      0x0004014FL
  8853. //
  8854. // MessageId: VIEW_E_DRAW
  8855. //
  8856. // MessageText:
  8857. //
  8858. //  Error drawing view
  8859. //
  8860. #define VIEW_E_DRAW                      _HRESULT_TYPEDEF_(0x80040140L)
  8861.  
  8862. #define REGDB_E_FIRST     0x80040150L
  8863. #define REGDB_E_LAST      0x8004015FL
  8864. #define REGDB_S_FIRST     0x00040150L
  8865. #define REGDB_S_LAST      0x0004015FL
  8866. //
  8867. // MessageId: REGDB_E_READREGDB
  8868. //
  8869. // MessageText:
  8870. //
  8871. //  Could not read key from registry
  8872. //
  8873. #define REGDB_E_READREGDB                _HRESULT_TYPEDEF_(0x80040150L)
  8874.  
  8875. //
  8876. // MessageId: REGDB_E_WRITEREGDB
  8877. //
  8878. // MessageText:
  8879. //
  8880. //  Could not write key to registry
  8881. //
  8882. #define REGDB_E_WRITEREGDB               _HRESULT_TYPEDEF_(0x80040151L)
  8883.  
  8884. //
  8885. // MessageId: REGDB_E_KEYMISSING
  8886. //
  8887. // MessageText:
  8888. //
  8889. //  Could not find the key in the registry
  8890. //
  8891. #define REGDB_E_KEYMISSING               _HRESULT_TYPEDEF_(0x80040152L)
  8892.  
  8893. //
  8894. // MessageId: REGDB_E_INVALIDVALUE
  8895. //
  8896. // MessageText:
  8897. //
  8898. //  Invalid value for registry
  8899. //
  8900. #define REGDB_E_INVALIDVALUE             _HRESULT_TYPEDEF_(0x80040153L)
  8901.  
  8902. //
  8903. // MessageId: REGDB_E_CLASSNOTREG
  8904. //
  8905. // MessageText:
  8906. //
  8907. //  Class not registered
  8908. //
  8909. #define REGDB_E_CLASSNOTREG              _HRESULT_TYPEDEF_(0x80040154L)
  8910.  
  8911. //
  8912. // MessageId: REGDB_E_IIDNOTREG
  8913. //
  8914. // MessageText:
  8915. //
  8916. //  Interface not registered
  8917. //
  8918. #define REGDB_E_IIDNOTREG                _HRESULT_TYPEDEF_(0x80040155L)
  8919.  
  8920. #define CAT_E_FIRST     0x80040160L
  8921. #define CAT_E_LAST      0x80040161L
  8922. //
  8923. // MessageId: CAT_E_CATIDNOEXIST
  8924. //
  8925. // MessageText:
  8926. //
  8927. //  CATID does not exist
  8928. //
  8929. #define CAT_E_CATIDNOEXIST               _HRESULT_TYPEDEF_(0x80040160L)
  8930.  
  8931. //
  8932. // MessageId: CAT_E_NODESCRIPTION
  8933. //
  8934. // MessageText:
  8935. //
  8936. //  Description not found
  8937. //
  8938. #define CAT_E_NODESCRIPTION              _HRESULT_TYPEDEF_(0x80040161L)
  8939.  
  8940. ////////////////////////////////////
  8941. //                                //
  8942. //     Class Store Error Codes    //
  8943. //                                //
  8944. ////////////////////////////////////
  8945. #define CS_E_FIRST     0x80040164L
  8946. #define CS_E_LAST      0x80040168L
  8947. //
  8948. // MessageId: CS_E_PACKAGE_NOTFOUND
  8949. //
  8950. // MessageText:
  8951. //
  8952. //  No package in Class Store meets this criteria
  8953. //
  8954. #define CS_E_PACKAGE_NOTFOUND            _HRESULT_TYPEDEF_(0x80040164L)
  8955.  
  8956. //
  8957. // MessageId: CS_E_NOT_DELETABLE
  8958. //
  8959. // MessageText:
  8960. //
  8961. //  Deleting this will break referential integrity
  8962. //
  8963. #define CS_E_NOT_DELETABLE               _HRESULT_TYPEDEF_(0x80040165L)
  8964.  
  8965. //
  8966. // MessageId: CS_E_CLASS_NOTFOUND
  8967. //
  8968. // MessageText:
  8969. //
  8970. //  No such CLSID in Class Store
  8971. //
  8972. #define CS_E_CLASS_NOTFOUND              _HRESULT_TYPEDEF_(0x80040166L)
  8973.  
  8974. //
  8975. // MessageId: CS_E_INVALID_VERSION
  8976. //
  8977. // MessageText:
  8978. //
  8979. //  The Class Store is corrupted or has a version that is no more supported
  8980. //
  8981. #define CS_E_INVALID_VERSION             _HRESULT_TYPEDEF_(0x80040167L)
  8982.  
  8983. //
  8984. // MessageId: CS_E_NO_CLASSSTORE
  8985. //
  8986. // MessageText:
  8987. //
  8988. //  No such Class Store
  8989. //
  8990. #define CS_E_NO_CLASSSTORE               _HRESULT_TYPEDEF_(0x80040168L)
  8991.  
  8992. #define CACHE_E_FIRST     0x80040170L
  8993. #define CACHE_E_LAST      0x8004017FL
  8994. #define CACHE_S_FIRST     0x00040170L
  8995. #define CACHE_S_LAST      0x0004017FL
  8996. //
  8997. // MessageId: CACHE_E_NOCACHE_UPDATED
  8998. //
  8999. // MessageText:
  9000. //
  9001. //  Cache not updated
  9002. //
  9003. #define CACHE_E_NOCACHE_UPDATED          _HRESULT_TYPEDEF_(0x80040170L)
  9004.  
  9005. #define OLEOBJ_E_FIRST     0x80040180L
  9006. #define OLEOBJ_E_LAST      0x8004018FL
  9007. #define OLEOBJ_S_FIRST     0x00040180L
  9008. #define OLEOBJ_S_LAST      0x0004018FL
  9009. //
  9010. // MessageId: OLEOBJ_E_NOVERBS
  9011. //
  9012. // MessageText:
  9013. //
  9014. //  No verbs for OLE object
  9015. //
  9016. #define OLEOBJ_E_NOVERBS                 _HRESULT_TYPEDEF_(0x80040180L)
  9017.  
  9018. //
  9019. // MessageId: OLEOBJ_E_INVALIDVERB
  9020. //
  9021. // MessageText:
  9022. //
  9023. //  Invalid verb for OLE object
  9024. //
  9025. #define OLEOBJ_E_INVALIDVERB             _HRESULT_TYPEDEF_(0x80040181L)
  9026.  
  9027. #define CLIENTSITE_E_FIRST     0x80040190L
  9028. #define CLIENTSITE_E_LAST      0x8004019FL
  9029. #define CLIENTSITE_S_FIRST     0x00040190L
  9030. #define CLIENTSITE_S_LAST      0x0004019FL
  9031. //
  9032. // MessageId: INPLACE_E_NOTUNDOABLE
  9033. //
  9034. // MessageText:
  9035. //
  9036. //  Undo is not available
  9037. //
  9038. #define INPLACE_E_NOTUNDOABLE            _HRESULT_TYPEDEF_(0x800401A0L)
  9039.  
  9040. //
  9041. // MessageId: INPLACE_E_NOTOOLSPACE
  9042. //
  9043. // MessageText:
  9044. //
  9045. //  Space for tools is not available
  9046. //
  9047. #define INPLACE_E_NOTOOLSPACE            _HRESULT_TYPEDEF_(0x800401A1L)
  9048.  
  9049. #define INPLACE_E_FIRST     0x800401A0L
  9050. #define INPLACE_E_LAST      0x800401AFL
  9051. #define INPLACE_S_FIRST     0x000401A0L
  9052. #define INPLACE_S_LAST      0x000401AFL
  9053. #define ENUM_E_FIRST        0x800401B0L
  9054. #define ENUM_E_LAST         0x800401BFL
  9055. #define ENUM_S_FIRST        0x000401B0L
  9056. #define ENUM_S_LAST         0x000401BFL
  9057. #define CONVERT10_E_FIRST        0x800401C0L
  9058. #define CONVERT10_E_LAST         0x800401CFL
  9059. #define CONVERT10_S_FIRST        0x000401C0L
  9060. #define CONVERT10_S_LAST         0x000401CFL
  9061. //
  9062. // MessageId: CONVERT10_E_OLESTREAM_GET
  9063. //
  9064. // MessageText:
  9065. //
  9066. //  OLESTREAM Get method failed
  9067. //
  9068. #define CONVERT10_E_OLESTREAM_GET        _HRESULT_TYPEDEF_(0x800401C0L)
  9069.  
  9070. //
  9071. // MessageId: CONVERT10_E_OLESTREAM_PUT
  9072. //
  9073. // MessageText:
  9074. //
  9075. //  OLESTREAM Put method failed
  9076. //
  9077. #define CONVERT10_E_OLESTREAM_PUT        _HRESULT_TYPEDEF_(0x800401C1L)
  9078.  
  9079. //
  9080. // MessageId: CONVERT10_E_OLESTREAM_FMT
  9081. //
  9082. // MessageText:
  9083. //
  9084. //  Contents of the OLESTREAM not in correct format
  9085. //
  9086. #define CONVERT10_E_OLESTREAM_FMT        _HRESULT_TYPEDEF_(0x800401C2L)
  9087.  
  9088. //
  9089. // MessageId: CONVERT10_E_OLESTREAM_BITMAP_TO_DIB
  9090. //
  9091. // MessageText:
  9092. //
  9093. //  There was an error in a Windows GDI call while converting the bitmap to a DIB
  9094. //
  9095. #define CONVERT10_E_OLESTREAM_BITMAP_TO_DIB _HRESULT_TYPEDEF_(0x800401C3L)
  9096.  
  9097. //
  9098. // MessageId: CONVERT10_E_STG_FMT
  9099. //
  9100. // MessageText:
  9101. //
  9102. //  Contents of the IStorage not in correct format
  9103. //
  9104. #define CONVERT10_E_STG_FMT              _HRESULT_TYPEDEF_(0x800401C4L)
  9105.  
  9106. //
  9107. // MessageId: CONVERT10_E_STG_NO_STD_STREAM
  9108. //
  9109. // MessageText:
  9110. //
  9111. //  Contents of IStorage is missing one of the standard streams
  9112. //
  9113. #define CONVERT10_E_STG_NO_STD_STREAM    _HRESULT_TYPEDEF_(0x800401C5L)
  9114.  
  9115. //
  9116. // MessageId: CONVERT10_E_STG_DIB_TO_BITMAP
  9117. //
  9118. // MessageText:
  9119. //
  9120. //  There was an error in a Windows GDI call while converting the DIB to a bitmap.
  9121. //  
  9122. //
  9123. #define CONVERT10_E_STG_DIB_TO_BITMAP    _HRESULT_TYPEDEF_(0x800401C6L)
  9124.  
  9125. #define CLIPBRD_E_FIRST        0x800401D0L
  9126. #define CLIPBRD_E_LAST         0x800401DFL
  9127. #define CLIPBRD_S_FIRST        0x000401D0L
  9128. #define CLIPBRD_S_LAST         0x000401DFL
  9129. //
  9130. // MessageId: CLIPBRD_E_CANT_OPEN
  9131. //
  9132. // MessageText:
  9133. //
  9134. //  OpenClipboard Failed
  9135. //
  9136. #define CLIPBRD_E_CANT_OPEN              _HRESULT_TYPEDEF_(0x800401D0L)
  9137.  
  9138. //
  9139. // MessageId: CLIPBRD_E_CANT_EMPTY
  9140. //
  9141. // MessageText:
  9142. //
  9143. //  EmptyClipboard Failed
  9144. //
  9145. #define CLIPBRD_E_CANT_EMPTY             _HRESULT_TYPEDEF_(0x800401D1L)
  9146.  
  9147. //
  9148. // MessageId: CLIPBRD_E_CANT_SET
  9149. //
  9150. // MessageText:
  9151. //
  9152. //  SetClipboard Failed
  9153. //
  9154. #define CLIPBRD_E_CANT_SET               _HRESULT_TYPEDEF_(0x800401D2L)
  9155.  
  9156. //
  9157. // MessageId: CLIPBRD_E_BAD_DATA
  9158. //
  9159. // MessageText:
  9160. //
  9161. //  Data on clipboard is invalid
  9162. //
  9163. #define CLIPBRD_E_BAD_DATA               _HRESULT_TYPEDEF_(0x800401D3L)
  9164.  
  9165. //
  9166. // MessageId: CLIPBRD_E_CANT_CLOSE
  9167. //
  9168. // MessageText:
  9169. //
  9170. //  CloseClipboard Failed
  9171. //
  9172. #define CLIPBRD_E_CANT_CLOSE             _HRESULT_TYPEDEF_(0x800401D4L)
  9173.  
  9174. #define MK_E_FIRST        0x800401E0L
  9175. #define MK_E_LAST         0x800401EFL
  9176. #define MK_S_FIRST        0x000401E0L
  9177. #define MK_S_LAST         0x000401EFL
  9178. //
  9179. // MessageId: MK_E_CONNECTMANUALLY
  9180. //
  9181. // MessageText:
  9182. //
  9183. //  Moniker needs to be connected manually
  9184. //
  9185. #define MK_E_CONNECTMANUALLY             _HRESULT_TYPEDEF_(0x800401E0L)
  9186.  
  9187. //
  9188. // MessageId: MK_E_EXCEEDEDDEADLINE
  9189. //
  9190. // MessageText:
  9191. //
  9192. //  Operation exceeded deadline
  9193. //
  9194. #define MK_E_EXCEEDEDDEADLINE            _HRESULT_TYPEDEF_(0x800401E1L)
  9195.  
  9196. //
  9197. // MessageId: MK_E_NEEDGENERIC
  9198. //
  9199. // MessageText:
  9200. //
  9201. //  Moniker needs to be generic
  9202. //
  9203. #define MK_E_NEEDGENERIC                 _HRESULT_TYPEDEF_(0x800401E2L)
  9204.  
  9205. //
  9206. // MessageId: MK_E_UNAVAILABLE
  9207. //
  9208. // MessageText:
  9209. //
  9210. //  Operation unavailable
  9211. //
  9212. #define MK_E_UNAVAILABLE                 _HRESULT_TYPEDEF_(0x800401E3L)
  9213.  
  9214. //
  9215. // MessageId: MK_E_SYNTAX
  9216. //
  9217. // MessageText:
  9218. //
  9219. //  Invalid syntax
  9220. //
  9221. #define MK_E_SYNTAX                      _HRESULT_TYPEDEF_(0x800401E4L)
  9222.  
  9223. //
  9224. // MessageId: MK_E_NOOBJECT
  9225. //
  9226. // MessageText:
  9227. //
  9228. //  No object for moniker
  9229. //
  9230. #define MK_E_NOOBJECT                    _HRESULT_TYPEDEF_(0x800401E5L)
  9231.  
  9232. //
  9233. // MessageId: MK_E_INVALIDEXTENSION
  9234. //
  9235. // MessageText:
  9236. //
  9237. //  Bad extension for file
  9238. //
  9239. #define MK_E_INVALIDEXTENSION            _HRESULT_TYPEDEF_(0x800401E6L)
  9240.  
  9241. //
  9242. // MessageId: MK_E_INTERMEDIATEINTERFACENOTSUPPORTED
  9243. //
  9244. // MessageText:
  9245. //
  9246. //  Intermediate operation failed
  9247. //
  9248. #define MK_E_INTERMEDIATEINTERFACENOTSUPPORTED _HRESULT_TYPEDEF_(0x800401E7L)
  9249.  
  9250. //
  9251. // MessageId: MK_E_NOTBINDABLE
  9252. //
  9253. // MessageText:
  9254. //
  9255. //  Moniker is not bindable
  9256. //
  9257. #define MK_E_NOTBINDABLE                 _HRESULT_TYPEDEF_(0x800401E8L)
  9258.  
  9259. //
  9260. // MessageId: MK_E_NOTBOUND
  9261. //
  9262. // MessageText:
  9263. //
  9264. //  Moniker is not bound
  9265. //
  9266. #define MK_E_NOTBOUND                    _HRESULT_TYPEDEF_(0x800401E9L)
  9267.  
  9268. //
  9269. // MessageId: MK_E_CANTOPENFILE
  9270. //
  9271. // MessageText:
  9272. //
  9273. //  Moniker cannot open file
  9274. //
  9275. #define MK_E_CANTOPENFILE                _HRESULT_TYPEDEF_(0x800401EAL)
  9276.  
  9277. //
  9278. // MessageId: MK_E_MUSTBOTHERUSER
  9279. //
  9280. // MessageText:
  9281. //
  9282. //  User input required for operation to succeed
  9283. //
  9284. #define MK_E_MUSTBOTHERUSER              _HRESULT_TYPEDEF_(0x800401EBL)
  9285.  
  9286. //
  9287. // MessageId: MK_E_NOINVERSE
  9288. //
  9289. // MessageText:
  9290. //
  9291. //  Moniker class has no inverse
  9292. //
  9293. #define MK_E_NOINVERSE                   _HRESULT_TYPEDEF_(0x800401ECL)
  9294.  
  9295. //
  9296. // MessageId: MK_E_NOSTORAGE
  9297. //
  9298. // MessageText:
  9299. //
  9300. //  Moniker does not refer to storage
  9301. //
  9302. #define MK_E_NOSTORAGE                   _HRESULT_TYPEDEF_(0x800401EDL)
  9303.  
  9304. //
  9305. // MessageId: MK_E_NOPREFIX
  9306. //
  9307. // MessageText:
  9308. //
  9309. //  No common prefix
  9310. //
  9311. #define MK_E_NOPREFIX                    _HRESULT_TYPEDEF_(0x800401EEL)
  9312.  
  9313. //
  9314. // MessageId: MK_E_ENUMERATION_FAILED
  9315. //
  9316. // MessageText:
  9317. //
  9318. //  Moniker could not be enumerated
  9319. //
  9320. #define MK_E_ENUMERATION_FAILED          _HRESULT_TYPEDEF_(0x800401EFL)
  9321.  
  9322. #define CO_E_FIRST        0x800401F0L
  9323. #define CO_E_LAST         0x800401FFL
  9324. #define CO_S_FIRST        0x000401F0L
  9325. #define CO_S_LAST         0x000401FFL
  9326. //
  9327. // MessageId: CO_E_NOTINITIALIZED
  9328. //
  9329. // MessageText:
  9330. //
  9331. //  CoInitialize has not been called.
  9332. //
  9333. #define CO_E_NOTINITIALIZED              _HRESULT_TYPEDEF_(0x800401F0L)
  9334.  
  9335. //
  9336. // MessageId: CO_E_ALREADYINITIALIZED
  9337. //
  9338. // MessageText:
  9339. //
  9340. //  CoInitialize has already been called.
  9341. //
  9342. #define CO_E_ALREADYINITIALIZED          _HRESULT_TYPEDEF_(0x800401F1L)
  9343.  
  9344. //
  9345. // MessageId: CO_E_CANTDETERMINECLASS
  9346. //
  9347. // MessageText:
  9348. //
  9349. //  Class of object cannot be determined
  9350. //
  9351. #define CO_E_CANTDETERMINECLASS          _HRESULT_TYPEDEF_(0x800401F2L)
  9352.  
  9353. //
  9354. // MessageId: CO_E_CLASSSTRING
  9355. //
  9356. // MessageText:
  9357. //
  9358. //  Invalid class string
  9359. //
  9360. #define CO_E_CLASSSTRING                 _HRESULT_TYPEDEF_(0x800401F3L)
  9361.  
  9362. //
  9363. // MessageId: CO_E_IIDSTRING
  9364. //
  9365. // MessageText:
  9366. //
  9367. //  Invalid interface string
  9368. //
  9369. #define CO_E_IIDSTRING                   _HRESULT_TYPEDEF_(0x800401F4L)
  9370.  
  9371. //
  9372. // MessageId: CO_E_APPNOTFOUND
  9373. //
  9374. // MessageText:
  9375. //
  9376. //  Application not found
  9377. //
  9378. #define CO_E_APPNOTFOUND                 _HRESULT_TYPEDEF_(0x800401F5L)
  9379.  
  9380. //
  9381. // MessageId: CO_E_APPSINGLEUSE
  9382. //
  9383. // MessageText:
  9384. //
  9385. //  Application cannot be run more than once
  9386. //
  9387. #define CO_E_APPSINGLEUSE                _HRESULT_TYPEDEF_(0x800401F6L)
  9388.  
  9389. //
  9390. // MessageId: CO_E_ERRORINAPP
  9391. //
  9392. // MessageText:
  9393. //
  9394. //  Some error in application program
  9395. //
  9396. #define CO_E_ERRORINAPP                  _HRESULT_TYPEDEF_(0x800401F7L)
  9397.  
  9398. //
  9399. // MessageId: CO_E_DLLNOTFOUND
  9400. //
  9401. // MessageText:
  9402. //
  9403. //  DLL for class not found
  9404. //
  9405. #define CO_E_DLLNOTFOUND                 _HRESULT_TYPEDEF_(0x800401F8L)
  9406.  
  9407. //
  9408. // MessageId: CO_E_ERRORINDLL
  9409. //
  9410. // MessageText:
  9411. //
  9412. //  Error in the DLL
  9413. //
  9414. #define CO_E_ERRORINDLL                  _HRESULT_TYPEDEF_(0x800401F9L)
  9415.  
  9416. //
  9417. // MessageId: CO_E_WRONGOSFORAPP
  9418. //
  9419. // MessageText:
  9420. //
  9421. //  Wrong OS or OS version for application
  9422. //
  9423. #define CO_E_WRONGOSFORAPP               _HRESULT_TYPEDEF_(0x800401FAL)
  9424.  
  9425. //
  9426. // MessageId: CO_E_OBJNOTREG
  9427. //
  9428. // MessageText:
  9429. //
  9430. //  Object is not registered
  9431. //
  9432. #define CO_E_OBJNOTREG                   _HRESULT_TYPEDEF_(0x800401FBL)
  9433.  
  9434. //
  9435. // MessageId: CO_E_OBJISREG
  9436. //
  9437. // MessageText:
  9438. //
  9439. //  Object is already registered
  9440. //
  9441. #define CO_E_OBJISREG                    _HRESULT_TYPEDEF_(0x800401FCL)
  9442.  
  9443. //
  9444. // MessageId: CO_E_OBJNOTCONNECTED
  9445. //
  9446. // MessageText:
  9447. //
  9448. //  Object is not connected to server
  9449. //
  9450. #define CO_E_OBJNOTCONNECTED             _HRESULT_TYPEDEF_(0x800401FDL)
  9451.  
  9452. //
  9453. // MessageId: CO_E_APPDIDNTREG
  9454. //
  9455. // MessageText:
  9456. //
  9457. //  Application was launched but it didn't register a class factory
  9458. //
  9459. #define CO_E_APPDIDNTREG                 _HRESULT_TYPEDEF_(0x800401FEL)
  9460.  
  9461. //
  9462. // MessageId: CO_E_RELEASED
  9463. //
  9464. // MessageText:
  9465. //
  9466. //  Object has been released
  9467. //
  9468. #define CO_E_RELEASED                    _HRESULT_TYPEDEF_(0x800401FFL)
  9469.  
  9470. //
  9471. // MessageId: CO_E_FAILEDTOIMPERSONATE
  9472. //
  9473. // MessageText:
  9474. //
  9475. //  Unable to impersonate DCOM client
  9476. //
  9477. #define CO_E_FAILEDTOIMPERSONATE         _HRESULT_TYPEDEF_(0x80040200L)
  9478.  
  9479. //
  9480. // MessageId: CO_E_FAILEDTOGETSECCTX
  9481. //
  9482. // MessageText:
  9483. //
  9484. //  Unable to obtain server's security context
  9485. //
  9486. #define CO_E_FAILEDTOGETSECCTX           _HRESULT_TYPEDEF_(0x80040201L)
  9487.  
  9488. //
  9489. // MessageId: CO_E_FAILEDTOOPENTHREADTOKEN
  9490. //
  9491. // MessageText:
  9492. //
  9493. //  Unable to open the access token of the current thread
  9494. //
  9495. #define CO_E_FAILEDTOOPENTHREADTOKEN     _HRESULT_TYPEDEF_(0x80040202L)
  9496.  
  9497. //
  9498. // MessageId: CO_E_FAILEDTOGETTOKENINFO
  9499. //
  9500. // MessageText:
  9501. //
  9502. //  Unable to obtain user info from an access token
  9503. //
  9504. #define CO_E_FAILEDTOGETTOKENINFO        _HRESULT_TYPEDEF_(0x80040203L)
  9505.  
  9506. //
  9507. // MessageId: CO_E_TRUSTEEDOESNTMATCHCLIENT
  9508. //
  9509. // MessageText:
  9510. //
  9511. //  The client who called IAccessControl::IsAccessPermitted was the trustee provided tot he method
  9512. //
  9513. #define CO_E_TRUSTEEDOESNTMATCHCLIENT    _HRESULT_TYPEDEF_(0x80040204L)
  9514.  
  9515. //
  9516. // MessageId: CO_E_FAILEDTOQUERYCLIENTBLANKET
  9517. //
  9518. // MessageText:
  9519. //
  9520. //  Unable to obtain the client's security blanket
  9521. //
  9522. #define CO_E_FAILEDTOQUERYCLIENTBLANKET  _HRESULT_TYPEDEF_(0x80040205L)
  9523.  
  9524. //
  9525. // MessageId: CO_E_FAILEDTOSETDACL
  9526. //
  9527. // MessageText:
  9528. //
  9529. //  Unable to set a discretionary ACL into a security descriptor
  9530. //
  9531. #define CO_E_FAILEDTOSETDACL             _HRESULT_TYPEDEF_(0x80040206L)
  9532.  
  9533. //
  9534. // MessageId: CO_E_ACCESSCHECKFAILED
  9535. //
  9536. // MessageText:
  9537. //
  9538. //  The system function, AccessCheck, returned false
  9539. //
  9540. #define CO_E_ACCESSCHECKFAILED           _HRESULT_TYPEDEF_(0x80040207L)
  9541.  
  9542. //
  9543. // MessageId: CO_E_NETACCESSAPIFAILED
  9544. //
  9545. // MessageText:
  9546. //
  9547. //  Either NetAccessDel or NetAccessAdd returned an error code.
  9548. //
  9549. #define CO_E_NETACCESSAPIFAILED          _HRESULT_TYPEDEF_(0x80040208L)
  9550.  
  9551. //
  9552. // MessageId: CO_E_WRONGTRUSTEENAMESYNTAX
  9553. //
  9554. // MessageText:
  9555. //
  9556. //  One of the trustee strings provided by the user did not conform to the <Domain>\<Name> syntax and it was not the "*" string
  9557. //
  9558. #define CO_E_WRONGTRUSTEENAMESYNTAX      _HRESULT_TYPEDEF_(0x80040209L)
  9559.  
  9560. //
  9561. // MessageId: CO_E_INVALIDSID
  9562. //
  9563. // MessageText:
  9564. //
  9565. //  One of the security identifiers provided by the user was invalid
  9566. //
  9567. #define CO_E_INVALIDSID                  _HRESULT_TYPEDEF_(0x8004020AL)
  9568.  
  9569. //
  9570. // MessageId: CO_E_CONVERSIONFAILED
  9571. //
  9572. // MessageText:
  9573. //
  9574. //  Unable to convert a wide character trustee string to a multibyte trustee string
  9575. //
  9576. #define CO_E_CONVERSIONFAILED            _HRESULT_TYPEDEF_(0x8004020BL)
  9577.  
  9578. //
  9579. // MessageId: CO_E_NOMATCHINGSIDFOUND
  9580. //
  9581. // MessageText:
  9582. //
  9583. //  Unable to find a security identifier that corresponds to a trustee string provided by the user
  9584. //
  9585. #define CO_E_NOMATCHINGSIDFOUND          _HRESULT_TYPEDEF_(0x8004020CL)
  9586.  
  9587. //
  9588. // MessageId: CO_E_LOOKUPACCSIDFAILED
  9589. //
  9590. // MessageText:
  9591. //
  9592. //  The system function, LookupAccountSID, failed
  9593. //
  9594. #define CO_E_LOOKUPACCSIDFAILED          _HRESULT_TYPEDEF_(0x8004020DL)
  9595.  
  9596. //
  9597. // MessageId: CO_E_NOMATCHINGNAMEFOUND
  9598. //
  9599. // MessageText:
  9600. //
  9601. //  Unable to find a trustee name that corresponds to a security identifier provided by the user
  9602. //
  9603. #define CO_E_NOMATCHINGNAMEFOUND         _HRESULT_TYPEDEF_(0x8004020EL)
  9604.  
  9605. //
  9606. // MessageId: CO_E_LOOKUPACCNAMEFAILED
  9607. //
  9608. // MessageText:
  9609. //
  9610. //  The system function, LookupAccountName, failed
  9611. //
  9612. #define CO_E_LOOKUPACCNAMEFAILED         _HRESULT_TYPEDEF_(0x8004020FL)
  9613.  
  9614. //
  9615. // MessageId: CO_E_SETSERLHNDLFAILED
  9616. //
  9617. // MessageText:
  9618. //
  9619. //  Unable to set or reset a serialization handle
  9620. //
  9621. #define CO_E_SETSERLHNDLFAILED           _HRESULT_TYPEDEF_(0x80040210L)
  9622.  
  9623. //
  9624. // MessageId: CO_E_FAILEDTOGETWINDIR
  9625. //
  9626. // MessageText:
  9627. //
  9628. //  Unable to obtain the Windows directory
  9629. //
  9630. #define CO_E_FAILEDTOGETWINDIR           _HRESULT_TYPEDEF_(0x80040211L)
  9631.  
  9632. //
  9633. // MessageId: CO_E_PATHTOOLONG
  9634. //
  9635. // MessageText:
  9636. //
  9637. //  Path too long
  9638. //
  9639. #define CO_E_PATHTOOLONG                 _HRESULT_TYPEDEF_(0x80040212L)
  9640.  
  9641. //
  9642. // MessageId: CO_E_FAILEDTOGENUUID
  9643. //
  9644. // MessageText:
  9645. //
  9646. //  Unable to generate a uuid.
  9647. //
  9648. #define CO_E_FAILEDTOGENUUID             _HRESULT_TYPEDEF_(0x80040213L)
  9649.  
  9650. //
  9651. // MessageId: CO_E_FAILEDTOCREATEFILE
  9652. //
  9653. // MessageText:
  9654. //
  9655. //  Unable to create file
  9656. //
  9657. #define CO_E_FAILEDTOCREATEFILE          _HRESULT_TYPEDEF_(0x80040214L)
  9658.  
  9659. //
  9660. // MessageId: CO_E_FAILEDTOCLOSEHANDLE
  9661. //
  9662. // MessageText:
  9663. //
  9664. //  Unable to close a serialization handle or a file handle.
  9665. //
  9666. #define CO_E_FAILEDTOCLOSEHANDLE         _HRESULT_TYPEDEF_(0x80040215L)
  9667.  
  9668. //
  9669. // MessageId: CO_E_EXCEEDSYSACLLIMIT
  9670. //
  9671. // MessageText:
  9672. //
  9673. //  The number of ACEs in an ACL exceeds the system limit
  9674. //
  9675. #define CO_E_EXCEEDSYSACLLIMIT           _HRESULT_TYPEDEF_(0x80040216L)
  9676.  
  9677. //
  9678. // MessageId: CO_E_ACESINWRONGORDER
  9679. //
  9680. // MessageText:
  9681. //
  9682. //  Not all the DENY_ACCESS ACEs are arranged in front of the GRANT_ACCESS ACEs in the stream
  9683. //
  9684. #define CO_E_ACESINWRONGORDER            _HRESULT_TYPEDEF_(0x80040217L)
  9685.  
  9686. //
  9687. // MessageId: CO_E_INCOMPATIBLESTREAMVERSION
  9688. //
  9689. // MessageText:
  9690. //
  9691. //  The version of ACL format in the stream is not supported by this implementation of IAccessControl
  9692. //
  9693. #define CO_E_INCOMPATIBLESTREAMVERSION   _HRESULT_TYPEDEF_(0x80040218L)
  9694.  
  9695. //
  9696. // MessageId: CO_E_FAILEDTOOPENPROCESSTOKEN
  9697. //
  9698. // MessageText:
  9699. //
  9700. //  Unable to open the access token of the server process
  9701. //
  9702. #define CO_E_FAILEDTOOPENPROCESSTOKEN    _HRESULT_TYPEDEF_(0x80040219L)
  9703.  
  9704. //
  9705. // MessageId: CO_E_DECODEFAILED
  9706. //
  9707. // MessageText:
  9708. //
  9709. //  Unable to decode the ACL in the stream provided by the user
  9710. //
  9711. #define CO_E_DECODEFAILED                _HRESULT_TYPEDEF_(0x8004021AL)
  9712.  
  9713. //
  9714. // MessageId: CO_E_ACNOTINITIALIZED
  9715. //
  9716. // MessageText:
  9717. //
  9718. //  The COM IAccessControl object is not initialized
  9719. //
  9720. #define CO_E_ACNOTINITIALIZED            _HRESULT_TYPEDEF_(0x8004021BL)
  9721.  
  9722. //
  9723. // Old OLE Success Codes
  9724. //
  9725. //
  9726. // MessageId: OLE_S_USEREG
  9727. //
  9728. // MessageText:
  9729. //
  9730. //  Use the registry database to provide the requested information
  9731. //
  9732. #define OLE_S_USEREG                     _HRESULT_TYPEDEF_(0x00040000L)
  9733.  
  9734. //
  9735. // MessageId: OLE_S_STATIC
  9736. //
  9737. // MessageText:
  9738. //
  9739. //  Success, but static
  9740. //
  9741. #define OLE_S_STATIC                     _HRESULT_TYPEDEF_(0x00040001L)
  9742.  
  9743. //
  9744. // MessageId: OLE_S_MAC_CLIPFORMAT
  9745. //
  9746. // MessageText:
  9747. //
  9748. //  Macintosh clipboard format
  9749. //
  9750. #define OLE_S_MAC_CLIPFORMAT             _HRESULT_TYPEDEF_(0x00040002L)
  9751.  
  9752. //
  9753. // MessageId: DRAGDROP_S_DROP
  9754. //
  9755. // MessageText:
  9756. //
  9757. //  Successful drop took place
  9758. //
  9759. #define DRAGDROP_S_DROP                  _HRESULT_TYPEDEF_(0x00040100L)
  9760.  
  9761. //
  9762. // MessageId: DRAGDROP_S_CANCEL
  9763. //
  9764. // MessageText:
  9765. //
  9766. //  Drag-drop operation canceled
  9767. //
  9768. #define DRAGDROP_S_CANCEL                _HRESULT_TYPEDEF_(0x00040101L)
  9769.  
  9770. //
  9771. // MessageId: DRAGDROP_S_USEDEFAULTCURSORS
  9772. //
  9773. // MessageText:
  9774. //
  9775. //  Use the default cursor
  9776. //
  9777. #define DRAGDROP_S_USEDEFAULTCURSORS     _HRESULT_TYPEDEF_(0x00040102L)
  9778.  
  9779. //
  9780. // MessageId: DATA_S_SAMEFORMATETC
  9781. //
  9782. // MessageText:
  9783. //
  9784. //  Data has same FORMATETC
  9785. //
  9786. #define DATA_S_SAMEFORMATETC             _HRESULT_TYPEDEF_(0x00040130L)
  9787.  
  9788. //
  9789. // MessageId: VIEW_S_ALREADY_FROZEN
  9790. //
  9791. // MessageText:
  9792. //
  9793. //  View is already frozen
  9794. //
  9795. #define VIEW_S_ALREADY_FROZEN            _HRESULT_TYPEDEF_(0x00040140L)
  9796.  
  9797. //
  9798. // MessageId: CACHE_S_FORMATETC_NOTSUPPORTED
  9799. //
  9800. // MessageText:
  9801. //
  9802. //  FORMATETC not supported
  9803. //
  9804. #define CACHE_S_FORMATETC_NOTSUPPORTED   _HRESULT_TYPEDEF_(0x00040170L)
  9805.  
  9806. //
  9807. // MessageId: CACHE_S_SAMECACHE
  9808. //
  9809. // MessageText:
  9810. //
  9811. //  Same cache
  9812. //
  9813. #define CACHE_S_SAMECACHE                _HRESULT_TYPEDEF_(0x00040171L)
  9814.  
  9815. //
  9816. // MessageId: CACHE_S_SOMECACHES_NOTUPDATED
  9817. //
  9818. // MessageText:
  9819. //
  9820. //  Some cache(s) not updated
  9821. //
  9822. #define CACHE_S_SOMECACHES_NOTUPDATED    _HRESULT_TYPEDEF_(0x00040172L)
  9823.  
  9824. //
  9825. // MessageId: OLEOBJ_S_INVALIDVERB
  9826. //
  9827. // MessageText:
  9828. //
  9829. //  Invalid verb for OLE object
  9830. //
  9831. #define OLEOBJ_S_INVALIDVERB             _HRESULT_TYPEDEF_(0x00040180L)
  9832.  
  9833. //
  9834. // MessageId: OLEOBJ_S_CANNOT_DOVERB_NOW
  9835. //
  9836. // MessageText:
  9837. //
  9838. //  Verb number is valid but verb cannot be done now
  9839. //
  9840. #define OLEOBJ_S_CANNOT_DOVERB_NOW       _HRESULT_TYPEDEF_(0x00040181L)
  9841.  
  9842. //
  9843. // MessageId: OLEOBJ_S_INVALIDHWND
  9844. //
  9845. // MessageText:
  9846. //
  9847. //  Invalid window handle passed
  9848. //
  9849. #define OLEOBJ_S_INVALIDHWND             _HRESULT_TYPEDEF_(0x00040182L)
  9850.  
  9851. //
  9852. // MessageId: INPLACE_S_TRUNCATED
  9853. //
  9854. // MessageText:
  9855. //
  9856. //  Message is too long; some of it had to be truncated before displaying
  9857. //
  9858. #define INPLACE_S_TRUNCATED              _HRESULT_TYPEDEF_(0x000401A0L)
  9859.  
  9860. //
  9861. // MessageId: CONVERT10_S_NO_PRESENTATION
  9862. //
  9863. // MessageText:
  9864. //
  9865. //  Unable to convert OLESTREAM to IStorage
  9866. //
  9867. #define CONVERT10_S_NO_PRESENTATION      _HRESULT_TYPEDEF_(0x000401C0L)
  9868.  
  9869. //
  9870. // MessageId: MK_S_REDUCED_TO_SELF
  9871. //
  9872. // MessageText:
  9873. //
  9874. //  Moniker reduced to itself
  9875. //
  9876. #define MK_S_REDUCED_TO_SELF             _HRESULT_TYPEDEF_(0x000401E2L)
  9877.  
  9878. //
  9879. // MessageId: MK_S_ME
  9880. //
  9881. // MessageText:
  9882. //
  9883. //  Common prefix is this moniker
  9884. //
  9885. #define MK_S_ME                          _HRESULT_TYPEDEF_(0x000401E4L)
  9886.  
  9887. //
  9888. // MessageId: MK_S_HIM
  9889. //
  9890. // MessageText:
  9891. //
  9892. //  Common prefix is input moniker
  9893. //
  9894. #define MK_S_HIM                         _HRESULT_TYPEDEF_(0x000401E5L)
  9895.  
  9896. //
  9897. // MessageId: MK_S_US
  9898. //
  9899. // MessageText:
  9900. //
  9901. //  Common prefix is both monikers
  9902. //
  9903. #define MK_S_US                          _HRESULT_TYPEDEF_(0x000401E6L)
  9904.  
  9905. //
  9906. // MessageId: MK_S_MONIKERALREADYREGISTERED
  9907. //
  9908. // MessageText:
  9909. //
  9910. //  Moniker is already registered in running object table
  9911. //
  9912. #define MK_S_MONIKERALREADYREGISTERED    _HRESULT_TYPEDEF_(0x000401E7L)
  9913.  
  9914. // ******************
  9915. // FACILITY_WINDOWS
  9916. // ******************
  9917. //
  9918. // Codes 0x0-0x01ff are reserved for the OLE group of
  9919. // interfaces.
  9920. //
  9921. //
  9922. // MessageId: CO_E_CLASS_CREATE_FAILED
  9923. //
  9924. // MessageText:
  9925. //
  9926. //  Attempt to create a class object failed
  9927. //
  9928. #define CO_E_CLASS_CREATE_FAILED         _HRESULT_TYPEDEF_(0x80080001L)
  9929.  
  9930. //
  9931. // MessageId: CO_E_SCM_ERROR
  9932. //
  9933. // MessageText:
  9934. //
  9935. //  OLE service could not bind object
  9936. //
  9937. #define CO_E_SCM_ERROR                   _HRESULT_TYPEDEF_(0x80080002L)
  9938.  
  9939. //
  9940. // MessageId: CO_E_SCM_RPC_FAILURE
  9941. //
  9942. // MessageText:
  9943. //
  9944. //  RPC communication failed with OLE service
  9945. //
  9946. #define CO_E_SCM_RPC_FAILURE             _HRESULT_TYPEDEF_(0x80080003L)
  9947.  
  9948. //
  9949. // MessageId: CO_E_BAD_PATH
  9950. //
  9951. // MessageText:
  9952. //
  9953. //  Bad path to object
  9954. //
  9955. #define CO_E_BAD_PATH                    _HRESULT_TYPEDEF_(0x80080004L)
  9956.  
  9957. //
  9958. // MessageId: CO_E_SERVER_EXEC_FAILURE
  9959. //
  9960. // MessageText:
  9961. //
  9962. //  Server execution failed
  9963. //
  9964. #define CO_E_SERVER_EXEC_FAILURE         _HRESULT_TYPEDEF_(0x80080005L)
  9965.  
  9966. //
  9967. // MessageId: CO_E_OBJSRV_RPC_FAILURE
  9968. //
  9969. // MessageText:
  9970. //
  9971. //  OLE service could not communicate with the object server
  9972. //
  9973. #define CO_E_OBJSRV_RPC_FAILURE          _HRESULT_TYPEDEF_(0x80080006L)
  9974.  
  9975. //
  9976. // MessageId: MK_E_NO_NORMALIZED
  9977. //
  9978. // MessageText:
  9979. //
  9980. //  Moniker path could not be normalized
  9981. //
  9982. #define MK_E_NO_NORMALIZED               _HRESULT_TYPEDEF_(0x80080007L)
  9983.  
  9984. //
  9985. // MessageId: CO_E_SERVER_STOPPING
  9986. //
  9987. // MessageText:
  9988. //
  9989. //  Object server is stopping when OLE service contacts it
  9990. //
  9991. #define CO_E_SERVER_STOPPING             _HRESULT_TYPEDEF_(0x80080008L)
  9992.  
  9993. //
  9994. // MessageId: MEM_E_INVALID_ROOT
  9995. //
  9996. // MessageText:
  9997. //
  9998. //  An invalid root block pointer was specified
  9999. //
  10000. #define MEM_E_INVALID_ROOT               _HRESULT_TYPEDEF_(0x80080009L)
  10001.  
  10002. //
  10003. // MessageId: MEM_E_INVALID_LINK
  10004. //
  10005. // MessageText:
  10006. //
  10007. //  An allocation chain contained an invalid link pointer
  10008. //
  10009. #define MEM_E_INVALID_LINK               _HRESULT_TYPEDEF_(0x80080010L)
  10010.  
  10011. //
  10012. // MessageId: MEM_E_INVALID_SIZE
  10013. //
  10014. // MessageText:
  10015. //
  10016. //  The requested allocation size was too large
  10017. //
  10018. #define MEM_E_INVALID_SIZE               _HRESULT_TYPEDEF_(0x80080011L)
  10019.  
  10020. //
  10021. // MessageId: CO_S_NOTALLINTERFACES
  10022. //
  10023. // MessageText:
  10024. //
  10025. //  Not all the requested interfaces were available
  10026. //
  10027. #define CO_S_NOTALLINTERFACES            _HRESULT_TYPEDEF_(0x00080012L)
  10028.  
  10029. // ******************
  10030. // FACILITY_DISPATCH
  10031. // ******************
  10032. //
  10033. // MessageId: DISP_E_UNKNOWNINTERFACE
  10034. //
  10035. // MessageText:
  10036. //
  10037. //  Unknown interface.
  10038. //
  10039. #define DISP_E_UNKNOWNINTERFACE          _HRESULT_TYPEDEF_(0x80020001L)
  10040.  
  10041. //
  10042. // MessageId: DISP_E_MEMBERNOTFOUND
  10043. //
  10044. // MessageText:
  10045. //
  10046. //  Member not found.
  10047. //
  10048. #define DISP_E_MEMBERNOTFOUND            _HRESULT_TYPEDEF_(0x80020003L)
  10049.  
  10050. //
  10051. // MessageId: DISP_E_PARAMNOTFOUND
  10052. //
  10053. // MessageText:
  10054. //
  10055. //  Parameter not found.
  10056. //
  10057. #define DISP_E_PARAMNOTFOUND             _HRESULT_TYPEDEF_(0x80020004L)
  10058.  
  10059. //
  10060. // MessageId: DISP_E_TYPEMISMATCH
  10061. //
  10062. // MessageText:
  10063. //
  10064. //  Type mismatch.
  10065. //
  10066. #define DISP_E_TYPEMISMATCH              _HRESULT_TYPEDEF_(0x80020005L)
  10067.  
  10068. //
  10069. // MessageId: DISP_E_UNKNOWNNAME
  10070. //
  10071. // MessageText:
  10072. //
  10073. //  Unknown name.
  10074. //
  10075. #define DISP_E_UNKNOWNNAME               _HRESULT_TYPEDEF_(0x80020006L)
  10076.  
  10077. //
  10078. // MessageId: DISP_E_NONAMEDARGS
  10079. //
  10080. // MessageText:
  10081. //
  10082. //  No named arguments.
  10083. //
  10084. #define DISP_E_NONAMEDARGS               _HRESULT_TYPEDEF_(0x80020007L)
  10085.  
  10086. //
  10087. // MessageId: DISP_E_BADVARTYPE
  10088. //
  10089. // MessageText:
  10090. //
  10091. //  Bad variable type.
  10092. //
  10093. #define DISP_E_BADVARTYPE                _HRESULT_TYPEDEF_(0x80020008L)
  10094.  
  10095. //
  10096. // MessageId: DISP_E_EXCEPTION
  10097. //
  10098. // MessageText:
  10099. //
  10100. //  Exception occurred.
  10101. //
  10102. #define DISP_E_EXCEPTION                 _HRESULT_TYPEDEF_(0x80020009L)
  10103.  
  10104. //
  10105. // MessageId: DISP_E_OVERFLOW
  10106. //
  10107. // MessageText:
  10108. //
  10109. //  Out of present range.
  10110. //
  10111. #define DISP_E_OVERFLOW                  _HRESULT_TYPEDEF_(0x8002000AL)
  10112.  
  10113. //
  10114. // MessageId: DISP_E_BADINDEX
  10115. //
  10116. // MessageText:
  10117. //
  10118. //  Invalid index.
  10119. //
  10120. #define DISP_E_BADINDEX                  _HRESULT_TYPEDEF_(0x8002000BL)
  10121.  
  10122. //
  10123. // MessageId: DISP_E_UNKNOWNLCID
  10124. //
  10125. // MessageText:
  10126. //
  10127. //  Unknown language.
  10128. //
  10129. #define DISP_E_UNKNOWNLCID               _HRESULT_TYPEDEF_(0x8002000CL)
  10130.  
  10131. //
  10132. // MessageId: DISP_E_ARRAYISLOCKED
  10133. //
  10134. // MessageText:
  10135. //
  10136. //  Memory is locked.
  10137. //
  10138. #define DISP_E_ARRAYISLOCKED             _HRESULT_TYPEDEF_(0x8002000DL)
  10139.  
  10140. //
  10141. // MessageId: DISP_E_BADPARAMCOUNT
  10142. //
  10143. // MessageText:
  10144. //
  10145. //  Invalid number of parameters.
  10146. //
  10147. #define DISP_E_BADPARAMCOUNT             _HRESULT_TYPEDEF_(0x8002000EL)
  10148.  
  10149. //
  10150. // MessageId: DISP_E_PARAMNOTOPTIONAL
  10151. //
  10152. // MessageText:
  10153. //
  10154. //  Parameter not optional.
  10155. //
  10156. #define DISP_E_PARAMNOTOPTIONAL          _HRESULT_TYPEDEF_(0x8002000FL)
  10157.  
  10158. //
  10159. // MessageId: DISP_E_BADCALLEE
  10160. //
  10161. // MessageText:
  10162. //
  10163. //  Invalid callee.
  10164. //
  10165. #define DISP_E_BADCALLEE                 _HRESULT_TYPEDEF_(0x80020010L)
  10166.  
  10167. //
  10168. // MessageId: DISP_E_NOTACOLLECTION
  10169. //
  10170. // MessageText:
  10171. //
  10172. //  Does not support a collection.
  10173. //
  10174. #define DISP_E_NOTACOLLECTION            _HRESULT_TYPEDEF_(0x80020011L)
  10175.  
  10176. //
  10177. // MessageId: DISP_E_DIVBYZERO
  10178. //
  10179. // MessageText:
  10180. //
  10181. //  Division by zero.
  10182. //
  10183. #define DISP_E_DIVBYZERO                 _HRESULT_TYPEDEF_(0x80020012L)
  10184.  
  10185. //
  10186. // MessageId: TYPE_E_BUFFERTOOSMALL
  10187. //
  10188. // MessageText:
  10189. //
  10190. //  Buffer too small.
  10191. //
  10192. #define TYPE_E_BUFFERTOOSMALL            _HRESULT_TYPEDEF_(0x80028016L)
  10193.  
  10194. //
  10195. // MessageId: TYPE_E_FIELDNOTFOUND
  10196. //
  10197. // MessageText:
  10198. //
  10199. //  Field name not defined in the record.
  10200. //
  10201. #define TYPE_E_FIELDNOTFOUND             _HRESULT_TYPEDEF_(0x80028017L)
  10202.  
  10203. //
  10204. // MessageId: TYPE_E_INVDATAREAD
  10205. //
  10206. // MessageText:
  10207. //
  10208. //  Old format or invalid type library.
  10209. //
  10210. #define TYPE_E_INVDATAREAD               _HRESULT_TYPEDEF_(0x80028018L)
  10211.  
  10212. //
  10213. // MessageId: TYPE_E_UNSUPFORMAT
  10214. //
  10215. // MessageText:
  10216. //
  10217. //  Old format or invalid type library.
  10218. //
  10219. #define TYPE_E_UNSUPFORMAT               _HRESULT_TYPEDEF_(0x80028019L)
  10220.  
  10221. //
  10222. // MessageId: TYPE_E_REGISTRYACCESS
  10223. //
  10224. // MessageText:
  10225. //
  10226. //  Error accessing the OLE registry.
  10227. //
  10228. #define TYPE_E_REGISTRYACCESS            _HRESULT_TYPEDEF_(0x8002801CL)
  10229.  
  10230. //
  10231. // MessageId: TYPE_E_LIBNOTREGISTERED
  10232. //
  10233. // MessageText:
  10234. //
  10235. //  Library not registered.
  10236. //
  10237. #define TYPE_E_LIBNOTREGISTERED          _HRESULT_TYPEDEF_(0x8002801DL)
  10238.  
  10239. //
  10240. // MessageId: TYPE_E_UNDEFINEDTYPE
  10241. //
  10242. // MessageText:
  10243. //
  10244. //  Bound to unknown type.
  10245. //
  10246. #define TYPE_E_UNDEFINEDTYPE             _HRESULT_TYPEDEF_(0x80028027L)
  10247.  
  10248. //
  10249. // MessageId: TYPE_E_QUALIFIEDNAMEDISALLOWED
  10250. //
  10251. // MessageText:
  10252. //
  10253. //  Qualified name disallowed.
  10254. //
  10255. #define TYPE_E_QUALIFIEDNAMEDISALLOWED   _HRESULT_TYPEDEF_(0x80028028L)
  10256.  
  10257. //
  10258. // MessageId: TYPE_E_INVALIDSTATE
  10259. //
  10260. // MessageText:
  10261. //
  10262. //  Invalid forward reference, or reference to uncompiled type.
  10263. //
  10264. #define TYPE_E_INVALIDSTATE              _HRESULT_TYPEDEF_(0x80028029L)
  10265.  
  10266. //
  10267. // MessageId: TYPE_E_WRONGTYPEKIND
  10268. //
  10269. // MessageText:
  10270. //
  10271. //  Type mismatch.
  10272. //
  10273. #define TYPE_E_WRONGTYPEKIND             _HRESULT_TYPEDEF_(0x8002802AL)
  10274.  
  10275. //
  10276. // MessageId: TYPE_E_ELEMENTNOTFOUND
  10277. //
  10278. // MessageText:
  10279. //
  10280. //  Element not found.
  10281. //
  10282. #define TYPE_E_ELEMENTNOTFOUND           _HRESULT_TYPEDEF_(0x8002802BL)
  10283.  
  10284. //
  10285. // MessageId: TYPE_E_AMBIGUOUSNAME
  10286. //
  10287. // MessageText:
  10288. //
  10289. //  Ambiguous name.
  10290. //
  10291. #define TYPE_E_AMBIGUOUSNAME             _HRESULT_TYPEDEF_(0x8002802CL)
  10292.  
  10293. //
  10294. // MessageId: TYPE_E_NAMECONFLICT
  10295. //
  10296. // MessageText:
  10297. //
  10298. //  Name already exists in the library.
  10299. //
  10300. #define TYPE_E_NAMECONFLICT              _HRESULT_TYPEDEF_(0x8002802DL)
  10301.  
  10302. //
  10303. // MessageId: TYPE_E_UNKNOWNLCID
  10304. //
  10305. // MessageText:
  10306. //
  10307. //  Unknown LCID.
  10308. //
  10309. #define TYPE_E_UNKNOWNLCID               _HRESULT_TYPEDEF_(0x8002802EL)
  10310.  
  10311. //
  10312. // MessageId: TYPE_E_DLLFUNCTIONNOTFOUND
  10313. //
  10314. // MessageText:
  10315. //
  10316. //  Function not defined in specified DLL.
  10317. //
  10318. #define TYPE_E_DLLFUNCTIONNOTFOUND       _HRESULT_TYPEDEF_(0x8002802FL)
  10319.  
  10320. //
  10321. // MessageId: TYPE_E_BADMODULEKIND
  10322. //
  10323. // MessageText:
  10324. //
  10325. //  Wrong module kind for the operation.
  10326. //
  10327. #define TYPE_E_BADMODULEKIND             _HRESULT_TYPEDEF_(0x800288BDL)
  10328.  
  10329. //
  10330. // MessageId: TYPE_E_SIZETOOBIG
  10331. //
  10332. // MessageText:
  10333. //
  10334. //  Size may not exceed 64K.
  10335. //
  10336. #define TYPE_E_SIZETOOBIG                _HRESULT_TYPEDEF_(0x800288C5L)
  10337.  
  10338. //
  10339. // MessageId: TYPE_E_DUPLICATEID
  10340. //
  10341. // MessageText:
  10342. //
  10343. //  Duplicate ID in inheritance hierarchy.
  10344. //
  10345. #define TYPE_E_DUPLICATEID               _HRESULT_TYPEDEF_(0x800288C6L)
  10346.  
  10347. //
  10348. // MessageId: TYPE_E_INVALIDID
  10349. //
  10350. // MessageText:
  10351. //
  10352. //  Incorrect inheritance depth in standard OLE hmember.
  10353. //
  10354. #define TYPE_E_INVALIDID                 _HRESULT_TYPEDEF_(0x800288CFL)
  10355.  
  10356. //
  10357. // MessageId: TYPE_E_TYPEMISMATCH
  10358. //
  10359. // MessageText:
  10360. //
  10361. //  Type mismatch.
  10362. //
  10363. #define TYPE_E_TYPEMISMATCH              _HRESULT_TYPEDEF_(0x80028CA0L)
  10364.  
  10365. //
  10366. // MessageId: TYPE_E_OUTOFBOUNDS
  10367. //
  10368. // MessageText:
  10369. //
  10370. //  Invalid number of arguments.
  10371. //
  10372. #define TYPE_E_OUTOFBOUNDS               _HRESULT_TYPEDEF_(0x80028CA1L)
  10373.  
  10374. //
  10375. // MessageId: TYPE_E_IOERROR
  10376. //
  10377. // MessageText:
  10378. //
  10379. //  I/O Error.
  10380. //
  10381. #define TYPE_E_IOERROR                   _HRESULT_TYPEDEF_(0x80028CA2L)
  10382.  
  10383. //
  10384. // MessageId: TYPE_E_CANTCREATETMPFILE
  10385. //
  10386. // MessageText:
  10387. //
  10388. //  Error creating unique tmp file.
  10389. //
  10390. #define TYPE_E_CANTCREATETMPFILE         _HRESULT_TYPEDEF_(0x80028CA3L)
  10391.  
  10392. //
  10393. // MessageId: TYPE_E_CANTLOADLIBRARY
  10394. //
  10395. // MessageText:
  10396. //
  10397. //  Error loading type library/DLL.
  10398. //
  10399. #define TYPE_E_CANTLOADLIBRARY           _HRESULT_TYPEDEF_(0x80029C4AL)
  10400.  
  10401. //
  10402. // MessageId: TYPE_E_INCONSISTENTPROPFUNCS
  10403. //
  10404. // MessageText:
  10405. //
  10406. //  Inconsistent property functions.
  10407. //
  10408. #define TYPE_E_INCONSISTENTPROPFUNCS     _HRESULT_TYPEDEF_(0x80029C83L)
  10409.  
  10410. //
  10411. // MessageId: TYPE_E_CIRCULARTYPE
  10412. //
  10413. // MessageText:
  10414. //
  10415. //  Circular dependency between types/modules.
  10416. //
  10417. #define TYPE_E_CIRCULARTYPE              _HRESULT_TYPEDEF_(0x80029C84L)
  10418.  
  10419. // ******************
  10420. // FACILITY_STORAGE
  10421. // ******************
  10422. //
  10423. // MessageId: STG_E_INVALIDFUNCTION
  10424. //
  10425. // MessageText:
  10426. //
  10427. //  Unable to perform requested operation.
  10428. //
  10429. #define STG_E_INVALIDFUNCTION            _HRESULT_TYPEDEF_(0x80030001L)
  10430.  
  10431. //
  10432. // MessageId: STG_E_FILENOTFOUND
  10433. //
  10434. // MessageText:
  10435. //
  10436. //  %1 could not be found.
  10437. //
  10438. #define STG_E_FILENOTFOUND               _HRESULT_TYPEDEF_(0x80030002L)
  10439.  
  10440. //
  10441. // MessageId: STG_E_PATHNOTFOUND
  10442. //
  10443. // MessageText:
  10444. //
  10445. //  The path %1 could not be found.
  10446. //
  10447. #define STG_E_PATHNOTFOUND               _HRESULT_TYPEDEF_(0x80030003L)
  10448.  
  10449. //
  10450. // MessageId: STG_E_TOOMANYOPENFILES
  10451. //
  10452. // MessageText:
  10453. //
  10454. //  There are insufficient resources to open another file.
  10455. //
  10456. #define STG_E_TOOMANYOPENFILES           _HRESULT_TYPEDEF_(0x80030004L)
  10457.  
  10458. //
  10459. // MessageId: STG_E_ACCESSDENIED
  10460. //
  10461. // MessageText:
  10462. //
  10463. //  Access Denied.
  10464. //
  10465. #define STG_E_ACCESSDENIED               _HRESULT_TYPEDEF_(0x80030005L)
  10466.  
  10467. //
  10468. // MessageId: STG_E_INVALIDHANDLE
  10469. //
  10470. // MessageText:
  10471. //
  10472. //  Attempted an operation on an invalid object.
  10473. //
  10474. #define STG_E_INVALIDHANDLE              _HRESULT_TYPEDEF_(0x80030006L)
  10475.  
  10476. //
  10477. // MessageId: STG_E_INSUFFICIENTMEMORY
  10478. //
  10479. // MessageText:
  10480. //
  10481. //  There is insufficient memory available to complete operation.
  10482. //
  10483. #define STG_E_INSUFFICIENTMEMORY         _HRESULT_TYPEDEF_(0x80030008L)
  10484.  
  10485. //
  10486. // MessageId: STG_E_INVALIDPOINTER
  10487. //
  10488. // MessageText:
  10489. //
  10490. //  Invalid pointer error.
  10491. //
  10492. #define STG_E_INVALIDPOINTER             _HRESULT_TYPEDEF_(0x80030009L)
  10493.  
  10494. //
  10495. // MessageId: STG_E_NOMOREFILES
  10496. //
  10497. // MessageText:
  10498. //
  10499. //  There are no more entries to return.
  10500. //
  10501. #define STG_E_NOMOREFILES                _HRESULT_TYPEDEF_(0x80030012L)
  10502.  
  10503. //
  10504. // MessageId: STG_E_DISKISWRITEPROTECTED
  10505. //
  10506. // MessageText:
  10507. //
  10508. //  Disk is write-protected.
  10509. //
  10510. #define STG_E_DISKISWRITEPROTECTED       _HRESULT_TYPEDEF_(0x80030013L)
  10511.  
  10512. //
  10513. // MessageId: STG_E_SEEKERROR
  10514. //
  10515. // MessageText:
  10516. //
  10517. //  An error occurred during a seek operation.
  10518. //
  10519. #define STG_E_SEEKERROR                  _HRESULT_TYPEDEF_(0x80030019L)
  10520.  
  10521. //
  10522. // MessageId: STG_E_WRITEFAULT
  10523. //
  10524. // MessageText:
  10525. //
  10526. //  A disk error occurred during a write operation.
  10527. //
  10528. #define STG_E_WRITEFAULT                 _HRESULT_TYPEDEF_(0x8003001DL)
  10529.  
  10530. //
  10531. // MessageId: STG_E_READFAULT
  10532. //
  10533. // MessageText:
  10534. //
  10535. //  A disk error occurred during a read operation.
  10536. //
  10537. #define STG_E_READFAULT                  _HRESULT_TYPEDEF_(0x8003001EL)
  10538.  
  10539. //
  10540. // MessageId: STG_E_SHAREVIOLATION
  10541. //
  10542. // MessageText:
  10543. //
  10544. //  A share violation has occurred.
  10545. //
  10546. #define STG_E_SHAREVIOLATION             _HRESULT_TYPEDEF_(0x80030020L)
  10547.  
  10548. //
  10549. // MessageId: STG_E_LOCKVIOLATION
  10550. //
  10551. // MessageText:
  10552. //
  10553. //  A lock violation has occurred.
  10554. //
  10555. #define STG_E_LOCKVIOLATION              _HRESULT_TYPEDEF_(0x80030021L)
  10556.  
  10557. //
  10558. // MessageId: STG_E_FILEALREADYEXISTS
  10559. //
  10560. // MessageText:
  10561. //
  10562. //  %1 already exists.
  10563. //
  10564. #define STG_E_FILEALREADYEXISTS          _HRESULT_TYPEDEF_(0x80030050L)
  10565.  
  10566. //
  10567. // MessageId: STG_E_INVALIDPARAMETER
  10568. //
  10569. // MessageText:
  10570. //
  10571. //  Invalid parameter error.
  10572. //
  10573. #define STG_E_INVALIDPARAMETER           _HRESULT_TYPEDEF_(0x80030057L)
  10574.  
  10575. //
  10576. // MessageId: STG_E_MEDIUMFULL
  10577. //
  10578. // MessageText:
  10579. //
  10580. //  There is insufficient disk space to complete operation.
  10581. //
  10582. #define STG_E_MEDIUMFULL                 _HRESULT_TYPEDEF_(0x80030070L)
  10583.  
  10584. //
  10585. // MessageId: STG_E_PROPSETMISMATCHED
  10586. //
  10587. // MessageText:
  10588. //
  10589. //  Illegal write of non-simple property to simple property set.
  10590. //
  10591. #define STG_E_PROPSETMISMATCHED          _HRESULT_TYPEDEF_(0x800300F0L)
  10592.  
  10593. //
  10594. // MessageId: STG_E_ABNORMALAPIEXIT
  10595. //
  10596. // MessageText:
  10597. //
  10598. //  An API call exited abnormally.
  10599. //
  10600. #define STG_E_ABNORMALAPIEXIT            _HRESULT_TYPEDEF_(0x800300FAL)
  10601.  
  10602. //
  10603. // MessageId: STG_E_INVALIDHEADER
  10604. //
  10605. // MessageText:
  10606. //
  10607. //  The file %1 is not a valid compound file.
  10608. //
  10609. #define STG_E_INVALIDHEADER              _HRESULT_TYPEDEF_(0x800300FBL)
  10610.  
  10611. //
  10612. // MessageId: STG_E_INVALIDNAME
  10613. //
  10614. // MessageText:
  10615. //
  10616. //  The name %1 is not valid.
  10617. //
  10618. #define STG_E_INVALIDNAME                _HRESULT_TYPEDEF_(0x800300FCL)
  10619.  
  10620. //
  10621. // MessageId: STG_E_UNKNOWN
  10622. //
  10623. // MessageText:
  10624. //
  10625. //  An unexpected error occurred.
  10626. //
  10627. #define STG_E_UNKNOWN                    _HRESULT_TYPEDEF_(0x800300FDL)
  10628.  
  10629. //
  10630. // MessageId: STG_E_UNIMPLEMENTEDFUNCTION
  10631. //
  10632. // MessageText:
  10633. //
  10634. //  That function is not implemented.
  10635. //
  10636. #define STG_E_UNIMPLEMENTEDFUNCTION      _HRESULT_TYPEDEF_(0x800300FEL)
  10637.  
  10638. //
  10639. // MessageId: STG_E_INVALIDFLAG
  10640. //
  10641. // MessageText:
  10642. //
  10643. //  Invalid flag error.
  10644. //
  10645. #define STG_E_INVALIDFLAG                _HRESULT_TYPEDEF_(0x800300FFL)
  10646.  
  10647. //
  10648. // MessageId: STG_E_INUSE
  10649. //
  10650. // MessageText:
  10651. //
  10652. //  Attempted to use an object that is busy.
  10653. //
  10654. #define STG_E_INUSE                      _HRESULT_TYPEDEF_(0x80030100L)
  10655.  
  10656. //
  10657. // MessageId: STG_E_NOTCURRENT
  10658. //
  10659. // MessageText:
  10660. //
  10661. //  The storage has been changed since the last commit.
  10662. //
  10663. #define STG_E_NOTCURRENT                 _HRESULT_TYPEDEF_(0x80030101L)
  10664.  
  10665. //
  10666. // MessageId: STG_E_REVERTED
  10667. //
  10668. // MessageText:
  10669. //
  10670. //  Attempted to use an object that has ceased to exist.
  10671. //
  10672. #define STG_E_REVERTED                   _HRESULT_TYPEDEF_(0x80030102L)
  10673.  
  10674. //
  10675. // MessageId: STG_E_CANTSAVE
  10676. //
  10677. // MessageText:
  10678. //
  10679. //  Can't save.
  10680. //
  10681. #define STG_E_CANTSAVE                   _HRESULT_TYPEDEF_(0x80030103L)
  10682.  
  10683. //
  10684. // MessageId: STG_E_OLDFORMAT
  10685. //
  10686. // MessageText:
  10687. //
  10688. //  The compound file %1 was produced with an incompatible version of storage.
  10689. //
  10690. #define STG_E_OLDFORMAT                  _HRESULT_TYPEDEF_(0x80030104L)
  10691.  
  10692. //
  10693. // MessageId: STG_E_OLDDLL
  10694. //
  10695. // MessageText:
  10696. //
  10697. //  The compound file %1 was produced with a newer version of storage.
  10698. //
  10699. #define STG_E_OLDDLL                     _HRESULT_TYPEDEF_(0x80030105L)
  10700.  
  10701. //
  10702. // MessageId: STG_E_SHAREREQUIRED
  10703. //
  10704. // MessageText:
  10705. //
  10706. //  Share.exe or equivalent is required for operation.
  10707. //
  10708. #define STG_E_SHAREREQUIRED              _HRESULT_TYPEDEF_(0x80030106L)
  10709.  
  10710. //
  10711. // MessageId: STG_E_NOTFILEBASEDSTORAGE
  10712. //
  10713. // MessageText:
  10714. //
  10715. //  Illegal operation called on non-file based storage.
  10716. //
  10717. #define STG_E_NOTFILEBASEDSTORAGE        _HRESULT_TYPEDEF_(0x80030107L)
  10718.  
  10719. //
  10720. // MessageId: STG_E_EXTANTMARSHALLINGS
  10721. //
  10722. // MessageText:
  10723. //
  10724. //  Illegal operation called on object with extant marshallings.
  10725. //
  10726. #define STG_E_EXTANTMARSHALLINGS         _HRESULT_TYPEDEF_(0x80030108L)
  10727.  
  10728. //
  10729. // MessageId: STG_E_DOCFILECORRUPT
  10730. //
  10731. // MessageText:
  10732. //
  10733. //  The docfile has been corrupted.
  10734. //
  10735. #define STG_E_DOCFILECORRUPT             _HRESULT_TYPEDEF_(0x80030109L)
  10736.  
  10737. //
  10738. // MessageId: STG_E_BADBASEADDRESS
  10739. //
  10740. // MessageText:
  10741. //
  10742. //  OLE32.DLL has been loaded at the wrong address.
  10743. //
  10744. #define STG_E_BADBASEADDRESS             _HRESULT_TYPEDEF_(0x80030110L)
  10745.  
  10746. //
  10747. // MessageId: STG_E_INCOMPLETE
  10748. //
  10749. // MessageText:
  10750. //
  10751. //  The file download was aborted abnormally.  The file is incomplete.
  10752. //
  10753. #define STG_E_INCOMPLETE                 _HRESULT_TYPEDEF_(0x80030201L)
  10754.  
  10755. //
  10756. // MessageId: STG_E_TERMINATED
  10757. //
  10758. // MessageText:
  10759. //
  10760. //  The file download has been terminated.
  10761. //
  10762. #define STG_E_TERMINATED                 _HRESULT_TYPEDEF_(0x80030202L)
  10763.  
  10764. //
  10765. // MessageId: STG_S_CONVERTED
  10766. //
  10767. // MessageText:
  10768. //
  10769. //  The underlying file was converted to compound file format.
  10770. //
  10771. #define STG_S_CONVERTED                  _HRESULT_TYPEDEF_(0x00030200L)
  10772.  
  10773. //
  10774. // MessageId: STG_S_BLOCK
  10775. //
  10776. // MessageText:
  10777. //
  10778. //  The storage operation should block until more data is available.
  10779. //
  10780. #define STG_S_BLOCK                      _HRESULT_TYPEDEF_(0x00030201L)
  10781.  
  10782. //
  10783. // MessageId: STG_S_RETRYNOW
  10784. //
  10785. // MessageText:
  10786. //
  10787. //  The storage operation should retry immediately.
  10788. //
  10789. #define STG_S_RETRYNOW                   _HRESULT_TYPEDEF_(0x00030202L)
  10790.  
  10791. //
  10792. // MessageId: STG_S_MONITORING
  10793. //
  10794. // MessageText:
  10795. //
  10796. //  The notified event sink will not influence the storage operation.
  10797. //
  10798. #define STG_S_MONITORING                 _HRESULT_TYPEDEF_(0x00030203L)
  10799.  
  10800. //
  10801. // MessageId: STG_S_MULTIPLEOPENS
  10802. //
  10803. // MessageText:
  10804. //
  10805. //  Multiple opens prevent consolidated. (commit succeeded).
  10806. //
  10807. #define STG_S_MULTIPLEOPENS              _HRESULT_TYPEDEF_(0x00030204L)
  10808.  
  10809. //
  10810. // MessageId: STG_S_CONSOLIDATIONFAILED
  10811. //
  10812. // MessageText:
  10813. //
  10814. //  Consolidation of the storage file failed. (commit succeeded).
  10815. //
  10816. #define STG_S_CONSOLIDATIONFAILED        _HRESULT_TYPEDEF_(0x00030205L)
  10817.  
  10818. //
  10819. // MessageId: STG_S_CANNOTCONSOLIDATE
  10820. //
  10821. // MessageText:
  10822. //
  10823. //  Consolidation of the storage file is inappropriate. (commit succeeded).
  10824. //
  10825. #define STG_S_CANNOTCONSOLIDATE          _HRESULT_TYPEDEF_(0x00030206L)
  10826.  
  10827. // ******************
  10828. // FACILITY_RPC
  10829. // ******************
  10830. //
  10831. // Codes 0x0-0x11 are propagated from 16 bit OLE.
  10832. //
  10833. //
  10834. // MessageId: RPC_E_CALL_REJECTED
  10835. //
  10836. // MessageText:
  10837. //
  10838. //  Call was rejected by callee.
  10839. //
  10840. #define RPC_E_CALL_REJECTED              _HRESULT_TYPEDEF_(0x80010001L)
  10841.  
  10842. //
  10843. // MessageId: RPC_E_CALL_CANCELED
  10844. //
  10845. // MessageText:
  10846. //
  10847. //  Call was canceled by the message filter.
  10848. //
  10849. #define RPC_E_CALL_CANCELED              _HRESULT_TYPEDEF_(0x80010002L)
  10850.  
  10851. //
  10852. // MessageId: RPC_E_CANTPOST_INSENDCALL
  10853. //
  10854. // MessageText:
  10855. //
  10856. //  The caller is dispatching an intertask SendMessage call and
  10857. //  cannot call out via PostMessage.
  10858. //
  10859. #define RPC_E_CANTPOST_INSENDCALL        _HRESULT_TYPEDEF_(0x80010003L)
  10860.  
  10861. //
  10862. // MessageId: RPC_E_CANTCALLOUT_INASYNCCALL
  10863. //
  10864. // MessageText:
  10865. //
  10866. //  The caller is dispatching an asynchronous call and cannot
  10867. //  make an outgoing call on behalf of this call.
  10868. //
  10869. #define RPC_E_CANTCALLOUT_INASYNCCALL    _HRESULT_TYPEDEF_(0x80010004L)
  10870.  
  10871. //
  10872. // MessageId: RPC_E_CANTCALLOUT_INEXTERNALCALL
  10873. //
  10874. // MessageText:
  10875. //
  10876. //  It is illegal to call out while inside message filter.
  10877. //
  10878. #define RPC_E_CANTCALLOUT_INEXTERNALCALL _HRESULT_TYPEDEF_(0x80010005L)
  10879.  
  10880. //
  10881. // MessageId: RPC_E_CONNECTION_TERMINATED
  10882. //
  10883. // MessageText:
  10884. //
  10885. //  The connection terminated or is in a bogus state
  10886. //  and cannot be used any more. Other connections
  10887. //  are still valid.
  10888. //
  10889. #define RPC_E_CONNECTION_TERMINATED      _HRESULT_TYPEDEF_(0x80010006L)
  10890.  
  10891. //
  10892. // MessageId: RPC_E_SERVER_DIED
  10893. //
  10894. // MessageText:
  10895. //
  10896. //  The callee (server [not server application]) is not available
  10897. //  and disappeared; all connections are invalid.  The call may
  10898. //  have executed.
  10899. //
  10900. #define RPC_E_SERVER_DIED                _HRESULT_TYPEDEF_(0x80010007L)
  10901.  
  10902. //
  10903. // MessageId: RPC_E_CLIENT_DIED
  10904. //
  10905. // MessageText:
  10906. //
  10907. //  The caller (client) disappeared while the callee (server) was
  10908. //  processing a call.
  10909. //
  10910. #define RPC_E_CLIENT_DIED                _HRESULT_TYPEDEF_(0x80010008L)
  10911.  
  10912. //
  10913. // MessageId: RPC_E_INVALID_DATAPACKET
  10914. //
  10915. // MessageText:
  10916. //
  10917. //  The data packet with the marshalled parameter data is incorrect.
  10918. //
  10919. #define RPC_E_INVALID_DATAPACKET         _HRESULT_TYPEDEF_(0x80010009L)
  10920.  
  10921. //
  10922. // MessageId: RPC_E_CANTTRANSMIT_CALL
  10923. //
  10924. // MessageText:
  10925. //
  10926. //  The call was not transmitted properly; the message queue
  10927. //  was full and was not emptied after yielding.
  10928. //
  10929. #define RPC_E_CANTTRANSMIT_CALL          _HRESULT_TYPEDEF_(0x8001000AL)
  10930.  
  10931. //
  10932. // MessageId: RPC_E_CLIENT_CANTMARSHAL_DATA
  10933. //
  10934. // MessageText:
  10935. //
  10936. //  The client (caller) cannot marshall the parameter data - low memory, etc.
  10937. //
  10938. #define RPC_E_CLIENT_CANTMARSHAL_DATA    _HRESULT_TYPEDEF_(0x8001000BL)
  10939.  
  10940. //
  10941. // MessageId: RPC_E_CLIENT_CANTUNMARSHAL_DATA
  10942. //
  10943. // MessageText:
  10944. //
  10945. //  The client (caller) cannot unmarshall the return data - low memory, etc.
  10946. //
  10947. #define RPC_E_CLIENT_CANTUNMARSHAL_DATA  _HRESULT_TYPEDEF_(0x8001000CL)
  10948.  
  10949. //
  10950. // MessageId: RPC_E_SERVER_CANTMARSHAL_DATA
  10951. //
  10952. // MessageText:
  10953. //
  10954. //  The server (callee) cannot marshall the return data - low memory, etc.
  10955. //
  10956. #define RPC_E_SERVER_CANTMARSHAL_DATA    _HRESULT_TYPEDEF_(0x8001000DL)
  10957.  
  10958. //
  10959. // MessageId: RPC_E_SERVER_CANTUNMARSHAL_DATA
  10960. //
  10961. // MessageText:
  10962. //
  10963. //  The server (callee) cannot unmarshall the parameter data - low memory, etc.
  10964. //
  10965. #define RPC_E_SERVER_CANTUNMARSHAL_DATA  _HRESULT_TYPEDEF_(0x8001000EL)
  10966.  
  10967. //
  10968. // MessageId: RPC_E_INVALID_DATA
  10969. //
  10970. // MessageText:
  10971. //
  10972. //  Received data is invalid; could be server or client data.
  10973. //
  10974. #define RPC_E_INVALID_DATA               _HRESULT_TYPEDEF_(0x8001000FL)
  10975.  
  10976. //
  10977. // MessageId: RPC_E_INVALID_PARAMETER
  10978. //
  10979. // MessageText:
  10980. //
  10981. //  A particular parameter is invalid and cannot be (un)marshalled.
  10982. //
  10983. #define RPC_E_INVALID_PARAMETER          _HRESULT_TYPEDEF_(0x80010010L)
  10984.  
  10985. //
  10986. // MessageId: RPC_E_CANTCALLOUT_AGAIN
  10987. //
  10988. // MessageText:
  10989. //
  10990. //  There is no second outgoing call on same channel in DDE conversation.
  10991. //
  10992. #define RPC_E_CANTCALLOUT_AGAIN          _HRESULT_TYPEDEF_(0x80010011L)
  10993.  
  10994. //
  10995. // MessageId: RPC_E_SERVER_DIED_DNE
  10996. //
  10997. // MessageText:
  10998. //
  10999. //  The callee (server [not server application]) is not available
  11000. //  and disappeared; all connections are invalid.  The call did not execute.
  11001. //
  11002. #define RPC_E_SERVER_DIED_DNE            _HRESULT_TYPEDEF_(0x80010012L)
  11003.  
  11004. //
  11005. // MessageId: RPC_E_SYS_CALL_FAILED
  11006. //
  11007. // MessageText:
  11008. //
  11009. //  System call failed.
  11010. //
  11011. #define RPC_E_SYS_CALL_FAILED            _HRESULT_TYPEDEF_(0x80010100L)
  11012.  
  11013. //
  11014. // MessageId: RPC_E_OUT_OF_RESOURCES
  11015. //
  11016. // MessageText:
  11017. //
  11018. //  Could not allocate some required resource (memory, events, ...)
  11019. //
  11020. #define RPC_E_OUT_OF_RESOURCES           _HRESULT_TYPEDEF_(0x80010101L)
  11021.  
  11022. //
  11023. // MessageId: RPC_E_ATTEMPTED_MULTITHREAD
  11024. //
  11025. // MessageText:
  11026. //
  11027. //  Attempted to make calls on more than one thread in single threaded mode.
  11028. //
  11029. #define RPC_E_ATTEMPTED_MULTITHREAD      _HRESULT_TYPEDEF_(0x80010102L)
  11030.  
  11031. //
  11032. // MessageId: RPC_E_NOT_REGISTERED
  11033. //
  11034. // MessageText:
  11035. //
  11036. //  The requested interface is not registered on the server object.
  11037. //
  11038. #define RPC_E_NOT_REGISTERED             _HRESULT_TYPEDEF_(0x80010103L)
  11039.  
  11040. //
  11041. // MessageId: RPC_E_FAULT
  11042. //
  11043. // MessageText:
  11044. //
  11045. //  RPC could not call the server or could not return the results of calling the server.
  11046. //
  11047. #define RPC_E_FAULT                      _HRESULT_TYPEDEF_(0x80010104L)
  11048.  
  11049. //
  11050. // MessageId: RPC_E_SERVERFAULT
  11051. //
  11052. // MessageText:
  11053. //
  11054. //  The server threw an exception.
  11055. //
  11056. #define RPC_E_SERVERFAULT                _HRESULT_TYPEDEF_(0x80010105L)
  11057.  
  11058. //
  11059. // MessageId: RPC_E_CHANGED_MODE
  11060. //
  11061. // MessageText:
  11062. //
  11063. //  Cannot change thread mode after it is set.
  11064. //
  11065. #define RPC_E_CHANGED_MODE               _HRESULT_TYPEDEF_(0x80010106L)
  11066.  
  11067. //
  11068. // MessageId: RPC_E_INVALIDMETHOD
  11069. //
  11070. // MessageText:
  11071. //
  11072. //  The method called does not exist on the server.
  11073. //
  11074. #define RPC_E_INVALIDMETHOD              _HRESULT_TYPEDEF_(0x80010107L)
  11075.  
  11076. //
  11077. // MessageId: RPC_E_DISCONNECTED
  11078. //
  11079. // MessageText:
  11080. //
  11081. //  The object invoked has disconnected from its clients.
  11082. //
  11083. #define RPC_E_DISCONNECTED               _HRESULT_TYPEDEF_(0x80010108L)
  11084.  
  11085. //
  11086. // MessageId: RPC_E_RETRY
  11087. //
  11088. // MessageText:
  11089. //
  11090. //  The object invoked chose not to process the call now.  Try again later.
  11091. //
  11092. #define RPC_E_RETRY                      _HRESULT_TYPEDEF_(0x80010109L)
  11093.  
  11094. //
  11095. // MessageId: RPC_E_SERVERCALL_RETRYLATER
  11096. //
  11097. // MessageText:
  11098. //
  11099. //  The message filter indicated that the application is busy.
  11100. //
  11101. #define RPC_E_SERVERCALL_RETRYLATER      _HRESULT_TYPEDEF_(0x8001010AL)
  11102.  
  11103. //
  11104. // MessageId: RPC_E_SERVERCALL_REJECTED
  11105. //
  11106. // MessageText:
  11107. //
  11108. //  The message filter rejected the call.
  11109. //
  11110. #define RPC_E_SERVERCALL_REJECTED        _HRESULT_TYPEDEF_(0x8001010BL)
  11111.  
  11112. //
  11113. // MessageId: RPC_E_INVALID_CALLDATA
  11114. //
  11115. // MessageText:
  11116. //
  11117. //  A call control interfaces was called with invalid data.
  11118. //
  11119. #define RPC_E_INVALID_CALLDATA           _HRESULT_TYPEDEF_(0x8001010CL)
  11120.  
  11121. //
  11122. // MessageId: RPC_E_CANTCALLOUT_ININPUTSYNCCALL
  11123. //
  11124. // MessageText:
  11125. //
  11126. //  An outgoing call cannot be made since the application is dispatching an input-synchronous call.
  11127. //
  11128. #define RPC_E_CANTCALLOUT_ININPUTSYNCCALL _HRESULT_TYPEDEF_(0x8001010DL)
  11129.  
  11130. //
  11131. // MessageId: RPC_E_WRONG_THREAD
  11132. //
  11133. // MessageText:
  11134. //
  11135. //  The application called an interface that was marshalled for a different thread.
  11136. //
  11137. #define RPC_E_WRONG_THREAD               _HRESULT_TYPEDEF_(0x8001010EL)
  11138.  
  11139. //
  11140. // MessageId: RPC_E_THREAD_NOT_INIT
  11141. //
  11142. // MessageText:
  11143. //
  11144. //  CoInitialize has not been called on the current thread.
  11145. //
  11146. #define RPC_E_THREAD_NOT_INIT            _HRESULT_TYPEDEF_(0x8001010FL)
  11147.  
  11148. //
  11149. // MessageId: RPC_E_VERSION_MISMATCH
  11150. //
  11151. // MessageText:
  11152. //
  11153. //  The version of OLE on the client and server machines does not match.
  11154. //
  11155. #define RPC_E_VERSION_MISMATCH           _HRESULT_TYPEDEF_(0x80010110L)
  11156.  
  11157. //
  11158. // MessageId: RPC_E_INVALID_HEADER
  11159. //
  11160. // MessageText:
  11161. //
  11162. //  OLE received a packet with an invalid header.
  11163. //
  11164. #define RPC_E_INVALID_HEADER             _HRESULT_TYPEDEF_(0x80010111L)
  11165.  
  11166. //
  11167. // MessageId: RPC_E_INVALID_EXTENSION
  11168. //
  11169. // MessageText:
  11170. //
  11171. //  OLE received a packet with an invalid extension.
  11172. //
  11173. #define RPC_E_INVALID_EXTENSION          _HRESULT_TYPEDEF_(0x80010112L)
  11174.  
  11175. //
  11176. // MessageId: RPC_E_INVALID_IPID
  11177. //
  11178. // MessageText:
  11179. //
  11180. //  The requested object or interface does not exist.
  11181. //
  11182. #define RPC_E_INVALID_IPID               _HRESULT_TYPEDEF_(0x80010113L)
  11183.  
  11184. //
  11185. // MessageId: RPC_E_INVALID_OBJECT
  11186. //
  11187. // MessageText:
  11188. //
  11189. //  The requested object does not exist.
  11190. //
  11191. #define RPC_E_INVALID_OBJECT             _HRESULT_TYPEDEF_(0x80010114L)
  11192.  
  11193. //
  11194. // MessageId: RPC_S_CALLPENDING
  11195. //
  11196. // MessageText:
  11197. //
  11198. //  OLE has sent a request and is waiting for a reply.
  11199. //
  11200. #define RPC_S_CALLPENDING                _HRESULT_TYPEDEF_(0x80010115L)
  11201.  
  11202. //
  11203. // MessageId: RPC_S_WAITONTIMER
  11204. //
  11205. // MessageText:
  11206. //
  11207. //  OLE is waiting before retrying a request.
  11208. //
  11209. #define RPC_S_WAITONTIMER                _HRESULT_TYPEDEF_(0x80010116L)
  11210.  
  11211. //
  11212. // MessageId: RPC_E_CALL_COMPLETE
  11213. //
  11214. // MessageText:
  11215. //
  11216. //  Call context cannot be accessed after call completed.
  11217. //
  11218. #define RPC_E_CALL_COMPLETE              _HRESULT_TYPEDEF_(0x80010117L)
  11219.  
  11220. //
  11221. // MessageId: RPC_E_UNSECURE_CALL
  11222. //
  11223. // MessageText:
  11224. //
  11225. //  Impersonate on unsecure calls is not supported.
  11226. //
  11227. #define RPC_E_UNSECURE_CALL              _HRESULT_TYPEDEF_(0x80010118L)
  11228.  
  11229. //
  11230. // MessageId: RPC_E_TOO_LATE
  11231. //
  11232. // MessageText:
  11233. //
  11234. //  Security must be initialized before any interfaces are marshalled or
  11235. //  unmarshalled.  It cannot be changed once initialized.
  11236. //
  11237. #define RPC_E_TOO_LATE                   _HRESULT_TYPEDEF_(0x80010119L)
  11238.  
  11239. //
  11240. // MessageId: RPC_E_NO_GOOD_SECURITY_PACKAGES
  11241. //
  11242. // MessageText:
  11243. //
  11244. //  No security packages are installed on this machine or the user is not logged
  11245. //  on or there are no compatible security packages between the client and server.
  11246. //
  11247. #define RPC_E_NO_GOOD_SECURITY_PACKAGES  _HRESULT_TYPEDEF_(0x8001011AL)
  11248.  
  11249. //
  11250. // MessageId: RPC_E_ACCESS_DENIED
  11251. //
  11252. // MessageText:
  11253. //
  11254. //  Access is denied.
  11255. //
  11256. #define RPC_E_ACCESS_DENIED              _HRESULT_TYPEDEF_(0x8001011BL)
  11257.  
  11258. //
  11259. // MessageId: RPC_E_REMOTE_DISABLED
  11260. //
  11261. // MessageText:
  11262. //
  11263. //  Remote calls are not allowed for this process.
  11264. //
  11265. #define RPC_E_REMOTE_DISABLED            _HRESULT_TYPEDEF_(0x8001011CL)
  11266.  
  11267. //
  11268. // MessageId: RPC_E_INVALID_OBJREF
  11269. //
  11270. // MessageText:
  11271. //
  11272. //  The marshaled interface data packet (OBJREF) has an invalid or unknown format.
  11273. //
  11274. #define RPC_E_INVALID_OBJREF             _HRESULT_TYPEDEF_(0x8001011DL)
  11275.  
  11276. //
  11277. // MessageId: RPC_E_NO_CONTEXT
  11278. //
  11279. // MessageText:
  11280. //
  11281. //  No context is associated with this call.  This happens for some custom
  11282. //  marshalled calls and on the client side of the call.
  11283. //
  11284. #define RPC_E_NO_CONTEXT                 _HRESULT_TYPEDEF_(0x8001011EL)
  11285.  
  11286. //
  11287. // MessageId: RPC_E_TIMEOUT
  11288. //
  11289. // MessageText:
  11290. //
  11291. //  This operation returned because the timeout period expired.
  11292. //
  11293. #define RPC_E_TIMEOUT                    _HRESULT_TYPEDEF_(0x8001011FL)
  11294.  
  11295. //
  11296. // MessageId: RPC_E_NO_SYNC
  11297. //
  11298. // MessageText:
  11299. //
  11300. //  There are no synchronize objects to wait on.
  11301. //
  11302. #define RPC_E_NO_SYNC                    _HRESULT_TYPEDEF_(0x80010120L)
  11303.  
  11304. //
  11305. // MessageId: RPC_E_UNEXPECTED
  11306. //
  11307. // MessageText:
  11308. //
  11309. //  An internal error occurred.
  11310. //
  11311. #define RPC_E_UNEXPECTED                 _HRESULT_TYPEDEF_(0x8001FFFFL)
  11312.  
  11313.  
  11314.  /////////////////
  11315.  //
  11316.  //  FACILITY_SSPI
  11317.  //
  11318.  /////////////////
  11319.  
  11320. //
  11321. // MessageId: NTE_BAD_UID
  11322. //
  11323. // MessageText:
  11324. //
  11325. //  Bad UID.
  11326. //
  11327. #define NTE_BAD_UID                      _HRESULT_TYPEDEF_(0x80090001L)
  11328.  
  11329. //
  11330. // MessageId: NTE_BAD_HASH
  11331. //
  11332. // MessageText:
  11333. //
  11334. //  Bad Hash.
  11335. //
  11336. #define NTE_BAD_HASH                     _HRESULT_TYPEDEF_(0x80090002L)
  11337.  
  11338. //
  11339. // MessageId: NTE_BAD_KEY
  11340. //
  11341. // MessageText:
  11342. //
  11343. //  Bad Key.
  11344. //
  11345. #define NTE_BAD_KEY                      _HRESULT_TYPEDEF_(0x80090003L)
  11346.  
  11347. //
  11348. // MessageId: NTE_BAD_LEN
  11349. //
  11350. // MessageText:
  11351. //
  11352. //  Bad Length.
  11353. //
  11354. #define NTE_BAD_LEN                      _HRESULT_TYPEDEF_(0x80090004L)
  11355.  
  11356. //
  11357. // MessageId: NTE_BAD_DATA
  11358. //
  11359. // MessageText:
  11360. //
  11361. //  Bad Data.
  11362. //
  11363. #define NTE_BAD_DATA                     _HRESULT_TYPEDEF_(0x80090005L)
  11364.  
  11365. //
  11366. // MessageId: NTE_BAD_SIGNATURE
  11367. //
  11368. // MessageText:
  11369. //
  11370. //  Invalid Signature.
  11371. //
  11372. #define NTE_BAD_SIGNATURE                _HRESULT_TYPEDEF_(0x80090006L)
  11373.  
  11374. //
  11375. // MessageId: NTE_BAD_VER
  11376. //
  11377. // MessageText:
  11378. //
  11379. //  Bad Version of provider.
  11380. //
  11381. #define NTE_BAD_VER                      _HRESULT_TYPEDEF_(0x80090007L)
  11382.  
  11383. //
  11384. // MessageId: NTE_BAD_ALGID
  11385. //
  11386. // MessageText:
  11387. //
  11388. //  Invalid algorithm specified.
  11389. //
  11390. #define NTE_BAD_ALGID                    _HRESULT_TYPEDEF_(0x80090008L)
  11391.  
  11392. //
  11393. // MessageId: NTE_BAD_FLAGS
  11394. //
  11395. // MessageText:
  11396. //
  11397. //  Invalid flags specified.
  11398. //
  11399. #define NTE_BAD_FLAGS                    _HRESULT_TYPEDEF_(0x80090009L)
  11400.  
  11401. //
  11402. // MessageId: NTE_BAD_TYPE
  11403. //
  11404. // MessageText:
  11405. //
  11406. //  Invalid type specified.
  11407. //
  11408. #define NTE_BAD_TYPE                     _HRESULT_TYPEDEF_(0x8009000AL)
  11409.  
  11410. //
  11411. // MessageId: NTE_BAD_KEY_STATE
  11412. //
  11413. // MessageText:
  11414. //
  11415. //  Key not valid for use in specified state.
  11416. //
  11417. #define NTE_BAD_KEY_STATE                _HRESULT_TYPEDEF_(0x8009000BL)
  11418.  
  11419. //
  11420. // MessageId: NTE_BAD_HASH_STATE
  11421. //
  11422. // MessageText:
  11423. //
  11424. //  Hash not valid for use in specified state.
  11425. //
  11426. #define NTE_BAD_HASH_STATE               _HRESULT_TYPEDEF_(0x8009000CL)
  11427.  
  11428. //
  11429. // MessageId: NTE_NO_KEY
  11430. //
  11431. // MessageText:
  11432. //
  11433. //  Key does not exist.
  11434. //
  11435. #define NTE_NO_KEY                       _HRESULT_TYPEDEF_(0x8009000DL)
  11436.  
  11437. //
  11438. // MessageId: NTE_NO_MEMORY
  11439. //
  11440. // MessageText:
  11441. //
  11442. //  Insufficient memory available for the operation.
  11443. //
  11444. #define NTE_NO_MEMORY                    _HRESULT_TYPEDEF_(0x8009000EL)
  11445.  
  11446. //
  11447. // MessageId: NTE_EXISTS
  11448. //
  11449. // MessageText:
  11450. //
  11451. //  Object already exists.
  11452. //
  11453. #define NTE_EXISTS                       _HRESULT_TYPEDEF_(0x8009000FL)
  11454.  
  11455. //
  11456. // MessageId: NTE_PERM
  11457. //
  11458. // MessageText:
  11459. //
  11460. //  Access denied.
  11461. //
  11462. #define NTE_PERM                         _HRESULT_TYPEDEF_(0x80090010L)
  11463.  
  11464. //
  11465. // MessageId: NTE_NOT_FOUND
  11466. //
  11467. // MessageText:
  11468. //
  11469. //  Object was not found.
  11470. //
  11471. #define NTE_NOT_FOUND                    _HRESULT_TYPEDEF_(0x80090011L)
  11472.  
  11473. //
  11474. // MessageId: NTE_DOUBLE_ENCRYPT
  11475. //
  11476. // MessageText:
  11477. //
  11478. //  Data already encrypted.
  11479. //
  11480. #define NTE_DOUBLE_ENCRYPT               _HRESULT_TYPEDEF_(0x80090012L)
  11481.  
  11482. //
  11483. // MessageId: NTE_BAD_PROVIDER
  11484. //
  11485. // MessageText:
  11486. //
  11487. //  Invalid provider specified.
  11488. //
  11489. #define NTE_BAD_PROVIDER                 _HRESULT_TYPEDEF_(0x80090013L)
  11490.  
  11491. //
  11492. // MessageId: NTE_BAD_PROV_TYPE
  11493. //
  11494. // MessageText:
  11495. //
  11496. //  Invalid provider type specified.
  11497. //
  11498. #define NTE_BAD_PROV_TYPE                _HRESULT_TYPEDEF_(0x80090014L)
  11499.  
  11500. //
  11501. // MessageId: NTE_BAD_PUBLIC_KEY
  11502. //
  11503. // MessageText:
  11504. //
  11505. //  Provider's public key is invalid.
  11506. //
  11507. #define NTE_BAD_PUBLIC_KEY               _HRESULT_TYPEDEF_(0x80090015L)
  11508.  
  11509. //
  11510. // MessageId: NTE_BAD_KEYSET
  11511. //
  11512. // MessageText:
  11513. //
  11514. //  Keyset does not exist
  11515. //
  11516. #define NTE_BAD_KEYSET                   _HRESULT_TYPEDEF_(0x80090016L)
  11517.  
  11518. //
  11519. // MessageId: NTE_PROV_TYPE_NOT_DEF
  11520. //
  11521. // MessageText:
  11522. //
  11523. //  Provider type not defined.
  11524. //
  11525. #define NTE_PROV_TYPE_NOT_DEF            _HRESULT_TYPEDEF_(0x80090017L)
  11526.  
  11527. //
  11528. // MessageId: NTE_PROV_TYPE_ENTRY_BAD
  11529. //
  11530. // MessageText:
  11531. //
  11532. //  Provider type as registered is invalid.
  11533. //
  11534. #define NTE_PROV_TYPE_ENTRY_BAD          _HRESULT_TYPEDEF_(0x80090018L)
  11535.  
  11536. //
  11537. // MessageId: NTE_KEYSET_NOT_DEF
  11538. //
  11539. // MessageText:
  11540. //
  11541. //  The keyset is not defined.
  11542. //
  11543. #define NTE_KEYSET_NOT_DEF               _HRESULT_TYPEDEF_(0x80090019L)
  11544.  
  11545. //
  11546. // MessageId: NTE_KEYSET_ENTRY_BAD
  11547. //
  11548. // MessageText:
  11549. //
  11550. //  Keyset as registered is invalid.
  11551. //
  11552. #define NTE_KEYSET_ENTRY_BAD             _HRESULT_TYPEDEF_(0x8009001AL)
  11553.  
  11554. //
  11555. // MessageId: NTE_PROV_TYPE_NO_MATCH
  11556. //
  11557. // MessageText:
  11558. //
  11559. //  Provider type does not match registered value.
  11560. //
  11561. #define NTE_PROV_TYPE_NO_MATCH           _HRESULT_TYPEDEF_(0x8009001BL)
  11562.  
  11563. //
  11564. // MessageId: NTE_SIGNATURE_FILE_BAD
  11565. //
  11566. // MessageText:
  11567. //
  11568. //  The digital signature file is corrupt.
  11569. //
  11570. #define NTE_SIGNATURE_FILE_BAD           _HRESULT_TYPEDEF_(0x8009001CL)
  11571.  
  11572. //
  11573. // MessageId: NTE_PROVIDER_DLL_FAIL
  11574. //
  11575. // MessageText:
  11576. //
  11577. //  Provider DLL failed to initialize correctly.
  11578. //
  11579. #define NTE_PROVIDER_DLL_FAIL            _HRESULT_TYPEDEF_(0x8009001DL)
  11580.  
  11581. //
  11582. // MessageId: NTE_PROV_DLL_NOT_FOUND
  11583. //
  11584. // MessageText:
  11585. //
  11586. //  Provider DLL could not be found.
  11587. //
  11588. #define NTE_PROV_DLL_NOT_FOUND           _HRESULT_TYPEDEF_(0x8009001EL)
  11589.  
  11590. //
  11591. // MessageId: NTE_BAD_KEYSET_PARAM
  11592. //
  11593. // MessageText:
  11594. //
  11595. //  The Keyset parameter is invalid.
  11596. //
  11597. #define NTE_BAD_KEYSET_PARAM             _HRESULT_TYPEDEF_(0x8009001FL)
  11598.  
  11599. //
  11600. // MessageId: NTE_FAIL
  11601. //
  11602. // MessageText:
  11603. //
  11604. //  An internal error occurred.
  11605. //
  11606. #define NTE_FAIL                         _HRESULT_TYPEDEF_(0x80090020L)
  11607.  
  11608. //
  11609. // MessageId: NTE_SYS_ERR
  11610. //
  11611. // MessageText:
  11612. //
  11613. //  A base error occurred.
  11614. //
  11615. #define NTE_SYS_ERR                      _HRESULT_TYPEDEF_(0x80090021L)
  11616.  
  11617. //
  11618. // MessageId: CRYPT_E_MSG_ERROR
  11619. //
  11620. // MessageText:
  11621. //
  11622. //  An error was encountered doing a cryptographic message operation.
  11623. //
  11624. #define CRYPT_E_MSG_ERROR                _HRESULT_TYPEDEF_(0x80091001L)
  11625.  
  11626. //
  11627. // MessageId: CRYPT_E_UNKNOWN_ALGO
  11628. //
  11629. // MessageText:
  11630. //
  11631. //  The cryptographic algorithm is unknown.
  11632. //
  11633. #define CRYPT_E_UNKNOWN_ALGO             _HRESULT_TYPEDEF_(0x80091002L)
  11634.  
  11635. //
  11636. // MessageId: CRYPT_E_OID_FORMAT
  11637. //
  11638. // MessageText:
  11639. //
  11640. //  The object identifier is badly formatted.
  11641. //
  11642. #define CRYPT_E_OID_FORMAT               _HRESULT_TYPEDEF_(0x80091003L)
  11643.  
  11644. //
  11645. // MessageId: CRYPT_E_INVALID_MSG_TYPE
  11646. //
  11647. // MessageText:
  11648. //
  11649. //  The message type is invalid.
  11650. //
  11651. #define CRYPT_E_INVALID_MSG_TYPE         _HRESULT_TYPEDEF_(0x80091004L)
  11652.  
  11653. //
  11654. // MessageId: CRYPT_E_UNEXPECTED_ENCODING
  11655. //
  11656. // MessageText:
  11657. //
  11658. //  The message is not encoded as expected.
  11659. //
  11660. #define CRYPT_E_UNEXPECTED_ENCODING      _HRESULT_TYPEDEF_(0x80091005L)
  11661.  
  11662. //
  11663. // MessageId: CRYPT_E_AUTH_ATTR_MISSING
  11664. //
  11665. // MessageText:
  11666. //
  11667. //  The message does not contain an expected authenticated attribute.
  11668. //
  11669. #define CRYPT_E_AUTH_ATTR_MISSING        _HRESULT_TYPEDEF_(0x80091006L)
  11670.  
  11671. //
  11672. // MessageId: CRYPT_E_HASH_VALUE
  11673. //
  11674. // MessageText:
  11675. //
  11676. //  The hash value is not correct.
  11677. //
  11678. #define CRYPT_E_HASH_VALUE               _HRESULT_TYPEDEF_(0x80091007L)
  11679.  
  11680. //
  11681. // MessageId: CRYPT_E_INVALID_INDEX
  11682. //
  11683. // MessageText:
  11684. //
  11685. //  The index value is not valid.
  11686. //
  11687. #define CRYPT_E_INVALID_INDEX            _HRESULT_TYPEDEF_(0x80091008L)
  11688.  
  11689. //
  11690. // MessageId: CRYPT_E_ALREADY_DECRYPTED
  11691. //
  11692. // MessageText:
  11693. //
  11694. //  The message content has already been decrypted.
  11695. //
  11696. #define CRYPT_E_ALREADY_DECRYPTED        _HRESULT_TYPEDEF_(0x80091009L)
  11697.  
  11698. //
  11699. // MessageId: CRYPT_E_NOT_DECRYPTED
  11700. //
  11701. // MessageText:
  11702. //
  11703. //  The message content has not been decrypted yet.
  11704. //
  11705. #define CRYPT_E_NOT_DECRYPTED            _HRESULT_TYPEDEF_(0x8009100AL)
  11706.  
  11707. //
  11708. // MessageId: CRYPT_E_RECIPIENT_NOT_FOUND
  11709. //
  11710. // MessageText:
  11711. //
  11712. //  The enveloped-data message does not contain the specified recipient.
  11713. //
  11714. #define CRYPT_E_RECIPIENT_NOT_FOUND      _HRESULT_TYPEDEF_(0x8009100BL)
  11715.  
  11716. //
  11717. // MessageId: CRYPT_E_CONTROL_TYPE
  11718. //
  11719. // MessageText:
  11720. //
  11721. //  The control type is not valid.
  11722. //
  11723. #define CRYPT_E_CONTROL_TYPE             _HRESULT_TYPEDEF_(0x8009100CL)
  11724.  
  11725. //
  11726. // MessageId: CRYPT_E_ISSUER_SERIALNUMBER
  11727. //
  11728. // MessageText:
  11729. //
  11730. //  The issuer and/or serial number are/is not valid.
  11731. //
  11732. #define CRYPT_E_ISSUER_SERIALNUMBER      _HRESULT_TYPEDEF_(0x8009100DL)
  11733.  
  11734. //
  11735. // MessageId: CRYPT_E_SIGNER_NOT_FOUND
  11736. //
  11737. // MessageText:
  11738. //
  11739. //  The original signer is not found.
  11740. //
  11741. #define CRYPT_E_SIGNER_NOT_FOUND         _HRESULT_TYPEDEF_(0x8009100EL)
  11742.  
  11743. //
  11744. // MessageId: CRYPT_E_ATTRIBUTES_MISSING
  11745. //
  11746. // MessageText:
  11747. //
  11748. //  The message does not contain the requested attributes.
  11749. //
  11750. #define CRYPT_E_ATTRIBUTES_MISSING       _HRESULT_TYPEDEF_(0x8009100FL)
  11751.  
  11752. //
  11753. // MessageId: CRYPT_E_STREAM_MSG_NOT_READY
  11754. //
  11755. // MessageText:
  11756. //
  11757. //  The steamed message is note yet able to return the requested data.
  11758. //
  11759. #define CRYPT_E_STREAM_MSG_NOT_READY     _HRESULT_TYPEDEF_(0x80091010L)
  11760.  
  11761. //
  11762. // MessageId: CRYPT_E_STREAM_INSUFFICIENT_DATA
  11763. //
  11764. // MessageText:
  11765. //
  11766. //  The streamed message needs more data before the decode can complete.
  11767. //
  11768. #define CRYPT_E_STREAM_INSUFFICIENT_DATA _HRESULT_TYPEDEF_(0x80091011L)
  11769.  
  11770. //
  11771. // MessageId: CRYPT_E_BAD_LEN
  11772. //
  11773. // MessageText:
  11774. //
  11775. //  The length specified for the output data was insufficient.
  11776. //
  11777. #define CRYPT_E_BAD_LEN                  _HRESULT_TYPEDEF_(0x80092001L)
  11778.  
  11779. //
  11780. // MessageId: CRYPT_E_BAD_ENCODE
  11781. //
  11782. // MessageText:
  11783. //
  11784. //  An error was encountered while encoding or decoding.
  11785. //
  11786. #define CRYPT_E_BAD_ENCODE               _HRESULT_TYPEDEF_(0x80092002L)
  11787.  
  11788. //
  11789. // MessageId: CRYPT_E_FILE_ERROR
  11790. //
  11791. // MessageText:
  11792. //
  11793. //  An error occurred while reading or writing to the file
  11794. //
  11795. #define CRYPT_E_FILE_ERROR               _HRESULT_TYPEDEF_(0x80092003L)
  11796.  
  11797. //
  11798. // MessageId: CRYPT_E_NOT_FOUND
  11799. //
  11800. // MessageText:
  11801. //
  11802. //  The object or property wasn't found
  11803. //
  11804. #define CRYPT_E_NOT_FOUND                _HRESULT_TYPEDEF_(0x80092004L)
  11805.  
  11806. //
  11807. // MessageId: CRYPT_E_EXISTS
  11808. //
  11809. // MessageText:
  11810. //
  11811. //  The object or property already exists
  11812. //
  11813. #define CRYPT_E_EXISTS                   _HRESULT_TYPEDEF_(0x80092005L)
  11814.  
  11815. //
  11816. // MessageId: CRYPT_E_NO_PROVIDER
  11817. //
  11818. // MessageText:
  11819. //
  11820. //  No provider was specified for the store or object
  11821. //
  11822. #define CRYPT_E_NO_PROVIDER              _HRESULT_TYPEDEF_(0x80092006L)
  11823.  
  11824. //
  11825. // MessageId: CRYPT_E_SELF_SIGNED
  11826. //
  11827. // MessageText:
  11828. //
  11829. //  The specified certificate is self signed.
  11830. //
  11831. #define CRYPT_E_SELF_SIGNED              _HRESULT_TYPEDEF_(0x80092007L)
  11832.  
  11833. //
  11834. // MessageId: CRYPT_E_DELETED_PREV
  11835. //
  11836. // MessageText:
  11837. //
  11838. //  The previous certificate or CRL context was deleted.
  11839. //
  11840. #define CRYPT_E_DELETED_PREV             _HRESULT_TYPEDEF_(0x80092008L)
  11841.  
  11842. //
  11843. // MessageId: CRYPT_E_NO_MATCH
  11844. //
  11845. // MessageText:
  11846. //
  11847. //  No match when trying to find the object.
  11848. //
  11849. #define CRYPT_E_NO_MATCH                 _HRESULT_TYPEDEF_(0x80092009L)
  11850.  
  11851. //
  11852. // MessageId: CRYPT_E_UNEXPECTED_MSG_TYPE
  11853. //
  11854. // MessageText:
  11855. //
  11856. //  The type of the cryptographic message being decoded is different than what was expected.
  11857. //
  11858. #define CRYPT_E_UNEXPECTED_MSG_TYPE      _HRESULT_TYPEDEF_(0x8009200AL)
  11859.  
  11860. //
  11861. // MessageId: CRYPT_E_NO_KEY_PROPERTY
  11862. //
  11863. // MessageText:
  11864. //
  11865. //  The certificate doesn't have a private key property
  11866. //
  11867. #define CRYPT_E_NO_KEY_PROPERTY          _HRESULT_TYPEDEF_(0x8009200BL)
  11868.  
  11869. //
  11870. // MessageId: CRYPT_E_NO_DECRYPT_CERT
  11871. //
  11872. // MessageText:
  11873. //
  11874. //  No certificate was found having a private key property to use for decrypting.
  11875. //
  11876. #define CRYPT_E_NO_DECRYPT_CERT          _HRESULT_TYPEDEF_(0x8009200CL)
  11877.  
  11878. //
  11879. // MessageId: CRYPT_E_BAD_MSG
  11880. //
  11881. // MessageText:
  11882. //
  11883. //  Either, not a cryptographic message or incorrectly formatted.
  11884. //
  11885. #define CRYPT_E_BAD_MSG                  _HRESULT_TYPEDEF_(0x8009200DL)
  11886.  
  11887. //
  11888. // MessageId: CRYPT_E_NO_SIGNER
  11889. //
  11890. // MessageText:
  11891. //
  11892. //  The signed message doesn't have a signer for the specified signer index
  11893. //
  11894. #define CRYPT_E_NO_SIGNER                _HRESULT_TYPEDEF_(0x8009200EL)
  11895.  
  11896. //
  11897. // MessageId: CRYPT_E_PENDING_CLOSE
  11898. //
  11899. // MessageText:
  11900. //
  11901. //  Final closure is pending until additional frees or closes.
  11902. //
  11903. #define CRYPT_E_PENDING_CLOSE            _HRESULT_TYPEDEF_(0x8009200FL)
  11904.  
  11905. //
  11906. // MessageId: CRYPT_E_REVOKED
  11907. //
  11908. // MessageText:
  11909. //
  11910. //  The certificate or signature has been revoked
  11911. //
  11912. #define CRYPT_E_REVOKED                  _HRESULT_TYPEDEF_(0x80092010L)
  11913.  
  11914. //
  11915. // MessageId: CRYPT_E_NO_REVOCATION_DLL
  11916. //
  11917. // MessageText:
  11918. //
  11919. //  No Dll or exported function was found to verify revocation.
  11920. //
  11921. #define CRYPT_E_NO_REVOCATION_DLL        _HRESULT_TYPEDEF_(0x80092011L)
  11922.  
  11923. //
  11924. // MessageId: CRYPT_E_NO_REVOCATION_CHECK
  11925. //
  11926. // MessageText:
  11927. //
  11928. //  The called function wasn't able to do a revocation check on the certificate or signature.
  11929. //
  11930. #define CRYPT_E_NO_REVOCATION_CHECK      _HRESULT_TYPEDEF_(0x80092012L)
  11931.  
  11932. //
  11933. // MessageId: CRYPT_E_REVOCATION_OFFLINE
  11934. //
  11935. // MessageText:
  11936. //
  11937. //  Since the revocation server was offline, the called function wasn't able to complete the revocation check.
  11938. //
  11939. #define CRYPT_E_REVOCATION_OFFLINE       _HRESULT_TYPEDEF_(0x80092013L)
  11940.  
  11941. //
  11942. // MessageId: CRYPT_E_NOT_IN_REVOCATION_DATABASE
  11943. //
  11944. // MessageText:
  11945. //
  11946. //  The certificate or signature to be checked was not found in the revocation servers database.
  11947. //
  11948. #define CRYPT_E_NOT_IN_REVOCATION_DATABASE _HRESULT_TYPEDEF_(0x80092014L)
  11949.  
  11950. //
  11951. // MessageId: CRYPT_E_INVALID_NUMERIC_STRING
  11952. //
  11953. // MessageText:
  11954. //
  11955. //  The string contains a non-numeric character.
  11956. //
  11957. #define CRYPT_E_INVALID_NUMERIC_STRING   _HRESULT_TYPEDEF_(0x80092020L)
  11958.  
  11959. //
  11960. // MessageId: CRYPT_E_INVALID_PRINTABLE_STRING
  11961. //
  11962. // MessageText:
  11963. //
  11964. //  The string contains a non-printable character.
  11965. //
  11966. #define CRYPT_E_INVALID_PRINTABLE_STRING _HRESULT_TYPEDEF_(0x80092021L)
  11967.  
  11968. //
  11969. // MessageId: CRYPT_E_INVALID_IA5_STRING
  11970. //
  11971. // MessageText:
  11972. //
  11973. //  The string contains a character not in the 7 bit ASCII character set.
  11974. //
  11975. #define CRYPT_E_INVALID_IA5_STRING       _HRESULT_TYPEDEF_(0x80092022L)
  11976.  
  11977. //
  11978. // MessageId: CRYPT_E_INVALID_X500_STRING
  11979. //
  11980. // MessageText:
  11981. //
  11982. //  The string contains an invalid X500 name attribute key, oid, value or delimiter.
  11983. //
  11984. #define CRYPT_E_INVALID_X500_STRING      _HRESULT_TYPEDEF_(0x80092023L)
  11985.  
  11986. //
  11987. // MessageId: CRYPT_E_NOT_CHAR_STRING
  11988. //
  11989. // MessageText:
  11990. //
  11991. //  The dwValueType for the CERT_NAME_VALUE is not one of the character strings.  Most likely it is either a CERT_RDN_ENCODED_BLOB or CERT_TDN_OCTED_STRING.
  11992. //
  11993. #define CRYPT_E_NOT_CHAR_STRING          _HRESULT_TYPEDEF_(0x80092024L)
  11994.  
  11995. //
  11996. // MessageId: CRYPT_E_FILERESIZED
  11997. //
  11998. // MessageText:
  11999. //
  12000. //  The Put operation can not continue.  The file needs to be resized.  However, there is already a signature present.  A complete signing operation must be done.
  12001. //
  12002. #define CRYPT_E_FILERESIZED              _HRESULT_TYPEDEF_(0x80092025L)
  12003.  
  12004. //
  12005. // MessageId: CRYPT_E_SECURITY_SETTINGS
  12006. //
  12007. // MessageText:
  12008. //
  12009. //  The cryptography operation has failed due to a local security option setting.
  12010. //
  12011. #define CRYPT_E_SECURITY_SETTINGS        _HRESULT_TYPEDEF_(0x80092026L)
  12012.  
  12013. //
  12014. // MessageId: CRYPT_E_NO_VERIFY_USAGE_DLL
  12015. //
  12016. // MessageText:
  12017. //
  12018. //  No DLL or exported function was found to verify subject usage.
  12019. //
  12020. #define CRYPT_E_NO_VERIFY_USAGE_DLL      _HRESULT_TYPEDEF_(0x80092027L)
  12021.  
  12022. //
  12023. // MessageId: CRYPT_E_NO_VERIFY_USAGE_CHECK
  12024. //
  12025. // MessageText:
  12026. //
  12027. //  The called function wasn't able to do a usage check on the subject.
  12028. //
  12029. #define CRYPT_E_NO_VERIFY_USAGE_CHECK    _HRESULT_TYPEDEF_(0x80092028L)
  12030.  
  12031. //
  12032. // MessageId: CRYPT_E_VERIFY_USAGE_OFFLINE
  12033. //
  12034. // MessageText:
  12035. //
  12036. //  Since the server was offline, the called function wasn't able to complete the usage check.
  12037. //
  12038. #define CRYPT_E_VERIFY_USAGE_OFFLINE     _HRESULT_TYPEDEF_(0x80092029L)
  12039.  
  12040. //
  12041. // MessageId: CRYPT_E_NOT_IN_CTL
  12042. //
  12043. // MessageText:
  12044. //
  12045. //  The subject was not found in a Certificate Trust List (CTL).
  12046. //
  12047. #define CRYPT_E_NOT_IN_CTL               _HRESULT_TYPEDEF_(0x8009202AL)
  12048.  
  12049. //
  12050. // MessageId: CRYPT_E_NO_TRUSTED_SIGNER
  12051. //
  12052. // MessageText:
  12053. //
  12054. //  No trusted signer was found to verify the signature of the message or trust list.
  12055. //
  12056. #define CRYPT_E_NO_TRUSTED_SIGNER        _HRESULT_TYPEDEF_(0x8009202BL)
  12057.  
  12058. //
  12059. // MessageId: CRYPT_E_OSS_ERROR
  12060. //
  12061. // MessageText:
  12062. //
  12063. //  OSS Certificate encode/decode error code base
  12064. //  
  12065. //  See asn1code.h for a definition of the OSS runtime errors. The OSS
  12066. //  error values are offset by CRYPT_E_OSS_ERROR.
  12067. //
  12068. #define CRYPT_E_OSS_ERROR                _HRESULT_TYPEDEF_(0x80093000L)
  12069.  
  12070. //
  12071. // MessageId: CERTSRV_E_BAD_REQUESTSUBJECT
  12072. //
  12073. // MessageText:
  12074. //
  12075. //  The request subject name is invalid or too long.
  12076. //
  12077. #define CERTSRV_E_BAD_REQUESTSUBJECT     _HRESULT_TYPEDEF_(0x80094001L)
  12078.  
  12079. //
  12080. // MessageId: CERTSRV_E_NO_REQUEST
  12081. //
  12082. // MessageText:
  12083. //
  12084. //  The request does not exist.
  12085. //
  12086. #define CERTSRV_E_NO_REQUEST             _HRESULT_TYPEDEF_(0x80094002L)
  12087.  
  12088. //
  12089. // MessageId: CERTSRV_E_BAD_REQUESTSTATUS
  12090. //
  12091. // MessageText:
  12092. //
  12093. //  The request's current status does not allow this operation.
  12094. //
  12095. #define CERTSRV_E_BAD_REQUESTSTATUS      _HRESULT_TYPEDEF_(0x80094003L)
  12096.  
  12097. //
  12098. // MessageId: CERTSRV_E_PROPERTY_EMPTY
  12099. //
  12100. // MessageText:
  12101. //
  12102. //  The requested property value is empty.
  12103. //
  12104. #define CERTSRV_E_PROPERTY_EMPTY         _HRESULT_TYPEDEF_(0x80094004L)
  12105.  
  12106. //
  12107. // MessageId: CERTDB_E_JET_ERROR
  12108. //
  12109. // MessageText:
  12110. //
  12111. //  Jet error code base
  12112. //  
  12113. //  See jet.h for a definition of the Jet runtime errors.
  12114. //  Negative Jet error values are masked to three digits and offset by CERTDB_E_JET_ERROR.
  12115. //
  12116. #define CERTDB_E_JET_ERROR               _HRESULT_TYPEDEF_(0x80095000L)
  12117.  
  12118. //
  12119. // MessageId: TRUST_E_SYSTEM_ERROR
  12120. //
  12121. // MessageText:
  12122. //
  12123. //  A system-level error occured while verifying trust.
  12124. //
  12125. #define TRUST_E_SYSTEM_ERROR             _HRESULT_TYPEDEF_(0x80096001L)
  12126.  
  12127. //
  12128. // MessageId: TRUST_E_NO_SIGNER_CERT
  12129. //
  12130. // MessageText:
  12131. //
  12132. //  The certificate for the signer of the message is invalid or not found.
  12133. //
  12134. #define TRUST_E_NO_SIGNER_CERT           _HRESULT_TYPEDEF_(0x80096002L)
  12135.  
  12136. //
  12137. // MessageId: TRUST_E_COUNTER_SIGNER
  12138. //
  12139. // MessageText:
  12140. //
  12141. //  One of the counter signers was invalid.
  12142. //
  12143. #define TRUST_E_COUNTER_SIGNER           _HRESULT_TYPEDEF_(0x80096003L)
  12144.  
  12145. //
  12146. // MessageId: TRUST_E_CERT_SIGNATURE
  12147. //
  12148. // MessageText:
  12149. //
  12150. //  The signature of the certificate can not be verified.
  12151. //
  12152. #define TRUST_E_CERT_SIGNATURE           _HRESULT_TYPEDEF_(0x80096004L)
  12153.  
  12154. //
  12155. // MessageId: TRUST_E_TIME_STAMP
  12156. //
  12157. // MessageText:
  12158. //
  12159. //  The time stamp signer and or certificate could not be verified or is malformed.
  12160. //
  12161. #define TRUST_E_TIME_STAMP               _HRESULT_TYPEDEF_(0x80096005L)
  12162.  
  12163. //
  12164. // MessageId: TRUST_E_BAD_DIGEST
  12165. //
  12166. // MessageText:
  12167. //
  12168. //  The objects digest did not verify.
  12169. //
  12170. #define TRUST_E_BAD_DIGEST               _HRESULT_TYPEDEF_(0x80096010L)
  12171.  
  12172. //
  12173. // MessageId: TRUST_E_BASIC_CONSTRAINTS
  12174. //
  12175. // MessageText:
  12176. //
  12177. //  The cerficates basic constraints are invalid or missing.
  12178. //
  12179. #define TRUST_E_BASIC_CONSTRAINTS        _HRESULT_TYPEDEF_(0x80096019L)
  12180.  
  12181. //
  12182. // MessageId: TRUST_E_FINANCIAL_CRITERIA
  12183. //
  12184. // MessageText:
  12185. //
  12186. //  The certificate does not meet or contain the Authenticode financial extensions.
  12187. //
  12188. #define TRUST_E_FINANCIAL_CRITERIA       _HRESULT_TYPEDEF_(0x8009601EL)
  12189.  
  12190. #define NTE_OP_OK 0
  12191.  
  12192. //
  12193. // Note that additional FACILITY_SSPI errors are in issperr.h
  12194. //
  12195. // ******************
  12196. // FACILITY_CERT
  12197. // ******************
  12198. //
  12199. // MessageId: TRUST_E_PROVIDER_UNKNOWN
  12200. //
  12201. // MessageText:
  12202. //
  12203. //  The specified trust provider is not known on this system.
  12204. //
  12205. #define TRUST_E_PROVIDER_UNKNOWN         _HRESULT_TYPEDEF_(0x800B0001L)
  12206.  
  12207. //
  12208. // MessageId: TRUST_E_ACTION_UNKNOWN
  12209. //
  12210. // MessageText:
  12211. //
  12212. //  The trust verification action specified is not supported by the specified trust provider.
  12213. //
  12214. #define TRUST_E_ACTION_UNKNOWN           _HRESULT_TYPEDEF_(0x800B0002L)
  12215.  
  12216. //
  12217. // MessageId: TRUST_E_SUBJECT_FORM_UNKNOWN
  12218. //
  12219. // MessageText:
  12220. //
  12221. //  The form specified for the subject is not one supported or known by the specified trust provider.
  12222. //
  12223. #define TRUST_E_SUBJECT_FORM_UNKNOWN     _HRESULT_TYPEDEF_(0x800B0003L)
  12224.  
  12225. //
  12226. // MessageId: TRUST_E_SUBJECT_NOT_TRUSTED
  12227. //
  12228. // MessageText:
  12229. //
  12230. //  The subject is not trusted for the specified action.
  12231. //
  12232. #define TRUST_E_SUBJECT_NOT_TRUSTED      _HRESULT_TYPEDEF_(0x800B0004L)
  12233.  
  12234. //
  12235. // MessageId: DIGSIG_E_ENCODE
  12236. //
  12237. // MessageText:
  12238. //
  12239. //  Error due to problem in ASN.1 encoding process.
  12240. //
  12241. #define DIGSIG_E_ENCODE                  _HRESULT_TYPEDEF_(0x800B0005L)
  12242.  
  12243. //
  12244. // MessageId: DIGSIG_E_DECODE
  12245. //
  12246. // MessageText:
  12247. //
  12248. //  Error due to problem in ASN.1 decoding process.
  12249. //
  12250. #define DIGSIG_E_DECODE                  _HRESULT_TYPEDEF_(0x800B0006L)
  12251.  
  12252. //
  12253. // MessageId: DIGSIG_E_EXTENSIBILITY
  12254. //
  12255. // MessageText:
  12256. //
  12257. //  Reading / writing Extensions where Attributes are appropriate, and visa versa.
  12258. //
  12259. #define DIGSIG_E_EXTENSIBILITY           _HRESULT_TYPEDEF_(0x800B0007L)
  12260.  
  12261. //
  12262. // MessageId: DIGSIG_E_CRYPTO
  12263. //
  12264. // MessageText:
  12265. //
  12266. //  Unspecified cryptographic failure.
  12267. //
  12268. #define DIGSIG_E_CRYPTO                  _HRESULT_TYPEDEF_(0x800B0008L)
  12269.  
  12270. //
  12271. // MessageId: PERSIST_E_SIZEDEFINITE
  12272. //
  12273. // MessageText:
  12274. //
  12275. //  The size of the data could not be determined.
  12276. //
  12277. #define PERSIST_E_SIZEDEFINITE           _HRESULT_TYPEDEF_(0x800B0009L)
  12278.  
  12279. //
  12280. // MessageId: PERSIST_E_SIZEINDEFINITE
  12281. //
  12282. // MessageText:
  12283. //
  12284. //  The size of the indefinite-sized data could not be determined.
  12285. //
  12286. #define PERSIST_E_SIZEINDEFINITE         _HRESULT_TYPEDEF_(0x800B000AL)
  12287.  
  12288. //
  12289. // MessageId: PERSIST_E_NOTSELFSIZING
  12290. //
  12291. // MessageText:
  12292. //
  12293. //  This object does not read and write self-sizing data.
  12294. //
  12295. #define PERSIST_E_NOTSELFSIZING          _HRESULT_TYPEDEF_(0x800B000BL)
  12296.  
  12297. //
  12298. // MessageId: TRUST_E_NOSIGNATURE
  12299. //
  12300. // MessageText:
  12301. //
  12302. //  No signature was present in the subject.
  12303. //
  12304. #define TRUST_E_NOSIGNATURE              _HRESULT_TYPEDEF_(0x800B0100L)
  12305.  
  12306. //
  12307. // MessageId: CERT_E_EXPIRED
  12308. //
  12309. // MessageText:
  12310. //
  12311. //  A required certificate is not within its validity period.
  12312. //
  12313. #define CERT_E_EXPIRED                   _HRESULT_TYPEDEF_(0x800B0101L)
  12314.  
  12315. //
  12316. // MessageId: CERT_E_VALIDITYPERIODNESTING
  12317. //
  12318. // MessageText:
  12319. //
  12320. //  The validity periods of the certification chain do not nest correctly.
  12321. //
  12322. #define CERT_E_VALIDITYPERIODNESTING     _HRESULT_TYPEDEF_(0x800B0102L)
  12323.  
  12324. //
  12325. // MessageId: CERT_E_ROLE
  12326. //
  12327. // MessageText:
  12328. //
  12329. //  A certificate that can only be used as an end-entity is being used as a CA or visa versa.
  12330. //
  12331. #define CERT_E_ROLE                      _HRESULT_TYPEDEF_(0x800B0103L)
  12332.  
  12333. //
  12334. // MessageId: CERT_E_PATHLENCONST
  12335. //
  12336. // MessageText:
  12337. //
  12338. //  A path length constraint in the certification chain has been violated.
  12339. //
  12340. #define CERT_E_PATHLENCONST              _HRESULT_TYPEDEF_(0x800B0104L)
  12341.  
  12342. //
  12343. // MessageId: CERT_E_CRITICAL
  12344. //
  12345. // MessageText:
  12346. //
  12347. //  An extension of unknown type that is labeled 'critical' is present in a certificate.
  12348. //
  12349. #define CERT_E_CRITICAL                  _HRESULT_TYPEDEF_(0x800B0105L)
  12350.  
  12351. //
  12352. // MessageId: CERT_E_PURPOSE
  12353. //
  12354. // MessageText:
  12355. //
  12356. //  A certificate is being used for a purpose other than that for which it is permitted.
  12357. //
  12358. #define CERT_E_PURPOSE                   _HRESULT_TYPEDEF_(0x800B0106L)
  12359.  
  12360. //
  12361. // MessageId: CERT_E_ISSUERCHAINING
  12362. //
  12363. // MessageText:
  12364. //
  12365. //  A parent of a given certificate in fact did not issue that child certificate.
  12366. //
  12367. #define CERT_E_ISSUERCHAINING            _HRESULT_TYPEDEF_(0x800B0107L)
  12368.  
  12369. //
  12370. // MessageId: CERT_E_MALFORMED
  12371. //
  12372. // MessageText:
  12373. //
  12374. //  A certificate is missing or has an empty value for an important field, such as a subject or issuer name.
  12375. //
  12376. #define CERT_E_MALFORMED                 _HRESULT_TYPEDEF_(0x800B0108L)
  12377.  
  12378. //
  12379. // MessageId: CERT_E_UNTRUSTEDROOT
  12380. //
  12381. // MessageText:
  12382. //
  12383. //  A certification chain processed correctly, but terminated in a root certificate which isn't trusted by the trust provider.
  12384. //
  12385. #define CERT_E_UNTRUSTEDROOT             _HRESULT_TYPEDEF_(0x800B0109L)
  12386.  
  12387. //
  12388. // MessageId: CERT_E_CHAINING
  12389. //
  12390. // MessageText:
  12391. //
  12392. //  A chain of certs didn't chain as they should in a certain application of chaining.
  12393. //
  12394. #define CERT_E_CHAINING                  _HRESULT_TYPEDEF_(0x800B010AL)
  12395.  
  12396. //
  12397. // MessageId: TRUST_E_FAIL
  12398. //
  12399. // MessageText:
  12400. //
  12401. //  Generic Trust Failure.
  12402. //
  12403. #define TRUST_E_FAIL                     _HRESULT_TYPEDEF_(0x800B010BL)
  12404.  
  12405. //
  12406. // MessageId: CERT_E_REVOKED
  12407. //
  12408. // MessageText:
  12409. //
  12410. //  A certificate was explicitly revoked by its issuer.
  12411. //
  12412. #define CERT_E_REVOKED                   _HRESULT_TYPEDEF_(0x800B010CL)
  12413.  
  12414. //
  12415. // MessageId: CERT_E_UNTRUSTEDTESTROOT
  12416. //
  12417. // MessageText:
  12418. //
  12419. //  The root certificate is a testing certificate and the policy settings disallow test certificates.
  12420. //
  12421. #define CERT_E_UNTRUSTEDTESTROOT         _HRESULT_TYPEDEF_(0x800B010DL)
  12422.  
  12423. //
  12424. // MessageId: CERT_E_REVOCATION_FAILURE
  12425. //
  12426. // MessageText:
  12427. //
  12428. //  The revocation process could not continue - the certificate(s) could not be checked.
  12429. //
  12430. #define CERT_E_REVOCATION_FAILURE        _HRESULT_TYPEDEF_(0x800B010EL)
  12431.  
  12432. //
  12433. // MessageId: CERT_E_CN_NO_MATCH
  12434. //
  12435. // MessageText:
  12436. //
  12437. //  The certificate's CN name does not match the passed value.
  12438. //
  12439. #define CERT_E_CN_NO_MATCH               _HRESULT_TYPEDEF_(0x800B010FL)
  12440.  
  12441. //
  12442. // MessageId: CERT_E_WRONG_USAGE
  12443. //
  12444. // MessageText:
  12445. //
  12446. //  The certificate is not valid for the requested usage.
  12447. //
  12448. #define CERT_E_WRONG_USAGE               _HRESULT_TYPEDEF_(0x800B0110L)
  12449.  
  12450. // *****************
  12451. // FACILITY_SETUPAPI
  12452. // *****************
  12453. //
  12454. // Since these error codes aren't in the standard Win32 range (i.e., 0-64K), define a
  12455. // macro to map either Win32 or SetupAPI error codes into an HRESULT.
  12456. //
  12457. #define HRESULT_FROM_SETUPAPI(x) ((((x) & (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR)) == (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR)) \
  12458.                                  ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_SETUPAPI << 16) | 0x80000000))                               \
  12459.                                  : HRESULT_FROM_WIN32(x))
  12460. //
  12461. // MessageId: SPAPI_E_EXPECTED_SECTION_NAME
  12462. //
  12463. // MessageText:
  12464. //
  12465. //  A non-empty line was encountered in the INF before the start of a section.
  12466. //
  12467. #define SPAPI_E_EXPECTED_SECTION_NAME    _HRESULT_TYPEDEF_(0x800F0000L)
  12468.  
  12469. //
  12470. // MessageId: SPAPI_E_BAD_SECTION_NAME_LINE
  12471. //
  12472. // MessageText:
  12473. //
  12474. //  A section name marker in the INF is not complete, or does not exist on a line by itself.
  12475. //
  12476. #define SPAPI_E_BAD_SECTION_NAME_LINE    _HRESULT_TYPEDEF_(0x800F0001L)
  12477.  
  12478. //
  12479. // MessageId: SPAPI_E_SECTION_NAME_TOO_LONG
  12480. //
  12481. // MessageText:
  12482. //
  12483. //  An INF section was encountered whose name exceeds the maximum section name length.
  12484. //
  12485. #define SPAPI_E_SECTION_NAME_TOO_LONG    _HRESULT_TYPEDEF_(0x800F0002L)
  12486.  
  12487. //
  12488. // MessageId: SPAPI_E_GENERAL_SYNTAX
  12489. //
  12490. // MessageText:
  12491. //
  12492. //  The syntax of the INF is invalid.
  12493. //
  12494. #define SPAPI_E_GENERAL_SYNTAX           _HRESULT_TYPEDEF_(0x800F0003L)
  12495.  
  12496. //
  12497. // MessageId: SPAPI_E_WRONG_INF_STYLE
  12498. //
  12499. // MessageText:
  12500. //
  12501. //  The style of the INF is different than what was requested.
  12502. //
  12503. #define SPAPI_E_WRONG_INF_STYLE          _HRESULT_TYPEDEF_(0x800F0100L)
  12504.  
  12505. //
  12506. // MessageId: SPAPI_E_SECTION_NOT_FOUND
  12507. //
  12508. // MessageText:
  12509. //
  12510. //  The required section was not found in the INF.
  12511. //
  12512. #define SPAPI_E_SECTION_NOT_FOUND        _HRESULT_TYPEDEF_(0x800F0101L)
  12513.  
  12514. //
  12515. // MessageId: SPAPI_E_LINE_NOT_FOUND
  12516. //
  12517. // MessageText:
  12518. //
  12519. //  The required line was not found in the INF.
  12520. //
  12521. #define SPAPI_E_LINE_NOT_FOUND           _HRESULT_TYPEDEF_(0x800F0102L)
  12522.  
  12523. //
  12524. // MessageId: SPAPI_E_NO_ASSOCIATED_CLASS
  12525. //
  12526. // MessageText:
  12527. //
  12528. //  The INF or the device information set or element does not have an associated install class.
  12529. //
  12530. #define SPAPI_E_NO_ASSOCIATED_CLASS      _HRESULT_TYPEDEF_(0x800F0200L)
  12531.  
  12532. //
  12533. // MessageId: SPAPI_E_CLASS_MISMATCH
  12534. //
  12535. // MessageText:
  12536. //
  12537. //  The INF or the device information set or element does not match the specified install class.
  12538. //
  12539. #define SPAPI_E_CLASS_MISMATCH           _HRESULT_TYPEDEF_(0x800F0201L)
  12540.  
  12541. //
  12542. // MessageId: SPAPI_E_DUPLICATE_FOUND
  12543. //
  12544. // MessageText:
  12545. //
  12546. //  An existing device was found that is a duplicate of the device being manually installed.
  12547. //
  12548. #define SPAPI_E_DUPLICATE_FOUND          _HRESULT_TYPEDEF_(0x800F0202L)
  12549.  
  12550. //
  12551. // MessageId: SPAPI_E_NO_DRIVER_SELECTED
  12552. //
  12553. // MessageText:
  12554. //
  12555. //  There is no driver selected for the device information set or element.
  12556. //
  12557. #define SPAPI_E_NO_DRIVER_SELECTED       _HRESULT_TYPEDEF_(0x800F0203L)
  12558.  
  12559. //
  12560. // MessageId: SPAPI_E_KEY_DOES_NOT_EXIST
  12561. //
  12562. // MessageText:
  12563. //
  12564. //  The requested device registry key does not exist.
  12565. //
  12566. #define SPAPI_E_KEY_DOES_NOT_EXIST       _HRESULT_TYPEDEF_(0x800F0204L)
  12567.  
  12568. //
  12569. // MessageId: SPAPI_E_INVALID_DEVINST_NAME
  12570. //
  12571. // MessageText:
  12572. //
  12573. //  The device instance name is invalid.
  12574. //
  12575. #define SPAPI_E_INVALID_DEVINST_NAME     _HRESULT_TYPEDEF_(0x800F0205L)
  12576.  
  12577. //
  12578. // MessageId: SPAPI_E_INVALID_CLASS
  12579. //
  12580. // MessageText:
  12581. //
  12582. //  The install class is not present or is invalid.
  12583. //
  12584. #define SPAPI_E_INVALID_CLASS            _HRESULT_TYPEDEF_(0x800F0206L)
  12585.  
  12586. //
  12587. // MessageId: SPAPI_E_DEVINST_ALREADY_EXISTS
  12588. //
  12589. // MessageText:
  12590. //
  12591. //  The device instance cannot be created because it already exists.
  12592. //
  12593. #define SPAPI_E_DEVINST_ALREADY_EXISTS   _HRESULT_TYPEDEF_(0x800F0207L)
  12594.  
  12595. //
  12596. // MessageId: SPAPI_E_DEVINFO_NOT_REGISTERED
  12597. //
  12598. // MessageText:
  12599. //
  12600. //  The operation cannot be performed on a device information element that has not been registered.
  12601. //
  12602. #define SPAPI_E_DEVINFO_NOT_REGISTERED   _HRESULT_TYPEDEF_(0x800F0208L)
  12603.  
  12604. //
  12605. // MessageId: SPAPI_E_INVALID_REG_PROPERTY
  12606. //
  12607. // MessageText:
  12608. //
  12609. //  The device property code is invalid.
  12610. //
  12611. #define SPAPI_E_INVALID_REG_PROPERTY     _HRESULT_TYPEDEF_(0x800F0209L)
  12612.  
  12613. //
  12614. // MessageId: SPAPI_E_NO_INF
  12615. //
  12616. // MessageText:
  12617. //
  12618. //  The INF from which a driver list is to be built does not exist.
  12619. //
  12620. #define SPAPI_E_NO_INF                   _HRESULT_TYPEDEF_(0x800F020AL)
  12621.  
  12622. //
  12623. // MessageId: SPAPI_E_NO_SUCH_DEVINST
  12624. //
  12625. // MessageText:
  12626. //
  12627. //  The device instance does not exist in the hardware tree.
  12628. //
  12629. #define SPAPI_E_NO_SUCH_DEVINST          _HRESULT_TYPEDEF_(0x800F020BL)
  12630.  
  12631. //
  12632. // MessageId: SPAPI_E_CANT_LOAD_CLASS_ICON
  12633. //
  12634. // MessageText:
  12635. //
  12636. //  The icon representing this install class cannot be loaded.
  12637. //
  12638. #define SPAPI_E_CANT_LOAD_CLASS_ICON     _HRESULT_TYPEDEF_(0x800F020CL)
  12639.  
  12640. //
  12641. // MessageId: SPAPI_E_INVALID_CLASS_INSTALLER
  12642. //
  12643. // MessageText:
  12644. //
  12645. //  The class installer registry entry is invalid.
  12646. //
  12647. #define SPAPI_E_INVALID_CLASS_INSTALLER  _HRESULT_TYPEDEF_(0x800F020DL)
  12648.  
  12649. //
  12650. // MessageId: SPAPI_E_DI_DO_DEFAULT
  12651. //
  12652. // MessageText:
  12653. //
  12654. //  The class installer has indicated that the default action should be performed for this installation request.
  12655. //
  12656. #define SPAPI_E_DI_DO_DEFAULT            _HRESULT_TYPEDEF_(0x800F020EL)
  12657.  
  12658. //
  12659. // MessageId: SPAPI_E_DI_NOFILECOPY
  12660. //
  12661. // MessageText:
  12662. //
  12663. //  The operation does not require any files to be copied.
  12664. //
  12665. #define SPAPI_E_DI_NOFILECOPY            _HRESULT_TYPEDEF_(0x800F020FL)
  12666.  
  12667. //
  12668. // MessageId: SPAPI_E_INVALID_HWPROFILE
  12669. //
  12670. // MessageText:
  12671. //
  12672. //  The specified hardware profile does not exist.
  12673. //
  12674. #define SPAPI_E_INVALID_HWPROFILE        _HRESULT_TYPEDEF_(0x800F0210L)
  12675.  
  12676. //
  12677. // MessageId: SPAPI_E_NO_DEVICE_SELECTED
  12678. //
  12679. // MessageText:
  12680. //
  12681. //  There is no device information element currently selected for this device information set.
  12682. //
  12683. #define SPAPI_E_NO_DEVICE_SELECTED       _HRESULT_TYPEDEF_(0x800F0211L)
  12684.  
  12685. //
  12686. // MessageId: SPAPI_E_DEVINFO_LIST_LOCKED
  12687. //
  12688. // MessageText:
  12689. //
  12690. //  The operation cannot be performed because the device information set is locked.
  12691. //
  12692. #define SPAPI_E_DEVINFO_LIST_LOCKED      _HRESULT_TYPEDEF_(0x800F0212L)
  12693.  
  12694. //
  12695. // MessageId: SPAPI_E_DEVINFO_DATA_LOCKED
  12696. //
  12697. // MessageText:
  12698. //
  12699. //  The operation cannot be performed because the device information element is locked.
  12700. //
  12701. #define SPAPI_E_DEVINFO_DATA_LOCKED      _HRESULT_TYPEDEF_(0x800F0213L)
  12702.  
  12703. //
  12704. // MessageId: SPAPI_E_DI_BAD_PATH
  12705. //
  12706. // MessageText:
  12707. //
  12708. //  The specified path does not contain any applicable device INFs.
  12709. //
  12710. #define SPAPI_E_DI_BAD_PATH              _HRESULT_TYPEDEF_(0x800F0214L)
  12711.  
  12712. //
  12713. // MessageId: SPAPI_E_NO_CLASSINSTALL_PARAMS
  12714. //
  12715. // MessageText:
  12716. //
  12717. //  No class installer parameters have been set for the device information set or element.
  12718. //
  12719. #define SPAPI_E_NO_CLASSINSTALL_PARAMS   _HRESULT_TYPEDEF_(0x800F0215L)
  12720.  
  12721. //
  12722. // MessageId: SPAPI_E_FILEQUEUE_LOCKED
  12723. //
  12724. // MessageText:
  12725. //
  12726. //  The operation cannot be performed because the file queue is locked.
  12727. //
  12728. #define SPAPI_E_FILEQUEUE_LOCKED         _HRESULT_TYPEDEF_(0x800F0216L)
  12729.  
  12730. //
  12731. // MessageId: SPAPI_E_BAD_SERVICE_INSTALLSECT
  12732. //
  12733. // MessageText:
  12734. //
  12735. //  A service installation section in this INF is invalid.
  12736. //
  12737. #define SPAPI_E_BAD_SERVICE_INSTALLSECT  _HRESULT_TYPEDEF_(0x800F0217L)
  12738.  
  12739. //
  12740. // MessageId: SPAPI_E_NO_CLASS_DRIVER_LIST
  12741. //
  12742. // MessageText:
  12743. //
  12744. //  There is no class driver list for the device information element.
  12745. //
  12746. #define SPAPI_E_NO_CLASS_DRIVER_LIST     _HRESULT_TYPEDEF_(0x800F0218L)
  12747.  
  12748. //
  12749. // MessageId: SPAPI_E_NO_ASSOCIATED_SERVICE
  12750. //
  12751. // MessageText:
  12752. //
  12753. //  The installation failed because a function driver was not specified for this device instance.
  12754. //
  12755. #define SPAPI_E_NO_ASSOCIATED_SERVICE    _HRESULT_TYPEDEF_(0x800F0219L)
  12756.  
  12757. //
  12758. // MessageId: SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE
  12759. //
  12760. // MessageText:
  12761. //
  12762. //  There is presently no default device interface designated for this interface class.
  12763. //
  12764. #define SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE _HRESULT_TYPEDEF_(0x800F021AL)
  12765.  
  12766. //
  12767. // MessageId: SPAPI_E_DEVICE_INTERFACE_ACTIVE
  12768. //
  12769. // MessageText:
  12770. //
  12771. //  The operation cannot be performed because the device interface is currently active.
  12772. //
  12773. #define SPAPI_E_DEVICE_INTERFACE_ACTIVE  _HRESULT_TYPEDEF_(0x800F021BL)
  12774.  
  12775. //
  12776. // MessageId: SPAPI_E_DEVICE_INTERFACE_REMOVED
  12777. //
  12778. // MessageText:
  12779. //
  12780. //  The operation cannot be performed because the device interface has been removed from the system.
  12781. //
  12782. #define SPAPI_E_DEVICE_INTERFACE_REMOVED _HRESULT_TYPEDEF_(0x800F021CL)
  12783.  
  12784. //
  12785. // MessageId: SPAPI_E_BAD_INTERFACE_INSTALLSECT
  12786. //
  12787. // MessageText:
  12788. //
  12789. //  An interface installation section in this INF is invalid.
  12790. //
  12791. #define SPAPI_E_BAD_INTERFACE_INSTALLSECT _HRESULT_TYPEDEF_(0x800F021DL)
  12792.  
  12793. //
  12794. // MessageId: SPAPI_E_NO_SUCH_INTERFACE_CLASS
  12795. //
  12796. // MessageText:
  12797. //
  12798. //  This interface class does not exist in the system.
  12799. //
  12800. #define SPAPI_E_NO_SUCH_INTERFACE_CLASS  _HRESULT_TYPEDEF_(0x800F021EL)
  12801.  
  12802. //
  12803. // MessageId: SPAPI_E_INVALID_REFERENCE_STRING
  12804. //
  12805. // MessageText:
  12806. //
  12807. //  The reference string supplied for this interface device is invalid.
  12808. //
  12809. #define SPAPI_E_INVALID_REFERENCE_STRING _HRESULT_TYPEDEF_(0x800F021FL)
  12810.  
  12811. //
  12812. // MessageId: SPAPI_E_INVALID_MACHINENAME
  12813. //
  12814. // MessageText:
  12815. //
  12816. //  The specified machine name does not conform to UNC naming conventions.
  12817. //
  12818. #define SPAPI_E_INVALID_MACHINENAME      _HRESULT_TYPEDEF_(0x800F0220L)
  12819.  
  12820. //
  12821. // MessageId: SPAPI_E_REMOTE_COMM_FAILURE
  12822. //
  12823. // MessageText:
  12824. //
  12825. //  A general remote communication error occurred.
  12826. //
  12827. #define SPAPI_E_REMOTE_COMM_FAILURE      _HRESULT_TYPEDEF_(0x800F0221L)
  12828.  
  12829. //
  12830. // MessageId: SPAPI_E_MACHINE_UNAVAILABLE
  12831. //
  12832. // MessageText:
  12833. //
  12834. //  The machine selected for remote communication is not available at this time.
  12835. //
  12836. #define SPAPI_E_MACHINE_UNAVAILABLE      _HRESULT_TYPEDEF_(0x800F0222L)
  12837.  
  12838. //
  12839. // MessageId: SPAPI_E_NO_CONFIGMGR_SERVICES
  12840. //
  12841. // MessageText:
  12842. //
  12843. //  The Plug and Play service is not available on the remote machine.
  12844. //
  12845. #define SPAPI_E_NO_CONFIGMGR_SERVICES    _HRESULT_TYPEDEF_(0x800F0223L)
  12846.  
  12847. //
  12848. // MessageId: SPAPI_E_INVALID_PROPPAGE_PROVIDER
  12849. //
  12850. // MessageText:
  12851. //
  12852. //  The property page provider registry entry is invalid.
  12853. //
  12854. #define SPAPI_E_INVALID_PROPPAGE_PROVIDER _HRESULT_TYPEDEF_(0x800F0224L)
  12855.  
  12856. //
  12857. // MessageId: SPAPI_E_NO_SUCH_DEVICE_INTERFACE
  12858. //
  12859. // MessageText:
  12860. //
  12861. //  The requested device interface is not present in the system.
  12862. //
  12863. #define SPAPI_E_NO_SUCH_DEVICE_INTERFACE _HRESULT_TYPEDEF_(0x800F0225L)
  12864.  
  12865. //
  12866. // MessageId: SPAPI_E_DI_POSTPROCESSING_REQUIRED
  12867. //
  12868. // MessageText:
  12869. //
  12870. //  The device's co-installer has additional work to perform after installation is complete.
  12871. //
  12872. #define SPAPI_E_DI_POSTPROCESSING_REQUIRED _HRESULT_TYPEDEF_(0x800F0226L)
  12873.  
  12874. //
  12875. // MessageId: SPAPI_E_INVALID_COINSTALLER
  12876. //
  12877. // MessageText:
  12878. //
  12879. //  The device's co-installer is invalid.
  12880. //
  12881. #define SPAPI_E_INVALID_COINSTALLER      _HRESULT_TYPEDEF_(0x800F0227L)
  12882.  
  12883. //
  12884. // MessageId: SPAPI_E_NO_COMPAT_DRIVERS
  12885. //
  12886. // MessageText:
  12887. //
  12888. //  There are no compatible drivers for this device.
  12889. //
  12890. #define SPAPI_E_NO_COMPAT_DRIVERS        _HRESULT_TYPEDEF_(0x800F0228L)
  12891.  
  12892. //
  12893. // MessageId: SPAPI_E_NO_DEVICE_ICON
  12894. //
  12895. // MessageText:
  12896. //
  12897. //  There is no icon that represents this device or device type.
  12898. //
  12899. #define SPAPI_E_NO_DEVICE_ICON           _HRESULT_TYPEDEF_(0x800F0229L)
  12900.  
  12901. //
  12902. // MessageId: SPAPI_E_INVALID_INF_LOGCONFIG
  12903. //
  12904. // MessageText:
  12905. //
  12906. //  A logical configuration specified in this INF is invalid.
  12907. //
  12908. #define SPAPI_E_INVALID_INF_LOGCONFIG    _HRESULT_TYPEDEF_(0x800F022AL)
  12909.  
  12910. //
  12911. // MessageId: SPAPI_E_DI_DONT_INSTALL
  12912. //
  12913. // MessageText:
  12914. //
  12915. //  The class installer has denied the request to install or upgrade this device.
  12916. //
  12917. #define SPAPI_E_DI_DONT_INSTALL          _HRESULT_TYPEDEF_(0x800F022BL)
  12918.  
  12919. //
  12920. // MessageId: SPAPI_E_INVALID_FILTER_DRIVER
  12921. //
  12922. // MessageText:
  12923. //
  12924. //  One of the filter drivers installed for this device is invalid.
  12925. //
  12926. #define SPAPI_E_INVALID_FILTER_DRIVER    _HRESULT_TYPEDEF_(0x800F022CL)
  12927.  
  12928. //
  12929. // MessageId: SPAPI_E_ERROR_NOT_INSTALLED
  12930. //
  12931. // MessageText:
  12932. //
  12933. //  No installed components were detected.
  12934. //
  12935. #define SPAPI_E_ERROR_NOT_INSTALLED      _HRESULT_TYPEDEF_(0x800F1000L)
  12936.  
  12937. #pragma option pop /*P_O_Pop*/
  12938. #endif // _WINERROR_
  12939.