PC/SC Virtual Reader Question....

hello all ,
can any one help me on how i can simulate card insertion event for PC/SC
virtual smard card reader by using (insert-remove)
a USB Device that have product ID and Vendor ID ,
i am already develop the Virtual reader but i did not know how can i by
using any usb Device to fire to
Smard Card resource manager the card insertion event??

any help will be appreciated.


Checkout the documentation for RDF_CARD_TRACKING.
Basically you have to keep this IRP pending and complete it when a card is inserted / removed.