Hi,
I'm trying to modify the PSCR sample DDK to make a virtual PCSC driver. I
removed all HW dependencies from PSCR. Now I see the Smart Card Resource
Manager opening a handle to my driver, but one of the last IRPs gets
cancelled due to an invalid code forwarded to SmartcardDeviceControl. I am
receiving it from Resource Manager after QUERY_DEVICE_RELATIONS... Any ideea
how to troubleshoot this? Is there a better place to ask Smart Card specific
questions?
For details please see the log bellow:
SMCLIB!PscrCreateClose: Open
PSCR!PscrPnPDeviceControl: Exit c00000bb
PSCR!PscrPnPDeviceControl: Enter
PSCR!PscrPnPDeviceControl: Default 7
PSCR!PscrPnPDeviceControl: Exit c00000bb
SMCLIB!PscrDeviceIoControl: --------- 860aa448
SMCLIB!PscrDeviceIoControl: IRP - 860aa448 Major - 0x0 Minor - 0x0
SMCLIB!PscrDeviceIoControl: SmartcardDeviceControl - status : 0
SMCLIB!PscrDeviceIoControl: --------- 860aa448
SMCLIB!PscrDeviceIoControl: IRP - 860aa448 Major - 0x310008 Minor - 0x60150
SMCLIB!PscrDeviceIoControl: SmartcardDeviceControl - status : 0
SMCLIB!PscrDeviceIoControl: --------- 860aa448
SMCLIB!PscrDeviceIoControl: IRP - 860aa448 Major - 0x310008 Minor - 0x10100
SMCLIB!PscrDeviceIoControl: SmartcardDeviceControl - status : 0
SMCLIB!PscrDeviceIoControl: --------- 860aa448
SMCLIB!PscrDeviceIoControl: IRP - 860aa448 Major - 0x310008 Minor - 0x10101
SMCLIB!PscrDeviceIoControl: SmartcardDeviceControl - status : 0
PSCR!PscrPnPDeviceControl: Enter
PSCR!PscrPnPDeviceControl: Default 7
PSCR!PscrPnPDeviceControl: Exit 0
SMCLIB!PscrDeviceIoControl: --------- 8645db28
SMCLIB!PscrDeviceIoControl: IRP - 8645db28 Major - 0x310008 Minor -
0x7fff0001
PSCR!CBCardTracking: Enter
PSCR!CBCardTracking: Exit
SMCLIB!PscrDeviceIoControl: SmartcardDeviceControl - status : 103
SMCLIB!PscrDeviceIoControl: --------- 863ece00
SMCLIB!PscrDeviceIoControl: IRP - 863ece00 Major - 0x310028 Minor -
0x7fff0001
SMCLIB!PscrDeviceIoControl: SmartcardDeviceControl - status : 0
PSCR!PscrCancel: Enter
PSCR!PscrCancel: Completing wait for Irp = 8645db28
PSCR!PscrCancel: Exit
SMCLIB!PscrCleanup: Enter
SMCLIB!PscrCleanup: Completing IRP 863ece00
SMCLIB!PscrCleanup: Exit
SMCLIB!PscrCreateClose: Close IRP 2
Many thanks in advance for any comment....
Mircea