// wdm.h
IOMMU_DOMAIN_DETACH_DEVICE_EX IommuDomainDetachDeviceEx;
NTSTATUS IommuDomainDetachDeviceEx(
[in] PIOMMU_DMA_DEVICE DmaDevice
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Detaches a IOMMU_DMA_DEVICE from an existing domain.
DmaDevice [in]A pointer to the IOMMU_DMA_DEVICE to be detached.
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.
The caller must call DetachDeviceEx before attempting to attach the device to another domain.