Partager via


OEMIsFlashAddr (Compact 2013)

10/16/2014

This function determines whether the address provided lies in a platform's flash memory or RAM address range. Based on the results of this call, the run-time image being downloaded might be destined for flash memory. In that case, it might need to be handled differently, for example, by providing a RAM-based file cache area to support downloading while a flash memory update takes place.

Syntax

BOOL OEMIsFlashAddr(
  DWORD dwAddr
);

Parameters

  • dwAddr
    [in] Address of a BIN file record. This is the address that is checked to see whether it lies in flash or RAM.

Return Value

Returns TRUE if an address is a flash address, and FALSE if not.

Requirements

Header

blcommon.h

Library

blcommon.lib

See Also

Reference

Boot Loader Flash Functions