This sample shows how to display the Windows dialog for selecting certificates present on a smart card.It uses the function CertSelectCertificate exported by cryptdlg.dll .
Here is the source : ShowCertsDlg.cpp
The Cryptology ePrint Archive provides rapid access to recent research in cryptology. It's hosted by the International Association for Cryptologic Research. The latest articles can be accessed by clicking here.