Share via


OEMStartEraseFlash

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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

Concepts

BLCOMMON Code Library