WdfDeviceUnmapIoSpace function (wdfdevice.h)
[Applies to UMDF only]
The WdfDeviceUnmapIoSpace function unmaps a specified range of physical addresses previously mapped by the WdfDeviceMapIoSpace function.
Syntax
void WdfDeviceUnmapIoSpace(
[in] WDFDEVICE Device,
[in] PVOID PseudoBaseAddress,
[in] SIZE_T NumberOfBytes
);
Parameters
[in] Device
A handle to a framework device object.
[in] PseudoBaseAddress
The address of a location that receives a pointer to the pseudo base address.
[in] NumberOfBytes
Specifies a value greater than zero, indicating the number of bytes to be mapped.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Target Platform | Universal |
Minimum UMDF version | 2.0 |
Header | wdfdevice.h (include Wdf.h) |
Library | WUDFx02000.lib |
DLL | WUDFx02000.dll |
IRQL | PASSIVE_LEVEL |