Registering a WDM Smart Card Reader Driver

To make a smart card reader driver visible to Device Manager, you must put the indicated registry values under the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SmartCardDriver

The required values are listed in the following table.

Registry value name Contents of the registry value Meaning

Start

DWORD:0x0000002

A value of 2 makes the driver start automatically. During development, use a Start value of 3 to make the driver start manually.

Type

DWORD:0x0000001

A value of 1 identifies the driver as a kernel-mode driver.

Group

SmartCardReader

Every driver has to be a member of the SmartCardReader setup class, because the smart card resource manager waits for this class to start.

ErrorControl

DWORD:0x0000001

A value of 1 shows an error message if the driver fails to load, but lets the system continue to start up.