DXGKCB_UNMAPPHYSICALMEMORY callback function (d3dkmddi.h)

DXGKCB_UNMAPPHYSICALMEMORY unmaps a CPU-visible virtual address from the underlying physical memory.

Syntax

DXGKCB_UNMAPPHYSICALMEMORY DxgkcbUnmapphysicalmemory;

void DxgkcbUnmapphysicalmemory(
  [in] IN_CONST_PDXGKARGCB_UNMAP_PHYSICAL_MEMORY pArgs
)
{...}

Parameters

[in] pArgs

Pointer to a DXGKARGCB_UNMAP_PHYSICAL_MEMORY structure that contains information about the physical memory object from which the CPU-visible address is being unmapped.

Return value

None

Remarks

DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_UNMAP_PHYSICAL_MEMORY and then call DxgkCbUnmapPhysicalMemory via the DXGKRNL_INTERFACE.

See IOMMU DMA remapping for more information.

Requirements

Requirement Value
Minimum supported server Windows Server 2022 (WDDM 2.9)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARGCB_UNMAP_PHYSICAL_MEMORY

DXGKCB_MAPPHYSICALMEMORY

DXGKRNL_INTERFACE