Share via


OEMWriteFlash

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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

Concepts

BLCOMMON Code Library