IOMMU_DEVICE_DELETE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

IOMMU_DEVICE_DELETE IommuDeviceDelete;

NTSTATUS IommuDeviceDelete(
  PIOMMU_DMA_DEVICE DmaDevice
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdm-iommu_device_delete)

Description

Deletes the provided opaque token representing the IOMMU_DMA_DEVICE.

Parameters

DmaDevice

[In] A pointer to the opaque token representing the IOMMU_DMA_DEVICE to be deleted.

Return value

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

Return code Description
STATUS_RESOURCE_IN_USE The device is still attached to a domain. Callers are responsible for calling DetachDeviceEx before calling DeleteDevice.

For more information, see NTSTATUS Values.

Remarks

The caller must ensure that the IOMMU_DMA_DEVICE is detached from any domain it was previously attached to before the caller attempts to delete and free the device.

See also

IOMMU_DEVICE_CREATE

DMA_IOMMU_INTERFACE_V2

DMA_IOMMU_INTERFACE_EX