WdfDeviceUnmapIoSpace function
[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
- 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.
Return value
This function does not return a value.
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
Minimum support | Windows 8.1 |
---|---|
Minimum UMDF version | 2.0 |
Header |
|
Library |
|
IRQL | PASSIVE_LEVEL |
See also
Show: