// wdm.h
IOMMU_DOMAIN_DELETE IommuDomainDelete;
NTSTATUS IommuDomainDelete(
[_In_] PIOMMU_DMA_DOMAIN Domain
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Deletes an existing domain. The domain must contain no devices in order to be successfully deleted.
Domain [_In_]A pointer to the handle to the domain to be deleted.
Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS values error code. For more information, see NTSTATUS Values.
This can be called on any IOMMU_DMA_DOMAIN that was created through either the DMA_IOMMU_INTERFACE_EX or DMA_IOMMU_INTERFACE.