阅读:2606回复:7
有哪位熟悉Smartcard驱动程序的开发,希望交流!
最近,我正在开发符合PC/SC的Smart Card 读写器驱动的开发,希望与有这方面经验的专家交流!
|
|
沙发#
发布于:2001-08-09 09:24
我也在做!!
----------------------------- dk-boy@china.com |
|
|
板凳#
发布于:2001-08-09 14:34
我在用ifdtest.exe测试时,执行SmartcardDeviceControl时,当IOControlCode=3100002c时,返回00000103,请问是什么原因?谢谢!(Win98,USB)
|
|
地板#
发布于:2001-08-09 14:56
NTSTATUS
DeviceControl( PDEVICE_OBJECT DeviceObject, PIRP Irp ) { PDEVICE_EXTENSION deviceExtension = DeviceObject->DeviceExtension; // Let the library check parameters // If the library requires the help of the driver it'll call // the driver using a call back mechanism return SmartcardDeviceControl( &(deviceExtension->SmartcardExtension), Irp ); } 你的程序也是这样调用SmartcardDeviceControl??? |
|
|
地下室#
发布于:2001-08-10 21:56
我是在DeviceIOControl中调用的,如下:
ntStatus = SmartcardAcquireRemoveLock(&deviceExtension->SmartcardExtension); if (ntStatus != STATUS_SUCCESS) { // the device has been removed. Fail the call Irp->IoStatus.Information = 0; Irp->IoStatus.Status = STATUS_DEVICE_REMOVED; IoCompleteRequest(Irp, IO_NO_INCREMENT); return STATUS_DEVICE_REMOVED; } ntStatus = SmartcardDeviceControl( &(deviceExtension->SmartcardExtension), Irp ); SmartcardReleaseRemoveLock(&deviceExtension->SmartcardExtension); 在windows2000下,ifdtest返回0xc0000184!谢谢帮助! |
|
5楼#
发布于:2001-08-11 09:00
只看这一段程序,好象没有问题!
--------------------------------------- 有必要可以发email给我,希望多交流??? dk-boy@china.com |
|
|
6楼#
发布于:2001-08-13 20:22
DK-boy我给你发了Email你收到了吗?请与我联系!
|
|
7楼#
发布于:2008-10-29 08:44
你好,迫切需要交流,我在做个虚拟的智能卡驱动,也是调用smclib.sys,不知道上层是怎么打开驱动程序的?符号连接吗?
|
|