Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1222584
  • 博文数量: 261
  • 博客积分: 4196
  • 博客等级: 上校
  • 技术积分: 3410
  • 用 户 组: 普通用户
  • 注册时间: 2012-02-17 17:05
文章分类

全部博文(261)

文章存档

2018年(1)

2017年(22)

2016年(2)

2015年(8)

2014年(27)

2013年(40)

2012年(161)

分类: WINDOWS

2012-11-07 17:34:27

The following table shows the primary error values returned by smart card functions.

Some error values can have the same value as existing Microsoft® Win32® error values that signify a similar condition. The following table shows these values.

Error CodeHRESULT valueDescription
SCARD_F_INTERNAL_ERROR0x80100001LAn internal consistency check failed.
SCARD_E_CANCELLED0x80100002LThe action was cancelled by an SCardCancel request.
SCARD_E_INVALID_HANDLE0x80100003LThe supplied handle was invalid.
SCARD_E_INVALID_PARAMETER 0x80100004LOne or more of the supplied parameters could not be properly interpreted.
SCARD_E_INVALID_TARGET0x80100005LRegistry startup information is missing or invalid.
SCARD_E_NO_MEMORY0x80100006LNot enough memory available to complete this command.
SCARD_F_WAITED_TOO_LONG0x80100007LAn internal consistency timer has expired.
SCARD_E_INSUFFICIENT_BUFFER 0x80100008LThe data buffer to receive returned data is too small for the returned data.
SCARD_E_UNKNOWN_READER0x80100009LThe specified reader name is not recognized.
SCARD_E_TIMEOUT0x8010000ALThe user-specified timeout value has expired.
SCARD_E_SHARING_VIOLATION 0x8010000BLThe smart card cannot be accessed because of other connections outstanding.
SCARD_E_NO_SMARTCARD0x8010000CLThe operation requires a Smart Card, but no Smart Card is currently in the device.
SCARD_E_UNKNOWN_CARD0x8010000DLThe specified smart card name is not recognized.
SCARD_E_CANT_DISPOSE0x8010000ELThe system could not dispose of the media in the requested manner.
SCARD_E_PROTO_MISMATCH0x8010000FLThe requested protocols are incompatible with the protocol currently in use with the smart card.
SCARD_E_NOT_READY0x80100010LThe reader or smart card is not ready to accept commands.
SCARD_E_INVALID_VALUE 0x80100011LOne or more of the supplied parameters values could not be properly interpreted.
SCARD_E_SYSTEM_CANCELLED0x80100012LThe action was cancelled by the system, presumably to log off or shut down.
SCARD_F_COMM_ERROR0x80100013LAn internal communications error has been detected.
SCARD_F_UNKNOWN_ERROR 0x80100014LAn internal error has been detected, but the source is unknown.
SCARD_E_INVALID_ATR 0x80100015LAn ATR obtained from the registry is not a valid ATR string.
SCARD_E_NOT_TRANSACTED0x80100016LAn attempt was made to end a non-existent transaction.
SCARD_E_READER_UNAVAILABLE0x80100017LThe specified reader is not currently available for use.
SCARD_P_SHUTDOWN 0x80100018LThe operation has been aborted to allow the server application to exit.
SCARD_E_PCI_TOO_SMALL 0x80100019LThe PCI Receive buffer was too small.
SCARD_E_READER_UNSUPPORTED0x8010001ALThe reader driver does not meet minimal requirements for support.
SCARD_E_DUPLICATE_READER0x8010001BLThe reader driver did not produce a unique reader name.
SCARD_E_CARD_UNSUPPORTED0x8010001CLThe smart card does not meet minimal requirements for support.
SCARD_E_NO_SERVICE0x8010001DLThe Smart card resource manager is not running.
SCARD_E_SERVICE_STOPPED0x8010001ELThe Smart card resource manager has shut down.
SCARD_E_UNEXPECTED0x8010001FLAn unexpected card error has occurred.
SCARD_E_ICC_INSTALLATION0x80100020LNo Primary Provider can be found for the smart card.
SCARD_E_ICC_CREATEORDER0x80100021LThe requested order of object creation is not supported.
SCARD_E_UNSUPPORTED_FEATURE 0x80100022LThis smart card does not support the requested feature.
SCARD_E_DIR_NOT_FOUND 0x80100023LThe identified directory does not exist in the smart card.
SCARD_E_FILE_NOT_FOUND0x80100024LThe identified file does not exist in the smart card.
SCARD_E_NO_DIR 0x80100025LThe supplied path does not represent a smart card directory.
SCARD_E_NO_FILE0x80100026LThe supplied path does not represent a smart card file.
SCARD_E_NO_ACCESS0x80100027LAccess is denied to this file.
SCARD_E_WRITE_TOO_MANY0x80100028LThe smartcard does not have enough memory to store the information.
SCARD_E_BAD_SEEK 0x80100029LThere was an error trying to set the smart card file object pointer.
SCARD_E_INVALID_CHV 0x8010002ALThe supplied PIN is incorrect.
SCARD_E_UNKNOWN_RES_MNG0x8010002BLAn unrecognized error code was returned from a layered component.
SCARD_E_NO_SUCH_CERTIFICATE 0x8010002CLThe requested certificate does not exist.
SCARD_E_CERTIFICATE_UNAVAILABLE0x8010002DLThe requested certificate could not be obtained.
SCARD_E_NO_READERS_AVAILABLE0x8010002ELCannot find a smart card reader.
SCARD_E_COMM_DATA_LOST0x8010002FLA communications error with the smart card has been detected.Retry the operation.
SCARD_E_NO_KEY_CONTAINER0x80100030LThe requested key container does not exist on the smart card.
SCARD_E_SERVER_TOO_BUSY0x80100031LThe Smart card resource manager is too busy to complete this operation.
SCARD_W_UNSUPPORTED_CARD0x80100065LThe reader cannot communicate with the card, due to ATR string configuration conflicts.
SCARD_W_UNRESPONSIVE_CARD0x80100066LThe smart card is not responding to a reset.
SCARD_W_UNPOWERED_CARD0x80100067LPower has been removed from the smart card, so that further communication is not possible.
SCARD_W_RESET_CARD0x80100068LThe smart card has been reset, so any shared state information is invalid.
SCARD_W_REMOVED_CARD0x80100069LThe smart card has been removed, so further communication is not possible.
SCARD_W_SECURITY_VIOLATION0x8010006ALAccess was denied because of a security violation.
SCARD_W_WRONG_CHV0x8010006BLThe card cannot be accessed because the wrong PIN was presented.
SCARD_W_CHV_BLOCKED0x8010006CLThe card cannot be accessed because the maximum number of PIN entry attempts has been reached.
SCARD_W_EOF0x8010006DLThe end of the smart card file has been reached.
SCARD_W_CANCELLED_BY_USER0x8010006ELThe action was canceled by the user.
SCARD_W_CARD_NOT_AUTHENTICATED0x8010006FLNo PIN was presented to the Smart card.
阅读(2521) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~