On 06.03.2009, at 17:18, Alon Bar-Lev wrote: > 2009/3/6 Martin Paljak <mar...@paljak.pri.ee>: >> SCardControl talks to reader drivers, not pcsc-lite or pc/sc >> subsystem in >> that matter. >> >> 3400 was the "original reference number" in teletrust (which later >> became >> PC/SC v2 part 10 which deals with pinpads). >> Historic note: http://osdir.com/ml/lib.muscle/2005-03/msg00074.html > > So we the same value is not accepted? As the winscard-internal.h thing is a hack to make things work, we can and should add the windows kludge there to make mingw builders happy. I don't believe we should change anything on other platforms (pcsc- lite), you can find the 3400 constant in other documents related to this topic as well, so I believe it is the best to let it be.
Why SCardControl returns 1 (not 0x0 or some PC/SC error) is another topic. If the reader and related driver supports the pinpad with current code stack is also another question. > >> We really should not have a separate winscard "try to mimic what is >> the >> original thing" header. > > True. We use system provided if available, mingw32(32bit) does not > provide one. > > Alon. -- Martin Paljak http://martin.paljak.pri.ee +372.515.6495 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel