Edit

Share via


IOMMU_DOMAIN_DETACH_DEVICE_EX callback function (wdm.h)

Detaches a IOMMU_DMA_DEVICE from an existing ___domain.

Syntax

IOMMU_DOMAIN_DETACH_DEVICE_EX IommuDomainDetachDeviceEx;

NTSTATUS IommuDomainDetachDeviceEx(
  [in] PIOMMU_DMA_DEVICE DmaDevice
)
{...}

Parameters

[in] DmaDevice

A pointer to the IOMMU_DMA_DEVICE to be detached.

Return value

STATUS_SUCCESS if the operation is successful. Possible error return values include the following status codes.

Return code Description
STATUS_INVALID_PARAMETER_1 The device could not be detached because it is not currently attached to any ___domain.

For more information, see NTSTATUS Values.

Remarks

The caller must call DetachDeviceEx before attempting to attach the device to another ___domain.

Requirements

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

See also

IOMMU_DOMAIN_ATTACH_DEVICE_EX

DMA_IOMMU_INTERFACE_V2

DMA_IOMMU_INTERFACE_EX