OEMMapMemAddr (Windows CE 5.0)
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 OS 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(DWORDdwImageStart,DWORDdwAddr);
Parameters
- dwImageStart
[in] Starting address of OS image. - dwAddr
[in] Address of a BIN record. If this address lies in a platform's flash memory address space, typically the offset from dwImageStart is computed and added to a RAM-based file cache area.
Return Values
Address from which the BIN record should be copied to provide file caching before and during the flash update process.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Blcommon.h.
Link Library: Blcommon.lib.
See Also
BLCOMMON Code Library | Implementing the OEMMapMemAddr Function
Send Feedback on this topic to the authors