IOMMU_FREE_RESERVED_LOGICAL_ADDRESS_RANGE callback function (wdm.h)

Frees a logical address token created by IOMMU_RESERVE_LOGICAL_ADDRESS_RANGE.

Syntax

IOMMU_FREE_RESERVED_LOGICAL_ADDRESS_RANGE IommuFreeReservedLogicalAddressRange;

NTSTATUS IommuFreeReservedLogicalAddressRange(
  [in] PIOMMU_DMA_LOGICAL_ADDRESS_TOKEN LogicalAddressToken
)
{...}

Parameters

[in] LogicalAddressToken

The IOMMU_DMA_LOGICAL_ADDRESS_TOKEN, representing the reserved logical address range, to be freed.

Return value

STATUS_SUCCESS if the operation is successful.

STATUS_RESOURCE_IN_USE if the logical address range is currently mapped or partially mapped.

Remarks

Before deleting an IOMMU_DMA_DOMAIN, all associated logical address tokens must be freed.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header wdm.h (include Wdm.h)

See also

IOMMU_DMA_LOGICAL_ADDRESS_TOKEN

IOMMU_RESERVE_LOGICAL_ADDRESS_RANGE

IOMMU_MAP_RESERVED_LOGICAL_RANGE

IOMMU_UNMAP_RESERVED_LOGICAL_RANGE