Microsoft KB Archive/912917

= FIX: The SCardGetStatusChange API function may not report the SCARD_STATE_INUSE status in Windows CE 5.0 =

Article ID: 912917

Article Last Modified on 7/26/2006

-

APPLIES TO


 * Microsoft Windows CE 5.0

-





SYMPTOMS
In Microsoft Windows CE 5.0, an application may call the SCardGetStatusChange API function. However, the SCardGetStatusChange function does not report the SCARD_STATE_INUSE status in the dwCurrentState field of the SCARD_READERSTATE structure for the smart card reader. This problem occurs most frequently when the following conditions are true:
 * The application that calls the SCardGetStatusChange function is running on a Microsoft Windows Terminal Server session.
 * The application queries a smart card reader that is attached to a Windows CE-based thin client.



CAUSE
This problem occurs because of a coding error in the Scard module. This coding error causes the reader state flags to be read from the wrong location.



Software update information
A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 912917. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites
This software update is supported only if all previously issued software updates for this product have also been applied.

Restart requirement
After you apply this software update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this software update.

Software update replacement information
This software update does not replace any other software updates.

File information
The English version of this software update package has the file attributes or the later file attributes that are listed in the following table. 

The English version of this software update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. 



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: smart-card smartcard

Keywords: kbbug kbfix kbqfe kbpubtypekc KB912917

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.