Maps a range of physical memory addresses into the current process's virtual address space.
PVOID RtMapMemory(
    LARGE_INTEGER physAddr,
    ULONG Length,
    BOOLEAN CacheEnable
);
Parameters
physAddr 
- A LARGE_INTEGER that specifies the start physical address range to map. 
 Length 
- The length, in bytes, of the address range to map. 
 CacheEnable 
- Ignored. 
 
Return Values
- A virtual address in the current process' address space 
 - Success. 
 - NULL 
 - Failure. For extended error information, see the Windows' GetLastError function. 
 
Requirements
| Versions | 
Defined in | 
Include | 
Link to | 
| INtime 3.1 | 
intime/nt/include/iwin32x.h | 
iwin32x.h | 
iwin32x.lib | 
 
Notes
- This function operates in the Windows portion of your application. 
 - The iwin32 API also includes an RtMapMemory function that operates in the real-time portion of your application. 
 
See Also
iwin32x API, iwin32 Overview