L
lo1ol
Guest
I noticed the problem that SCardGetStatusChange returns invalid dwEventState for "\\?PnP?\Notification" on Windows 11. The problem is that field doesn't satisfy bit mask described here. So, SCardGetStatusChange may return value immediately, even if there is no changed readers.The returned value contains the number of detected readers number too. I wrote test program to show it:#include <winscard.h>#include <stdio.h>void TryCurrentState(SCARDCONTEXT hContext, DWORD state){ SCARD_READERSTATE rgReaderSt
Continue reading...
Continue reading...