Expand Minimize
This topic has not yet been rated - Rate this topic

MmUnmapIoSpace routine

The MmUnmapIoSpace routine unmaps a specified range of physical addresses previously mapped by MmMapIoSpace.

Syntax


VOID MmUnmapIoSpace(
  _In_  PVOID BaseAddress,
  _In_  SIZE_T NumberOfBytes
);

Parameters

BaseAddress [in]

Pointer to the base virtual address to which the physical pages were mapped.

NumberOfBytes [in]

Specifies the number of bytes that were mapped.

Return value

None

Remarks

If a driver calls MmMapIoSpace during device start-up, it must call MmUnmapIoSpace when it receives a PnP stop-device or remove-device IRP for the same device object.

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Contained in Ntoskrnl.lib.

IRQL

<=DISPATCH_LEVEL

See also

MmMapIoSpace

 

 

Send comments about this topic to Microsoft

Build date: 5/22/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.