Share via


OEMWriteFlash (Windows Embedded CE 6.0)

1/5/2010

This function writes to flash memory the OS image that might be stored in a RAM file cache area. It is called by the BLCOMMON framework.

Syntax

BOOL OEMWriteFlash(
  DWORD dwStartAddr,
  DWORD dwLength
);

Parameters

  • dwStartAddr
    [in] Address in flash memory where the start of the downloaded OS image is to be written. If this is not a flash memory block-aligned address, the platform code must take this into account and handle it as a special case.
  • dwLength
    [in] Length of the OS image, in bytes, to be written to flash memory.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header blcommon.h
Library blcommon.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Tasks

Implementing the OEMWriteFlash Function

Reference

Boot Loader Flash Functions

Concepts

BLCOMMON Code Library