OEMMapMemAddr (Compact 2013)
This function handles downloads that are destined for flash. OEMmapMemAddr remaps a flash-resident address to a unique RAM-based address so that flash memory run-time images can be temporarily cached in RAM while the download occurs. This provides enough time to handle the flash memory update while not stalling the download process because the flash memory operation typically takes more time than the download process.
LPBYTE OEMMapMemAddr( DWORD dwImageStart, DWORD dwAddr );