IOMMU_DOMAIN_CREATE callback function (wdm.h)

Creates a new DMA remapping device domain (a container for a set of page tables).

Syntax

IOMMU_DOMAIN_CREATE IommuDomainCreate;

NTSTATUS IommuDomainCreate(
  [_In_]  BOOLEAN OsManagedPageTable,
  [_Out_] PIOMMU_DMA_DOMAIN *DomainOut
)
{...}

Parameters

[_In_] OsManagedPageTable

A boolean value that indicates whether the page table is managed by the caller or by the HAL.

  • TRUE, indicates the HAL owns the page table.

    • Map/Unmap are available.

    • Configure/Flush are unavailable.

  • FALSE indicates that the caller owns the page table.

    • Map/Unmap are unavailable.

    • Configure/Flush are available.

[_Out_] DomainOut

A pointer to IOMMU_DMA_DOMAIN variable that receives an opaque handle used to reference 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

This is deprecated. Consider using IOMMU_DOMAIN_CREATE_EX* and DMA_IOMMU_INTERFACE_EX.

Requirements

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