http://bugs.winehq.org/show_bug.cgi?id=58608
--- Comment #5 from Hans Leidekker hans@meelstraat.net --- (In reply to yan12125 from comment #4)
Thank you! The idea looks cool. I'll test and feedback when I find time.
By the way, I noticed a potential issue after reading my patch again. Per [1], cbPciLength is "Length, in bytes, of the SCARD_IO_REQUEST structure plus any following PCI-specific information." Assume no PCI-specific information, sizeof(SCARD_IO_REQUEST) seems more correct. I don't remember why I used 0 - will test both variants based on your patch.
Right, I have already fixed that here.