智能卡读卡器 UMDF 驱动程序。掉电问题
开发 UMDF 读卡器驱动程序,该驱动程序连接到基于软件的智能卡模拟器,从而允许任何 PC/SC 兼容应用程序连接到智能卡模拟器。
基于 Fabio Ottavi 的项目实现:http://www.codeproject.com/KB/system /BixVReader.aspx
工作正常,只是 Windows SmartCard 服务在报告时将驱动程序置于断电模式 (IOCTL_SMARTCARD_POWER -> SCARD_POWER_DOWN) IOCTL_SMARTCARD_IS_PRESENT。当驱动程序当前未被其他应用程序访问时,就会发生这种情况。断电通常发生在卡出现后 10 到 15 秒,我想防止这种情况发生。
Fabio 提到了一个未记录的 Windows7 注册表项 (CardDisconnectPowerDownDelay),但是,这似乎不起作用,我也需要 XP 的解决方案。
谢谢...
Working on a UMDF card-reader driver which connects to a software based SmartCard simulator thus allowing any PC/SC compliant application to interface to the SmartCard simulator.
Implementation based on Fabio Ottavi's project here: http://www.codeproject.com/KB/system/BixVReader.aspx
Works well except that the Windows SmartCard Service puts the driver into power-down mode (IOCTL_SMARTCARD_POWER -> SCARD_POWER_DOWN) when it reports IOCTL_SMARTCARD_IS_PRESENT. This happens when the driver is not been currently accessed by another application. The power-down generally happends 10 to 15 seconds after the card is present and I would like to prevent it happening.
Fabio mentions an undocumented Windows7 registry entry (CardDisconnectPowerDownDelay), however, this did not seem to work and I need a solution for XP as well.
Thanks...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论