The CreateFile function returns an error when you call the function on a Windows Embedded CE 6.0 R3-based image that uses the exFAT file system


Symptoms


Consider the following scenario:
  • You create an image of a Windows Embedded CE 6.0 R3-based OS design.
  • The OS design includes the SYSGEN_ENCFILT environment variable.
  • You use the exFAT file system on the image.
In this scenario, you encounter one of the following issues:
  • When you call the CreateFile function and the function uses a directory name, the function returns an error and you cannot obtain the handle.
  • When you call the CreateFile function to open an existing file by using the OPEN_ALWAYS flag, the GetLastError function returns 0 (ERROR_SUCCESS) instead of 183 (ERROR_ALREADY_EXISTS).

Resolution


Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Monthly Update (June 2011). In the "File information" section, the package file name contains the product version, date, Microsoft Knowledge Base article number, and processor type. The package file name format is as follows: 

Product version-yymmdd-kbnnnnnn-processor type

For example: Wincepb60-110128-kb2492159-armv4i.msi is the ARMV4i Windows Embedded CE 6.0 Platform Builder fix that is documented in Knowledge Base article 2492159 and that is contained in the January 2011 monthly update. 

To resolve this problem immediately, download this Windows Embedded CE 6.0 Monthly Update from the following Microsoft websites:

Windows Embedded

Download Windows Embedded CE 6.0

Microsoft Download Center

Windows Embedded CE 6.0

Prerequisites

To apply this software update, you must have all previously issued software updates for this product installed.

Restart requirement

After you install this software update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

File information

The English version of this software update package 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 item in Control Panel.
Installer files
File nameFile sizeDateTimePath
Encfilt.lib351,37616-Jun-201123:00Public\Common\Oak\Lib\Armv4i\Debug
Encfilt.lib229,24616-Jun-201123:00Public\Common\Oak\Lib\Armv4i\Retail
Encfilt.lib345,61016-Jun-201123:00Public\Common\Oak\Lib\Mipsii\Debug
Encfilt.lib235,95616-Jun-201123:00Public\Common\Oak\Lib\Mipsii\Retail
Encfilt.lib345,65416-Jun-201123:01Public\Common\Oak\Lib\Mipsii_fp\Debug
Encfilt.lib235,98816-Jun-201123:01Public\Common\Oak\Lib\Mipsii_fp\Retail
Encfilt.lib352,75416-Jun-201123:01Public\Common\Oak\Lib\Mipsiv\Debug
Encfilt.lib242,86616-Jun-201123:01Public\Common\Oak\Lib\Mipsiv\Retail
Encfilt.lib352,79816-Jun-201123:01Public\Common\Oak\Lib\Mipsiv_fp\Debug
Encfilt.lib242,89816-Jun-201123:01Public\Common\Oak\Lib\Mipsiv_fp\Retail
Encfilt.lib297,14816-Jun-201123:01Public\Common\Oak\Lib\Sh4\Debug
Encfilt.lib210,51016-Jun-201123:01Public\Common\Oak\Lib\Sh4\Retail
Encfilt.lib304,83416-Jun-201123:00Public\Common\Oak\Lib\X86\Debug
Encfilt.lib200,37616-Jun-201123:00Public\Common\Oak\Lib\X86\Retail
Files that are included in this hotfix package
File nameFile sizeDateTime
Wincepb60-110620-kb2567452-armv4i.msi620,54422-Jun-201119:35
Wincepb60-110620-kb2567452-mipsii.msi618,49622-Jun-201119:35
Wincepb60-110620-kb2567452-mipsii_fp.msi618,49622-Jun-201119:35
Wincepb60-110620-kb2567452-mipsiv.msi624,64022-Jun-201119:35
Wincepb60-110620-kb2567452-mipsiv_fp.msi624,64022-Jun-201119:35
Wincepb60-110620-kb2567452-sh4.msi611,84022-Jun-201119:35
Wincepb60-110620-kb2567452-x86.msi597,50422-Jun-201119:35

Status


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

More Information


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates