DXGKCB_MAPPHYSICALMEMORY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKCB_MAPPHYSICALMEMORY DxgkcbMapphysicalmemory;

NTSTATUS DxgkcbMapphysicalmemory(
  [in/out] IN_OUT_PDXGKARGCB_MAP_PHYSICAL_MEMORY pArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkcb_mapphysicalmemory)

Description

A kernel-mode display miniport driver calls DXGKCB_MAPPHYSICALMEMORY to map CPU-visible virtual addresses to the underlying physical memory.

Parameters

pArgs [in/out]

Pointer to a DXGKARGCB_MAP_PHYSICAL_MEMORY structure that contains information about the physical memory to map.

Return value

DXGKCB_MAPPHYSICALMEMORY returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS error code.

Remarks

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

The cache type used for the mappings will be based on the CacheType specified when the physical memory object was created in a call to DXGKCB_CREATEPHYSICALMEMORYOBJECT.

See IOMMU DMA remapping for more information.

See also

DXGKARGCB_MAP_PHYSICAL_MEMORY

DXGKCB_CREATEPHYSICALMEMORYOBJECT

DXGKCB_UNMAPPHYSICALMEMORY

DXGKRNL_INTERFACE