Bewerken

Delen via


IOMMU_DOMAIN_CONFIGURE callback function (wdm.h)

Configures a domain for use. All DMA blocked until the domain is configured.

Syntax

IOMMU_DOMAIN_CONFIGURE IommuDomainConfigure;

NTSTATUS IommuDomainConfigure(
  [_In_] PIOMMU_DMA_DOMAIN Domain,
  [_In_] PDOMAIN_CONFIGURATION Configuration
)
{...}

Parameters

[_In_] Domain

A pointer to the handle to the domain.

[_In_] Configuration

A pointer to a DOMAIN_CONFIGURATION structure that contains the new configuration for the domain.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS values error code. For more information, see NTSTATUS Values.

Remarks

If the domain being configured is OS managed (via IOMMU_DOMAIN_CREATE) or is not of type DomainTypeUnmanaged (via IOMMU_DOMAIN_CREATE_EX) then it cannot be configured and the function will return STATUS_INVALID_PARAMETER_1

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803
Header wdm.h (include Wdm.h)

See also

IOMMU_DOMAIN_CREATE

IOMMU_DOMAIN_CREATE_EX

DOMAIN_CONFIGURATION