The information in this article applies to:
SYMPTOMSFor Smart Card Resource Manager version 1.0, when a blocked SCardBeginTransaction() call returns after another thread or process reset the card, the return code is still set to SCARD_S_SUCCESS, instead of SCARD_W_RESET_CARD. CAUSEThe problem is caused by an anomaly in this API. RESOLUTIONCall SCardStatus() immediately after SCardBeginTransaction() to make sure the card has not been reset. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThe following scenario produces the described problem:
REFERENCESPlease see the MSDN online help for more information on SCardBeginTransaction() and other SCard APIs. Additional query words: SCardBeginTransaction SCARD_W_RESET_CARD SCard API
Keywords : kbAPI kbKernBase kbSDKPlatform kbSDKWin32 kbSecurity kbfaq kbDSupport kbGrpKernBase kbSmartCard |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |