https://bugs.winehq.org/show_bug.cgi?id=37495
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- There were many attempts to get wine to support smart cards, I believe the first one was in 2007 by Mounir IDRASSI, a new version was sent in 2008. Then we have Vincent Hardy trying to resent the patches in 2011. I tried too in 2011 by sending [1] but it was ignored due to the fact that its not possible to test in testbot. So we currently have bug 31783 for that.
http://marc.info/?l=wine-patches&m=132011096001948&w=2
Most of the functions cannot be tested without a reader and a card and for most of the applications only a few functions are used, they are: SCardEstablishContext SCardListReaders SCardGetStatusChange SCardConnect SCardBeginTransaction SCardTransmit SCardEndTransaction SCardDisconnect SCardReconnect SCardReleaseContext
The minimal amount of functions required to do something are: SCardEstablishContext SCardListReaders SCardConnect SCardTransmit SCardDisconnect SCardReleaseContext