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