Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

954 lines
18 KiB

  1. ;//+-------------------------------------------------------------------------
  2. ;//
  3. ;// Microsoft Windows
  4. ;//
  5. ;// Copyright (C) Microsoft Corporation, 1997 - 1998
  6. ;//
  7. ;// File: scappmsg.mc
  8. ;//
  9. ;//--------------------------------------------------------------------------
  10. ;/*
  11. ; scarderr.mc
  12. ;
  13. ; Error message codes from the Smart Card Resource Manager
  14. ; These messages must be reconciled with winerror.w
  15. ;
  16. ; 30-Jun-97 - DBarlow Created. */
  17. MessageIdTypedef=DWORD
  18. SeverityNames=(Success=0x0
  19. CoError=0x2
  20. )
  21. FacilityNames=(System=0x00:FACILITY_SYSTEM
  22. SmartCard=0x10:FACILITY_SCARD
  23. )
  24. ;#ifndef SCARD_S_SUCCESS
  25. ;//
  26. ;// =============================
  27. ;// Facility SCARD Error Messages
  28. ;// =============================
  29. ;//
  30. ;#define SCARD_S_SUCCESS NO_ERROR
  31. MessageId=1
  32. SymbolicName=SCARD_F_INTERNAL_ERROR
  33. Severity=CoError
  34. Facility=SmartCard
  35. Language=English
  36. An internal consistency check failed
  37. .
  38. MessageId=2
  39. SymbolicName=SCARD_E_CANCELLED
  40. Severity=CoError
  41. Facility=SmartCard
  42. Language=English
  43. The action was cancelled by an SCardCancel request
  44. .
  45. MessageId=3
  46. SymbolicName=SCARD_E_INVALID_HANDLE
  47. Severity=CoError
  48. Facility=SmartCard
  49. Language=English
  50. The supplied handle was invalid
  51. .
  52. MessageId=4
  53. SymbolicName=SCARD_E_INVALID_PARAMETER
  54. Severity=CoError
  55. Facility=SmartCard
  56. Language=English
  57. One or more of the supplied parameters could not be properly interpreted
  58. .
  59. MessageId=5
  60. SymbolicName=SCARD_E_INVALID_TARGET
  61. Severity=CoError
  62. Facility=SmartCard
  63. Language=English
  64. Registry startup information is missing or invalid
  65. .
  66. MessageId=6
  67. SymbolicName=SCARD_E_NO_MEMORY
  68. Severity=CoError
  69. Facility=SmartCard
  70. Language=English
  71. Not enough memory available to complete this command
  72. .
  73. MessageId=7
  74. SymbolicName=SCARD_F_WAITED_TOO_LONG
  75. Severity=CoError
  76. Facility=SmartCard
  77. Language=English
  78. An internal consistency timer has expired
  79. .
  80. MessageId=8
  81. SymbolicName=SCARD_E_INSUFFICIENT_BUFFER
  82. Severity=CoError
  83. Facility=SmartCard
  84. Language=English
  85. The data buffer to receive returned data is too small for the returned data
  86. .
  87. MessageId=9
  88. SymbolicName=SCARD_E_UNKNOWN_READER
  89. Severity=CoError
  90. Facility=SmartCard
  91. Language=English
  92. The specified reader name is not recognized
  93. .
  94. MessageId=10
  95. SymbolicName=SCARD_E_TIMEOUT
  96. Severity=CoError
  97. Facility=SmartCard
  98. Language=English
  99. The user-specified timeout value has expired
  100. .
  101. MessageId=11
  102. SymbolicName=SCARD_E_SHARING_VIOLATION
  103. Severity=CoError
  104. Facility=SmartCard
  105. Language=English
  106. The smart card cannot be accessed because of other connections outstanding
  107. .
  108. MessageId=12
  109. SymbolicName=SCARD_E_NO_SMARTCARD
  110. Severity=CoError
  111. Facility=SmartCard
  112. Language=English
  113. The operation requires a Smart Card, but no Smart Card is currently in the device
  114. .
  115. MessageId=13
  116. SymbolicName=SCARD_E_UNKNOWN_CARD
  117. Severity=CoError
  118. Facility=SmartCard
  119. Language=English
  120. The specified smart card name is not recognized
  121. .
  122. MessageId=14
  123. SymbolicName=SCARD_E_CANT_DISPOSE
  124. Severity=CoError
  125. Facility=SmartCard
  126. Language=English
  127. The system could not dispose of the media in the requested manner
  128. .
  129. MessageId=15
  130. SymbolicName=SCARD_E_PROTO_MISMATCH
  131. Severity=CoError
  132. Facility=SmartCard
  133. Language=English
  134. The requested protocols are incompatible with the protocol currently in use with the smart card
  135. .
  136. MessageId=16
  137. SymbolicName=SCARD_E_NOT_READY
  138. Severity=CoError
  139. Facility=SmartCard
  140. Language=English
  141. The reader or smart card is not ready to accept commands
  142. .
  143. MessageId=17
  144. SymbolicName=SCARD_E_INVALID_VALUE
  145. Severity=CoError
  146. Facility=SmartCard
  147. Language=English
  148. One or more of the supplied parameters values could not be properly interpreted
  149. .
  150. MessageId=18
  151. SymbolicName=SCARD_E_SYSTEM_CANCELLED
  152. Severity=CoError
  153. Facility=SmartCard
  154. Language=English
  155. The action was cancelled by the system, presumably to log off or shut down
  156. .
  157. MessageId=19
  158. SymbolicName=SCARD_F_COMM_ERROR
  159. Severity=CoError
  160. Facility=SmartCard
  161. Language=English
  162. An internal communications error has been detected
  163. .
  164. MessageId=20
  165. SymbolicName=SCARD_F_UNKNOWN_ERROR
  166. Severity=CoError
  167. Facility=SmartCard
  168. Language=English
  169. An internal error has been detected, but the source is unknown
  170. .
  171. MessageId=21
  172. SymbolicName=SCARD_E_INVALID_ATR
  173. Severity=CoError
  174. Facility=SmartCard
  175. Language=English
  176. An ATR obtained from the registry is not a valid ATR string
  177. .
  178. MessageId=22
  179. SymbolicName=SCARD_E_NOT_TRANSACTED
  180. Severity=CoError
  181. Facility=SmartCard
  182. Language=English
  183. An attempt was made to end a non-existent transaction
  184. .
  185. MessageId=23
  186. SymbolicName=SCARD_E_READER_UNAVAILABLE
  187. Severity=CoError
  188. Facility=SmartCard
  189. Language=English
  190. The specified reader is not currently available for use
  191. .
  192. MessageId=24
  193. SymbolicName=SCARD_P_SHUTDOWN
  194. Severity=CoError
  195. Facility=SmartCard
  196. Language=English
  197. PRIVATE -- Internal flag to force server termination
  198. .
  199. MessageId=25
  200. SymbolicName=SCARD_E_PCI_TOO_SMALL
  201. Severity=CoError
  202. Facility=SmartCard
  203. Language=English
  204. The PCI Receive buffer was too small
  205. .
  206. MessageId=26
  207. SymbolicName=SCARD_E_READER_UNSUPPORTED
  208. Severity=CoError
  209. Facility=SmartCard
  210. Language=English
  211. The reader driver does not meet minimal requirements for support
  212. .
  213. MessageId=27
  214. SymbolicName=SCARD_E_DUPLICATE_READER
  215. Severity=CoError
  216. Facility=SmartCard
  217. Language=English
  218. The reader driver did not produce a unique reader name
  219. .
  220. MessageId=28
  221. SymbolicName=SCARD_E_CARD_UNSUPPORTED
  222. Severity=CoError
  223. Facility=SmartCard
  224. Language=English
  225. The smart card does not meet minimal requirements for support
  226. .
  227. MessageId=29
  228. SymbolicName=SCARD_E_NO_SERVICE
  229. Severity=CoError
  230. Facility=SmartCard
  231. Language=English
  232. The Smart card resource manager is not running
  233. .
  234. MessageId=30
  235. SymbolicName=SCARD_E_SERVICE_STOPPED
  236. Severity=CoError
  237. Facility=SmartCard
  238. Language=English
  239. The Smart card resource manager has shut down
  240. .
  241. MessageId=31
  242. SymbolicName=SCARD_E_UNEXPECTED
  243. Severity=CoError
  244. Facility=SmartCard
  245. Language=English
  246. An unexpected card error has occurred
  247. .
  248. MessageId=32
  249. SymbolicName=SCARD_E_ICC_INSTALLATION
  250. Severity=CoError
  251. Facility=SmartCard
  252. Language=English
  253. No Primary Provider can be found for the smart card
  254. .
  255. MessageId=33
  256. SymbolicName=SCARD_E_ICC_CREATEORDER
  257. Severity=CoError
  258. Facility=SmartCard
  259. Language=English
  260. The requested order of object creation is not supported
  261. .
  262. MessageId=34
  263. SymbolicName=SCARD_E_UNSUPPORTED_FEATURE
  264. Severity=CoError
  265. Facility=SmartCard
  266. Language=English
  267. This smart card does not support the reqested feature
  268. .
  269. MessageId=35
  270. SymbolicName=SCARD_E_DIR_NOT_FOUND
  271. Severity=CoError
  272. Facility=SmartCard
  273. Language=English
  274. The identified directory does not exist in the smart card
  275. .
  276. MessageId=36
  277. SymbolicName=SCARD_E_FILE_NOT_FOUND
  278. Severity=CoError
  279. Facility=SmartCard
  280. Language=English
  281. The identified file does not exist in the smart card
  282. .
  283. MessageId=37
  284. SymbolicName=SCARD_E_NO_DIR
  285. Severity=CoError
  286. Facility=SmartCard
  287. Language=English
  288. The supplied path does not represent a smart card directory
  289. .
  290. MessageId=38
  291. SymbolicName=SCARD_E_NO_FILE
  292. Severity=CoError
  293. Facility=SmartCard
  294. Language=English
  295. The supplied path does not represent a smart card file
  296. .
  297. MessageId=39
  298. SymbolicName=SCARD_E_NO_ACCESS
  299. Severity=CoError
  300. Facility=SmartCard
  301. Language=English
  302. Access is denied to this file
  303. .
  304. MessageId=40
  305. SymbolicName=SCARD_E_WRITE_TOO_MANY
  306. Severity=CoError
  307. Facility=SmartCard
  308. Language=English
  309. An attempt was made to write more data than would fit in the target object
  310. .
  311. MessageId=41
  312. SymbolicName=SCARD_E_BAD_SEEK
  313. Severity=CoError
  314. Facility=SmartCard
  315. Language=English
  316. There was an error trying to set the smart card file object pointer
  317. .
  318. MessageId=42
  319. SymbolicName=SCARD_E_INVALID_CHV
  320. Severity=CoError
  321. Facility=SmartCard
  322. Language=English
  323. The supplied PIN is incorrect
  324. .
  325. MessageId=43
  326. SymbolicName=SCARD_E_UNKNOWN_RES_MNG
  327. Severity=CoError
  328. Facility=SmartCard
  329. Language=English
  330. An unrecognized error code was returned from a layered component
  331. .
  332. ;//
  333. ;// These are warning codes.
  334. ;//
  335. MessageId=101
  336. SymbolicName=SCARD_W_UNSUPPORTED_CARD
  337. Severity=CoError
  338. Facility=SmartCard
  339. Language=English
  340. The reader cannot communicate with the smart card, due to ATR configuration conflicts
  341. .
  342. MessageId=102
  343. SymbolicName=SCARD_W_UNRESPONSIVE_CARD
  344. Severity=CoError
  345. Facility=SmartCard
  346. Language=English
  347. The smart card is not responding to a reset
  348. .
  349. MessageId=103
  350. SymbolicName=SCARD_W_UNPOWERED_CARD
  351. Severity=CoError
  352. Facility=SmartCard
  353. Language=English
  354. Power has been removed from the smart card, so that further communication is not possible
  355. .
  356. MessageId=104
  357. SymbolicName=SCARD_W_RESET_CARD
  358. Severity=CoError
  359. Facility=SmartCard
  360. Language=English
  361. The smart card has been reset, so any shared state information is invalid
  362. .
  363. MessageId=105
  364. SymbolicName=SCARD_W_REMOVED_CARD
  365. Severity=CoError
  366. Facility=SmartCard
  367. Language=English
  368. The smart card has been removed, so that further communication is not possible
  369. .
  370. MessageId=106
  371. SymbolicName=SCARD_W_SECURITY_VIOLATION
  372. Severity=CoError
  373. Facility=SmartCard
  374. Language=English
  375. Access was denied because of a security violation
  376. .
  377. MessageId=107
  378. SymbolicName=SCARD_W_WRONG_CHV
  379. Severity=CoError
  380. Facility=SmartCard
  381. Language=English
  382. The card cannot be accessed because the wrong PIN was presented
  383. .
  384. MessageId=108
  385. SymbolicName=SCARD_W_CHV_BLOCKED
  386. Severity=CoError
  387. Facility=SmartCard
  388. Language=English
  389. The card cannot be accessed because the maximum number of PIN entry attempts has been reached
  390. .
  391. MessageId=109
  392. SymbolicName=SCARD_W_EOF
  393. Severity=CoError
  394. Facility=SmartCard
  395. Language=English
  396. The end of the smart card file has been reached
  397. .
  398. MessageId=110
  399. SymbolicName=SCARD_W_CANCELLED_BY_USER
  400. Severity=CoError
  401. Facility=SmartCard
  402. Language=English
  403. The action was cancelled by the user
  404. .
  405. ;#endif // SCARD_S_SUCCESS
  406. ;// svrmsger.mc
  407. ;//
  408. ;// Event messages for the Smart Card Resource Manager
  409. ;//
  410. ;// 16-May-97 - DBarlow Created.
  411. ;//
  412. ;// ==============
  413. ;// Event Messages
  414. ;// ==============
  415. ;//
  416. ;//
  417. ;// From comms\CommRspnd.cpp
  418. ;// 100's
  419. ;//
  420. MessageId=101
  421. Severity=Success
  422. Facility=System
  423. Language=English
  424. Com Responder could not create Connection File: %1
  425. .
  426. MessageId=102
  427. Severity=Success
  428. Facility=System
  429. Language=English
  430. Com Responder could not virtualize Connection File: %1
  431. .
  432. MessageId=103
  433. Severity=Success
  434. Facility=System
  435. Language=English
  436. Com Responder could not map Connection File: %1
  437. .
  438. MessageId=104
  439. Severity=Success
  440. Facility=System
  441. Language=English
  442. Com Responder could not create access mutex: %1
  443. .
  444. MessageId=105
  445. Severity=Success
  446. Facility=System
  447. Language=English
  448. Com Responder could not create access pipe: %1
  449. .
  450. MessageId=106
  451. Severity=Success
  452. Facility=System
  453. Language=English
  454. Com Responder could not release access mutex: %1
  455. .
  456. MessageId=107
  457. Severity=Success
  458. Facility=System
  459. Language=English
  460. Com Responder Failed to start
  461. .
  462. ;//
  463. ;// From server\control.cpp
  464. ;// 200's
  465. ;//
  466. MessageId=201
  467. Severity=Success
  468. Facility=System
  469. Language=English
  470. Failed to initialize Server Application: %1
  471. .
  472. MessageId=202
  473. Severity=Success
  474. Facility=System
  475. Language=English
  476. Failed to initialize Server Application
  477. .
  478. MessageId=203
  479. Severity=Success
  480. Facility=System
  481. Language=English
  482. Server Control has no memory for reader reference object
  483. .
  484. MessageId=204
  485. Severity=Success
  486. Facility=System
  487. Language=English
  488. Server Control failed to create shutdown event: %1
  489. .
  490. MessageId=205
  491. Severity=Success
  492. Facility=System
  493. Language=English
  494. Reader object has duplicate name: %1
  495. .
  496. ;//
  497. ;// From server\dispatch.cpp
  498. ;// 300's
  499. ;//
  500. MessageId=301
  501. Severity=Success
  502. Facility=System
  503. Language=English
  504. Dispatch Service failed to create communications responder
  505. .
  506. MessageId=302
  507. Severity=Success
  508. Facility=System
  509. Language=English
  510. Dispatch Service failed to start monitor thread: %1
  511. .
  512. MessageId=303
  513. Severity=Success
  514. Facility=System
  515. Language=English
  516. Comm Responder failed to get incoming connection
  517. .
  518. MessageId=304
  519. Severity=Success
  520. Facility=System
  521. Language=English
  522. Service Monitor failed to start service thread: %1
  523. .
  524. MessageId=305
  525. Severity=Success
  526. Facility=System
  527. Language=English
  528. Command Dispatch sees reader in invalid state
  529. .
  530. MessageId=306
  531. Severity=Success
  532. Facility=System
  533. Language=English
  534. Command Dispatch sees reader in invalid state
  535. .
  536. ;//
  537. ;// From server\reader.cpp
  538. ;// 400's
  539. ;//
  540. MessageId=401
  541. Severity=Success
  542. Facility=System
  543. Language=English
  544. Reader shutdown exception from eject smart card command
  545. .
  546. ;// MessageId=402
  547. ;// MessageId=403
  548. ;// MessageId=404
  549. ;// MessageId=405
  550. MessageId=406
  551. Severity=Success
  552. Facility=System
  553. Language=English
  554. Reader object cannot Identify Device
  555. .
  556. ;// MessageId=407
  557. ;// MessageId=408
  558. ;// MessageId=409
  559. MessageId=410
  560. Severity=Success
  561. Facility=System
  562. Language=English
  563. Reader connect encountered invalid availability status
  564. .
  565. MessageId=411
  566. Severity=Success
  567. Facility=System
  568. Language=English
  569. Reader disconnect encountered invalid availability status
  570. .
  571. MessageId=412
  572. Severity=Success
  573. Facility=System
  574. Language=English
  575. Reader free encountered invalid availability status
  576. .
  577. ;//
  578. ;// From scardsvr\scardsvr.cpp
  579. ;// 500's
  580. ;//
  581. MessageId=501
  582. Severity=Success
  583. Facility=System
  584. Language=English
  585. Failed to obtain Kernel32 handle: %1
  586. .
  587. MessageId=502
  588. Severity=Success
  589. Facility=System
  590. Language=English
  591. Failed to obtain RegisterServiceProcess address: %1
  592. .
  593. MessageId=503
  594. Severity=Success
  595. Facility=System
  596. Language=English
  597. Failed to register as a service: %1
  598. .
  599. MessageId=504
  600. Severity=Success
  601. Facility=System
  602. Language=English
  603. Resource Manager cannot create shutdown event flag: %1
  604. .
  605. MessageId=505
  606. Severity=Success
  607. Facility=System
  608. Language=English
  609. Failed to start Smart Card Resource Manager Service %1
  610. .
  611. MessageId=506
  612. Severity=Success
  613. Facility=System
  614. Language=English
  615. Smart Card Resource Manager failed to register service: %1
  616. .
  617. MessageId=507
  618. Severity=Success
  619. Facility=System
  620. Language=English
  621. Failed to obtain AdvApi32 handle: %1
  622. .
  623. MessageId=508
  624. Severity=Success
  625. Facility=System
  626. Language=English
  627. Failed to obtain SetSecurityInfo address: %1
  628. .
  629. MessageId=509
  630. Severity=Success
  631. Facility=System
  632. Language=English
  633. Failed to obtain process handle: %1
  634. .
  635. MessageId=510
  636. Severity=Success
  637. Facility=System
  638. Language=English
  639. Smart Card Resource Manager cannot set its security: %1
  640. .
  641. MessageId=511
  642. Severity=Success
  643. Facility=System
  644. Language=English
  645. Smart Card Resource Manager failed to acknowledge start: %1
  646. .
  647. MessageId=512
  648. Severity=Success
  649. Facility=System
  650. Language=English
  651. Smart Card Resource Manager Failed to declare shutdown: %1
  652. .
  653. MessageId=513
  654. Severity=Success
  655. Facility=System
  656. Language=English
  657. Smart Card Resource Manager Failed to declare state: %1
  658. .
  659. ;//
  660. ;// From server\driver.cpp
  661. ;// 600's
  662. ;//
  663. MessageId=601
  664. Severity=Success
  665. Facility=System
  666. Language=English
  667. WDM Reader driver initialization failed to create overlapped event: %1
  668. .
  669. MessageId=602
  670. Severity=Success
  671. Facility=System
  672. Language=English
  673. WDM Reader driver initialization cannot open reader device: %1
  674. .
  675. MessageId=603
  676. Severity=Success
  677. Facility=System
  678. Language=English
  679. WDM Reader driver initialization has no memory available to control device %1
  680. .
  681. MessageId=604
  682. Severity=Success
  683. Facility=System
  684. Language=English
  685. Server control cannot set reader removal event: %1
  686. .
  687. MessageId=605
  688. Severity=Success
  689. Facility=System
  690. Language=English
  691. Reader object failed to create overlapped event: %1
  692. .
  693. MessageId=606
  694. Severity=Success
  695. Facility=System
  696. Language=English
  697. Reader object failed to create removal event: %1
  698. .
  699. MessageId=607
  700. Severity=Success
  701. Facility=System
  702. Language=English
  703. Reader object failed to start monitor thread: %1
  704. .
  705. ; MessageId=608
  706. MessageId=609
  707. Severity=Success
  708. Facility=System
  709. Language=English
  710. Reader monitor failed to create overlapped event: %1
  711. .
  712. MessageId=610
  713. Severity=Success
  714. Facility=System
  715. Language=English
  716. Reader insertion monitor error retry threshold reached: %1
  717. .
  718. MessageId=611
  719. Severity=Success
  720. Facility=System
  721. Language=English
  722. Reader insertion monitor received invalid wait return: %1
  723. .
  724. MessageId=612
  725. Severity=Success
  726. Facility=System
  727. Language=English
  728. Reader insertion monitor error retry threshold reached: %1
  729. .
  730. MessageId=613
  731. Severity=Success
  732. Facility=System
  733. Language=English
  734. Reader removal monitor error retry threshold reached: %1
  735. .
  736. MessageId=614
  737. Severity=Success
  738. Facility=System
  739. Language=English
  740. Reader removal monitor received invalid wait return: %1
  741. .
  742. MessageId=615
  743. Severity=Success
  744. Facility=System
  745. Language=English
  746. Reader removal monitor error retry threshold reached: %1
  747. .
  748. MessageId=616
  749. Severity=Success
  750. Facility=System
  751. Language=English
  752. Reader monitor '%2' received uncaught error code: %1
  753. .
  754. MessageId=617
  755. Severity=Success
  756. Facility=System
  757. Language=English
  758. Reader monitor '%1' exception -- exiting thread
  759. .
  760. MessageId=618
  761. Severity=Success
  762. Facility=System
  763. Language=English
  764. Reader poll initialize failed to create overlap event: %1
  765. .
  766. MessageId=619
  767. Severity=Success
  768. Facility=System
  769. Language=English
  770. Reader '%2' initialization failed to create removal event: %1
  771. .
  772. MessageId=620
  773. Severity=Success
  774. Facility=System
  775. Language=English
  776. Reader '%2' initialization failed to start polling thread: %1
  777. .
  778. MessageId=621
  779. Severity=Success
  780. Facility=System
  781. Language=English
  782. Reader poll initialize failed to create interest event: %1
  783. .
  784. MessageId=622
  785. Severity=Success
  786. Facility=System
  787. Language=English
  788. Reader '%1' utilizes an obsolete service -- Contact the vendor for an updated driver
  789. .
  790. MessageId=623
  791. Severity=Success
  792. Facility=System
  793. Language=English
  794. VxD Reader driver initialization failed to create overlapped event: %1
  795. .
  796. MessageId=624
  797. Severity=Success
  798. Facility=System
  799. Language=English
  800. VxD Reader driver initialization cannot open reader device: %1
  801. .
  802. MessageId=625
  803. Severity=Success
  804. Facility=System
  805. Language=English
  806. VxD Reader driver initialization has no memory available to control device %1
  807. .
  808. MessageId=626
  809. Severity=Success
  810. Facility=System
  811. Language=English
  812. Reader poll initialize failed to create overlap poll event: %1
  813. .
  814.