Hi again, thanks for the answer
Events that happened since when?
Since last time the function was called.
I don't think it will return the individual events. But just that something changed and you will get the latest state in dwEventState.
It wont, but it will be capable of telling an event happened, and thats important enough.
Is this a _documented_ feature of SCardGetStatusChange()? I can't find it is MSDN.
Unfortunately, its not. But its the only way to make each application have its own state. If not, winscard would have to save state for each application to see if an event happened between calls. What windows do is: save this counter in dwEventFlag so next time you call it, it can compare to its own and set the CHANGED bit for you. Just print the flag in windows and youll see it keeps a event counter at higher bits. I dont see other way of doing this...
It is clear. I think you are relying on a undocumented feature of the Windows SCardGetStatusChange(). I am not sure it is a good idea. Implementing such a feature in pcsc-lite may not be easy. But, as always, patches are welcome :-)
Ill see if I can get something implemented then. Thanks Matheus _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
