Add SCARD_E_NO_SERVICE to internal-winscard.h

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3630 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
alonbl 2009-01-19 19:43:19 +00:00
parent 78ac13a96a
commit ce5c5f3ae9
2 changed files with 3 additions and 2 deletions

View File

@ -51,6 +51,7 @@ typedef unsigned __int8 uint8_t;
#define SCARD_E_SHARING_VIOLATION 0x8010000B /**< The smart card cannot be accessed because of other connections outstanding. */
#define SCARD_E_NOT_TRANSACTED 0x80100016 /**< An attempt was made to end a non-existent transaction. */
#define SCARD_E_READER_UNAVAILABLE 0x80100017 /**< The specified reader is not currently available for use. */
#define SCARD_E_NO_SERVICE 0x8010001D /**< The Smart card resource manager is not running. */
#define SCARD_E_NO_READERS_AVAILABLE 0x8010002E /**< Cannot find a smart card reader. */
#define SCARD_W_UNRESPONSIVE_CARD 0x80100066 /**< The smart card is not responding to a reset. */
#define SCARD_W_UNPOWERED_CARD 0x80100067 /**< Power has been removed from the smart card, so that further communication is not possible. */

View File

@ -302,8 +302,8 @@ CK_RV C_GetInfo(CK_INFO_PTR pInfo)
strcpy_bp(pInfo->libraryDescription,
"smart card PKCS#11 API",
sizeof(pInfo->libraryDescription));
pInfo->libraryVersion.major = 0;
pInfo->libraryVersion.minor = 0; /* FIXME: use 0.116 for 0.11.6 from autoconf */
pInfo->libraryVersion.major = OPENSC_VERSION_MINOR;
pInfo->libraryVersion.minor = OPENSC_VERSION_FIX;
out: sc_pkcs11_unlock();
return rv;