Does anyone know if and where it is documented under which
circumstances SCardReconnect() returns a sharing violation?

I have a case with the code I've been working with where I see one application
thread issues SCardBeginTransaction() meantime the card is removed,
and before SCardEndTransaction() is called, another thread receives
an SCARD_W_RESET from SCardGetStatus() and issues an
SCardReconnect() [w/SCARD_S_SHARED set] as a result,
and SCardReconnect() returns the error SCARD_E_SHARING_VIOLATION.

Is that the proper behavior, or perhaps a bug in my code, or PCSClite,
or is it undocumented?

Thanks,
Paul

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to