Share via


OEMStartEraseFlash (Windows Embedded CE 6.0)

1/5/2010

This function initiates the flash memory erasing process. It is called by the BLCOMMON framework.

Syntax

BOOL OEMStartEraseFlash(
  DWORD dwStartAddr,
  DWORD dwLength
);

Parameters

  • dwStartAddr
    [in] Address in flash memory from which to start erasing. The platform boot loader code checks whether this is a flash memory, block-aligned address. If it is not, the code handles it differently. For more information, see Implementing the Flash Memory Erase Functions.
  • dwLength
    [in] Number of bytes of flash memory to be erased.

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

Reference

Boot Loader Flash Functions

Concepts

BLCOMMON Code Library