1

Microsoft implements SCardGetReaderDeviceInstanceId in winscard.dll on Windows8 and later version. I really want to know the implementation of this function. I tried to decompile it but am not good at decompilation, I got nothing. I am asking because I have a requirement to correlate smartcard reader Name with DeviceInstanceId, so I think I may able to implement it on Windows7 or even older version based on its implementation on Windows8. So folks, anyhelp?

LONG WINAPI SCardGetReaderDeviceInstanceId(
  _In_      SCARDCONTEXT hContext,
  _In_      LPCTSTR      szReaderName,
  _Out_opt_ LPTSTR       szDeviceInstanceId,
  _Inout_   LPDWORD      cchDeviceInstanceId
);
jiten
  • 5,128
  • 4
  • 44
  • 73
SevenWow
  • 305
  • 3
  • 14
  • Here is a question similar to my requirement. [link](http://stackoverflow.com/questions/12401845/how-to-connect-to-smart-card-reader-based-on-its-usb-port-location) – SevenWow Dec 08 '15 at 06:00

1 Answers1

1

Have a look here. It seems that your requirement isn't possible to finish on Windows7 and older version.

Community
  • 1
  • 1
Enniswen
  • 26
  • 2