Share via


OEMWriteFlash

This function is called by the BLCOMMON framework to write the OS image that may be stored in a RAM file cache area to flash memory.

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 will need to 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 Values

TRUE indicates success. FALSE indicates failure.

Requirements

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

See Also

BLCOMMON Code Library | Implementing the OEMWriteFlash Function

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.