OEMIsFlashAddr (Windows Embedded CE 6.0)

1/5/2010

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 OS 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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Tasks

Implementing the OEMIsFlashAddr Function

Reference

Boot Loader Flash Functions

Concepts

BLCOMMON Code Library