Microsoft KB Archive/300600

= Windows 98 Smartcard drivers must call the SmartcardCreateLink function =

Article ID: 300600

Article Last Modified on 12/21/2004

-

APPLIES TO


 * Microsoft Windows 98 Standard Edition
 * Microsoft Windows 98 Driver Development Kit (DDK)

-



This article was previously published under Q300600



SYMPTOMS
On Microsoft Windows 98, a program may not successfully call the SCardConnect function. Therefore, communication with the Smartcard device cannot occur.



CAUSE
On Windows 98, the Smartcard Resource Manager can access only those devices that create a symbolic link.



RESOLUTION
Configure Smartcard drivers to call the SmartcardCreateLink to create a symbolic link so that the Smartcard Resource Manager can access the reader.



STATUS
This behavior is by design.



MORE INFORMATION
Although the Microsoft Windows 98 Driver Development Kit (DDK) Smartcard Windows Driver Model (WDM) driver sample uses the IoRegisterDeviceInterface function with the SmartCardReaderGuid function to register the reader and does not call the SmartcardCreateLink function, this method will not work on Windows 98, because the Windows 98 Resource Manager can only access devices that have symbolic links. On Windows 98, even WDM drivers must call SmartcardCreateLink.

