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



The information in this article 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.

RESOLUTION

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.
File nameFile sizeDateTime
Wincepb50-060117-kb912917-armv4i.msi841,72818-Jan-200601:00
Wincepb50-060117-kb912917-mipsii.msi841,72818-Jan-200601:00
Wincepb50-060117-kb912917-mipsii_fp.msi842,75218-Jan-200601:00
Wincepb50-060117-kb912917-mipsiv.msi848,89618-Jan-200601:00
Wincepb50-060117-kb912917-mipsiv_fp.msi849,40818-Jan-200601:00
Wincepb50-060117-kb912917-sh4.msi824,83218-Jan-200601:00
Wincepb50-060117-kb912917-x86.msi748,03218-Jan-200601:00
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.
File nameFile sizeDateTimePath
Scard.lib948,85609-Jan-200619:45public\common\oak\lib\armv4i\debug
Scard.lib743,98409-Jan-200619:45public\common\oak\lib\armv4i\retail
Scard.lib977,38809-Jan-200619:45public\common\oak\lib\mipsii\debug
Scard.lib718,23409-Jan-200619:45public\common\oak\lib\mipsii\retail
Scard.lib977,40809-Jan-200619:46public\common\oak\lib\mipsii_fp\debug
Scard.lib718,26609-Jan-200619:46public\common\oak\lib\mipsii_fp\retail
Scard.lib988,61009-Jan-200619:46public\common\oak\lib\mipsiv\debug
Scard.lib719,59209-Jan-200619:46public\common\oak\lib\mipsiv\retail
Scard.lib988,63009-Jan-200619:46public\common\oak\lib\mipsiv_fp\debug
Scard.lib719,62409-Jan-200619:46public\common\oak\lib\mipsiv_fp\retail
Scard.lib901,22609-Jan-200619:45public\common\oak\lib\sh4\debug
Scard.lib670,48609-Jan-200619:45public\common\oak\lib\sh4\retail
Scard.lib757,23009-Jan-200619:45public\common\oak\lib\x86\debug
Scard.lib648,24609-Jan-200619:45public\common\oak\lib\x86\retail

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbBug kbfix kbQFE kbpubtypekc KB912917 kbAudOEM