WdfDeviceUnmapIoSpace - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfdevice.h

VOID WdfDeviceUnmapIoSpace(
  [in] WDFDEVICE Device,
  [in] PVOID     PseudoBaseAddress,
  [in] SIZE_T    NumberOfBytes
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdevice-wdfdeviceunmapiospace)

WdfDeviceUnmapIoSpace function

Description

[Applies to UMDF only]

The WdfDeviceUnmapIoSpace function unmaps a specified range of physical addresses previously mapped by the WdfDeviceMapIoSpace function.

Parameters

Device [in]

A handle to a framework device object.

PseudoBaseAddress [in]

The address of a location that receives a pointer to the pseudo base address.

NumberOfBytes [in]

Specifies a value greater than zero, indicating the number of bytes to be mapped.

Remarks

This function is the UMDF version 2 equivalent of IWDFDevice3::UnmapIoSpace.

If a driver calls WdfDeviceMapIoSpace in EvtDevicePrepareHardware callback, it must call WdfDeviceUnmapIoSpace in its EvtDeviceReleaseHardware callback.

See also

IWDFDevice3::UnmapIoSpace

WdfDeviceMapIoSpace