Microsoft KB Archive/885273

= FIX: A data transaction to an IEEE 1394 hard disk drive fails when a pointer argument that is passed to the ReadFile or WriteFile functions is not DWORD-aligned =

Article ID: 885273

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.2

-





SYMPTOMS
When a pointer argument that is passed to the ReadFile or WriteFile functions is not DWORD-aligned, the data transaction to an IEEE 1394 hard disk drive fails in Microsoft Windows CE .NET 4.2.



CAUSE
The IEEE 1394 driver may pass an application buffer pointer to the device. If this pointer is not DWORD-aligned, the hard disk drive may fail the request to read or to write data. The file system layer should examine the buffer alignment and then allocate a temporary buffer to meet the data alignment requirements of the drive. We highly recommend that applications pass DWORD-aligned pointers to any system API.



Software update information
A supported software update is now available from Microsoft as Windows CE .NET 4.2 Core OS QFE 885273. 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 you have also installed all previously issued updates for this product.

Restart requirement
After you install 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 your computer after you apply this software update.

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

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.   Date         Time   Version  Size     File name -  06-Nov-2004  01:14  4.21     662,264  Wincepb42-041105-kb885273-armv4.exe 06-Nov-2004 01:14  4.21     662,264  Wincepb42-041105-kb885273-armv4i.exe 06-Nov-2004 01:14  4.21     666,360  Wincepb42-041105-kb885273-mipsii.exe 06-Nov-2004 01:14  4.21     666,360  Wincepb42-041105-kb885273-mipsii_fp.exe 06-Nov-2004 01:14  4.21     666,360  Wincepb42-041105-kb885273-mipsiv.exe 06-Nov-2004 01:14  4.21     666,360  Wincepb42-041105-kb885273-mipsiv_fp.exe 06-Nov-2004 01:14  4.21     658,168  Wincepb42-041105-kb885273-sh3.exe 06-Nov-2004 01:14  4.21     658,168  Wincepb42-041105-kb885273-sh4.exe 06-Nov-2004 01:14  4.21     654,072  Wincepb42-041105-kb885273-x86.exe 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.   Date         Time   Size     File name ---

Path: Public\Common\Oak\Lib\Armv4\Debug 01-Nov-2004 22:52  124,968  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Armv4\Retail 01-Nov-2004 22:52  103,166  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Armv4i\Debug 01-Nov-2004 22:52  125,146  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Armv4i\Retail 01-Nov-2004 22:52  103,330  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Mipsii\Debug 01-Nov-2004 22:52  124,956  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Mipsii\Retail 01-Nov-2004 22:52  105,944  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Mipsii_fp\Debug 01-Nov-2004 22:52  124,978  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Mipsii_fp\Retail 01-Nov-2004 22:52  105,956  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Mipsiv\Debug 01-Nov-2004 22:52  126,604  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Mipsiv\Retail 01-Nov-2004 22:52  107,066  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug 01-Nov-2004 22:52  126,624  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail 01-Nov-2004 22:52  107,076  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Sh3\Debug 01-Nov-2004 22:52  110,252  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Sh3\Retail 01-Nov-2004 22:52   94,638  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Sh4\Debug 01-Nov-2004 22:52  110,200  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\Sh4\Retail 01-Nov-2004 22:52   94,248  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\X86\Debug 01-Nov-2004 22:52  114,708  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb

Path: Public\Common\Oak\Lib\X86\Retail 01-Nov-2004 22:52   87,612  Scsiblk.lib 01-Nov-2004 22:52  118,784  Scsiblk.pdb



Applications should pass DWORD-aligned buffer pointers to disk i/o functions.



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: IEEE1394

Keywords: kbbug kbfix kbqfe KB885273

-

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

© Microsoft Corporation. All rights reserved.