http://bugs.winehq.org/show_bug.cgi?id=58608
--- Comment #6 from yan12125 pq2sx44teeigl7za@chyen.cc ---
Right, I have already fixed that here.
Maybe not everything is fixed? This line
send64.pci_len = 0;
should probably be:
send64.pci_len = sizeof(SCARD_IO_REQUEST);
Based on my testing, either variant of your patch fixes the first issue encountered with TFBWebATMAgent.exe. It can get basic data from the card, while I'm still unable to login due to other errors ("ox1001").