Microsoft KB Archive/180363

{|
 * width="100%"|

PRB: File Size Limitation on Windows CE

 * }

Q180363

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), included with:
 * Microsoft Windows CE

-

SYMPTOMS
The internal file size on Windows CE is limited to 4 megabytes (MB). The same applies to the file size in emulation. This does not apply to external storage, such as a flash card.

STATUS
This behavior is by design.

MORE INFORMATION
WriteFile does not return an error when the 4 MB is exceeded. The intended number of bytes to be written should be checked against the actual bytes written.

Additional query words:

Keywords : kbKernBase kbOSWinCEsearch kbGrpDSKernBase kbEmulate

Issue type : kbprb

Technology : kbAudDeveloper kbWin32sSearch kbWin32API