Share via


Smart Card Driver Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The following sample shows the registry key entry for the Smart Card Resource Manager:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SmartCard]
    "Prefix"="SCA"
    "Dll"="scard.dll"
    "Index"=dword:1
    "Order"=dword:1

In contrast to the Smart Card Resource Manager registry key entry, your smart card reader driver should use the standard device file name prefix SCR. For additional information on device file names, see the Device File Names topic.

USB CCID Smart Card Readers

Applies to Windows Embedded CE 6.0 R2

You can add support for USB CCID Smart Card readers by adding the following registry keys.

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\11\CCID_Class]
    "Dll"="USBCCID.DLL"
; Stream driver settings for Usbccid.dll
[HKEY_LOCAL_MACHINE\Drivers\USB\USBCCID]
    "Prefix"="SCR"
    "Dll"="usbccid.dll"

Setting the above registry keys will only work if you include the USB CCID Smart Card reader driver in your operating system design. The Sysgen variable that you need to set in order to activate this device driver is SYSGEN_USB_SMARTCARD. Previously, in Windows Embedded CE 6.0, setting SYSGEN_USB_SMARTCARD caused Platform Builder to include the SCM Microsystems SCR300 Smart Card Reader driver in the OS design. Beginning with Windows Embedded CE 6.0 R2, SYSGEN_USB_SMARTCARD causes Platform Builder to include both the SCM Microsystems SCR300 Smart Card Reader driver and the USB CCID Smart Card reader driver in the OS design. If you want to exclude a driver, you can modify the Platform.bib file during the OS design phase. For additional information, see How to Create a Device Driver.

Note

After you build a run-time image based on an OS design, you can check the Catalog item dependencies in your OS design. To check the dependencies of a catalog item in your OS design, in the IDE, go to the Catalog Item View, select an item that is in your OS design, right click the item, and then select Reasons for Inclusion of Item. For additional information on this process, see Reason for Inclusion Dialog Box.

SCM Microsystems SCR300 Smart Card Reader

You can add support for the SCM Microsystems SCR300 Smart Card reader by adding the following registry keys.

;SCM microsystems USB Smart Card Reader
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\102_4097\Default\Default\STCUSB]
    "DLL"="STCUSB.DLL"
;For other firmware revisions of the same reader
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1254_4097\Default\Default\STCUSB]
    "DLL"="STCUSB.DLL"
;Stream driver settings for Stcusb.dll
[HKEY_LOCAL_MACHINE\Drivers\USB\StcUsb]
    "Prefix"="SCR"
    "Dll"="stcusb.dll"

Adding these registry keys affects the system only if you include the driver for the SCM Microsystems SCR300 USB Smart Card Reader in your OS design. To add this device driver, set the SYSGEN_USB_SMARTCARD Sysgen variable.

Schlumberger Reflex USB Smart Card Reader

You can add support for the Schlumberger Reflex USB Smart Card Reader by adding the following registry key and the SCM Microsystems reader driver. This registry key entry serves as an example of how to add support for a reader that uses a standard USB interface using a vendor identifier (VID) and platform identifier (PID).

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1254_8196\Default\Default\STCUSB]
    "Dll"="stcusb.dll"

Adding this registry key affects the system only if you include the driver for the SCM Microsystems SCR300 USB Smart Card Reader in your OS design. To add this device driver, set the SYSGEN_USB_SMARTCARD Sysgen variable.

See Also

Concepts

Smart Card Driver Architecture
Smart Card Driver Samples

Other Resources

Smart Card Drivers
Smart Card Resource Manager