OEM_MmUnmapIoSpace

In Windows Embedded CE6 MmUnmapIoSpace is only callable from kernel-space. The function OEM_MmUnmapIoSpace is a workaround to use MmUnmapIoSpace from user-space.
This function maps a physical address space to a nonpaged, process-dependent address space. It provides a virtual address, which is directly mapped, to the device.
See Platform-Builder-Help for details.

VOID OEM_MmUnmapIoSpace( PVOID BaseAddress, ULONG NumberOfBytes );

Parameters

BaseAddress
[in] Pointer to the base virtual address to which MmMapIoSpace mapped physical pages.

NumberOfBytes
[in] Number of bytes that MmMapIoSpace mapped.

Return Values

None.

Requirements

OS Versions: Windows Embedded CE 6.
Header: drvlib_app.h
Link Library: drvlib_app.lib
added: 14.03.2008