// wdfdevice.h
VOID WdfDeviceUnmapIoSpace(
[in] WDFDEVICE Device,
[in] PVOID PseudoBaseAddress,
[in] SIZE_T NumberOfBytes
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to UMDF only]
The WdfDeviceUnmapIoSpace function unmaps a specified range of physical addresses previously mapped by the WdfDeviceMapIoSpace function.
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.
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.