OEMMapMemAddr
This function is used to handle 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(
DWORD dwImageStart,
DWORD dwAddr
);
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 at 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
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.