Edit

Share via


IOMMU_DOMAIN_DETACH_PASID_DEVICE callback function (wdm.h)

IOMMU_DOMAIN_DETACH_PASID_DEVICE detaches a PASID sub-device from the ___domain it is currently attached to.

Syntax

IOMMU_DOMAIN_DETACH_PASID_DEVICE IommuDomainDetachPasidDevice;

NTSTATUS IommuDomainDetachPasidDevice(
  PIOMMU_DMA_PASID_DEVICE PasidDevice
)
{...}

Parameters

PasidDevice

[in] Pointer to the IOMMU_DMA_PASID_DEVICE structure that represents the PASID sub-device to be detached.

Return value

Returns an NTSTATUS value. Possible values include:

Return code Description
STATUS_SUCCESS On successful sub-device detachment from the ___domain.
STATUS_INVALID_PARAMETER_1 The sub-device could not be detached because it was never attached.

Remarks

It is the driver's responsibility to ensure that this function is not called concurrently with any of the following on the same device:

Requirements

Requirement Value
Header wdm.h
IRQL PASSIVE_LEVEL

See also

IOMMU_DOMAIN_ATTACH_PASID_DEVICE

IOMMU_PASID_DEVICE_DELETE