Compartir a través de


OEMWriteFlash (Compact 2013)

10/16/2014

This function writes to flash memory the run-time 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 run-time 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 run-time image, in bytes, to be written to flash memory.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

blcommon.h

Library

blcommon.lib

See Also

Reference

Boot Loader Flash Functions