2010/3/22  <[email protected]>:
> I would like to know if there is any way for obtaining more information when 
> encountering a SCARD_E_SHARING_VIOLATION during a SCardConnect() ?
> In a different spelling : when I get SCARD_E_SHARING_VIOLATION during a 
> SCardConnect(), I would like to have information concerning the process that 
> has already obtained exclusive rights (its PID for example).

This service is not available from the winscard API. So there is no
official way to retrieve the information you want.

> Do you have any trick ?

You can have a list of _all_ the processes using the PC/SC API using:
$ sudo fuser /var/run/pcscd/pcscd.pub

Why do you need this?

Bye

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

Reply via email to