OEMStartEraseFlash (Windows CE 5.0)

Windows CE 5.0
Send Feedback

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

BOOL OEMStartEraseFlash(
  DWORD dwStartAddr,
  DWORD dwLength


[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.
[in] Number of bytes of flash memory to be erased.

Return Values

TRUE indicates success. FALSE indicates failure.


OS Versions: Windows CE .NET 4.0 and later.
Header: Blcommon.h.
Link Library: Blcommon.lib.

See Also

BLCOMMON Code Library | Implementing the Flash Memory Erase Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.