ScardMessages
ScardMessages.Instance (HResult.SCARD) contains Microsoft's HResult code descriptions for Smart-card subsystem (SCARD facility).
HResult | Key | Text | Exception |
---|---|---|---|
0x80100001 | SCARD.SCARD_F_INTERNAL_ERROR | An internal consistency check failed. | |
0x80100002 | SCARD.SCARD_E_CANCELLED | The action was canceled by an SCardCancel request. | |
0x80100003 | SCARD.SCARD_E_INVALID_HANDLE | The supplied handle was invalid. | |
0x80100004 | SCARD.SCARD_E_INVALID_PARAMETER | One or more of the supplied parameters could not be properly interpreted. | |
0x80100005 | SCARD.SCARD_E_INVALID_TARGET | Registry startup information is missing or invalid. | |
0x80100006 | SCARD.SCARD_E_NO_MEMORY | Not enough memory available to complete this command. | |
0x80100007 | SCARD.SCARD_F_WAITED_TOO_LONG | An internal consistency timer has expired. | |
0x80100008 | SCARD.SCARD_E_INSUFFICIENT_BUFFER | The data buffer to receive returned data is too small for the returned data. | |
0x80100009 | SCARD.SCARD_E_UNKNOWN_READER | The specified reader name is not recognized. | |
0x8010000A | SCARD.SCARD_E_TIMEOUT | The user-specified time-out value has expired. | |
0x8010000B | SCARD.SCARD_E_SHARING_VIOLATION | The smart card cannot be accessed because of other connections outstanding. | |
0x8010000C | SCARD.SCARD_E_NO_SMARTCARD | The operation requires a smart card, but no smart card is currently in the device. | |
0x8010000D | SCARD.SCARD_E_UNKNOWN_CARD | The specified smart card name is not recognized. | |
0x8010000E | SCARD.SCARD_E_CANT_DISPOSE | The system could not dispose of the media in the requested manner. | |
0x8010000F | SCARD.SCARD_E_PROTO_MISMATCH | The requested protocols are incompatible with the protocol currently in use with the smart card. | |
0x80100010 | SCARD.SCARD_E_NOT_READY | The reader or smart card is not ready to accept commands. | |
0x80100011 | SCARD.SCARD_E_INVALID_VALUE | One or more of the supplied parameters values could not be properly interpreted. | |
0x80100012 | SCARD.SCARD_E_SYSTEM_CANCELLED | The action was canceled by the system, presumably to log off or shut down. | |
0x80100013 | SCARD.SCARD_F_COMM_ERROR | An internal communications error has been detected. | |
0x80100014 | SCARD.SCARD_F_UNKNOWN_ERROR | An internal error has been detected, but the source is unknown. | |
0x80100015 | SCARD.SCARD_E_INVALID_ATR | An automatic terminal recognition (ATR) obtained from the registry is not a valid ATR string. | |
0x80100016 | SCARD.SCARD_E_NOT_TRANSACTED | An attempt was made to end a nonexistent transaction. | |
0x80100017 | SCARD.SCARD_E_READER_UNAVAILABLE | The specified reader is not currently available for use. | |
0x80100018 | SCARD.SCARD_P_SHUTDOWN | The operation has been aborted to allow the server application to exit. | |
0x80100019 | SCARD.SCARD_E_PCI_TOO_SMALL | The peripheral component interconnect (PCI) Receive buffer was too small. | |
0x8010001A | SCARD.SCARD_E_READER_UNSUPPORTED | The reader driver does not meet minimal requirements for support. | |
0x8010001B | SCARD.SCARD_E_DUPLICATE_READER | The reader driver did not produce a unique reader name. | |
0x8010001C | SCARD.SCARD_E_CARD_UNSUPPORTED | The smart card does not meet minimal requirements for support. | |
0x8010001D | SCARD.SCARD_E_NO_SERVICE | The smart card resource manager is not running. | |
0x8010001E | SCARD.SCARD_E_SERVICE_STOPPED | The smart card resource manager has shut down. | |
0x8010001F | SCARD.SCARD_E_UNEXPECTED | An unexpected card error has occurred. | |
0x80100020 | SCARD.SCARD_E_ICC_INSTALLATION | No primary provider can be found for the smart card. | |
0x80100021 | SCARD.SCARD_E_ICC_CREATEORDER | The requested order of object creation is not supported. | |
0x80100022 | SCARD.SCARD_E_UNSUPPORTED_FEATURE | This smart card does not support the requested feature. | |
0x80100023 | SCARD.SCARD_E_DIR_NOT_FOUND | The identified directory does not exist in the smart card. | |
0x80100024 | SCARD.SCARD_E_FILE_NOT_FOUND | The identified file does not exist in the smart card. | |
0x80100025 | SCARD.SCARD_E_NO_DIR | The supplied path does not represent a smart card directory. | |
0x80100026 | SCARD.SCARD_E_NO_FILE | The supplied path does not represent a smart card file. | |
0x80100027 | SCARD.SCARD_E_NO_ACCESS | Access is denied to this file. | |
0x80100028 | SCARD.SCARD_E_WRITE_TOO_MANY | The smart card does not have enough memory to store the information. | |
0x80100029 | SCARD.SCARD_E_BAD_SEEK | There was an error trying to set the smart card file object pointer. | |
0x8010002A | SCARD.SCARD_E_INVALID_CHV | The supplied PIN is incorrect. | |
0x8010002B | SCARD.SCARD_E_UNKNOWN_RES_MNG | An unrecognized error code was returned from a layered component. | |
0x8010002C | SCARD.SCARD_E_NO_SUCH_CERTIFICATE | The requested certificate does not exist. | |
0x8010002D | SCARD.SCARD_E_CERTIFICATE_UNAVAILABLE | The requested certificate could not be obtained. | |
0x8010002E | SCARD.SCARD_E_NO_READERS_AVAILABLE | Cannot find a smart card reader. | |
0x8010002F | SCARD.SCARD_E_COMM_DATA_LOST | A communications error with the smart card has been detected. Retry the operation. | |
0x80100030 | SCARD.SCARD_E_NO_KEY_CONTAINER | The requested key container does not exist on the smart card. | |
0x80100031 | SCARD.SCARD_E_SERVER_TOO_BUSY | The smart card resource manager is too busy to complete this operation. | |
0x80100065 | SCARD.SCARD_W_UNSUPPORTED_CARD | The reader cannot communicate with the smart card, due to ATR configuration conflicts. | |
0x80100066 | SCARD.SCARD_W_UNRESPONSIVE_CARD | The smart card is not responding to a reset. | |
0x80100067 | SCARD.SCARD_W_UNPOWERED_CARD | Power has been removed from the smart card, so that further communication is not possible. | |
0x80100068 | SCARD.SCARD_W_RESET_CARD | The smart card has been reset, so any shared state information is invalid. | |
0x80100069 | SCARD.SCARD_W_REMOVED_CARD | The smart card has been removed, so that further communication is not possible. | |
0x8010006A | SCARD.SCARD_W_SECURITY_VIOLATION | Access was denied because of a security violation. | |
0x8010006B | SCARD.SCARD_W_WRONG_CHV | The card cannot be accessed because the wrong PIN was presented. | |
0x8010006C | SCARD.SCARD_W_CHV_BLOCKED | The card cannot be accessed because the maximum number of PIN entry attempts has been reached. | |
0x8010006D | SCARD.SCARD_W_EOF | The end of the smart card file has been reached. | |
0x8010006E | SCARD.SCARD_W_CANCELLED_BY_USER | The action was canceled by the user. | |
0x8010006F | SCARD.SCARD_W_CARD_NOT_AUTHENTICATED | No PIN was presented to the smart card. |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/