DXGKCB_CLOSEPHYSICALMEMORYOBJECT callback function (d3dkmddi.h)
DXGKCB_CLOSEPHYSICALMEMORYOBJECT closes a physical memory object.
Syntax
DXGKCB_CLOSEPHYSICALMEMORYOBJECT DxgkcbClosephysicalmemoryobject;
void DxgkcbClosephysicalmemoryobject(
[in] IN_CONST_PDXGKARGCB_CLOSE_PHYSICAL_MEMORY_OBJECT pArgs
)
{...}
Parameters
[in] pArgs
Pointer to a DXGKARGCB_CLOSE_PHYSICAL_MEMORY_OBJECT structure that contains information about the physical memory object to close.
Return value
None
Remarks
If the driver chooses to specify hAdapterMemoryObject as part of the DXGKCB_DESTROYPHYSICALMEMORYOBJECT call, then it is not necessary to close it via DXGKCB_CLOSEPHYSICALMEMORYOBJECT as well.
See IOMMU DMA remapping for more information.
DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_ALLOCATEPAGESFORMDL and then call DxgkCbClosePhysicalMemoryObject via the DXGKRNL_INTERFACE.
Requirements
Requirement | Value |
---|---|
Minimum supported server | Windows Server 2022 (WDDM 2.9) |
Header | d3dkmddi.h |
IRQL | PASSIVE_LEVEL |
See also
DXGKARGCB_CLOSE_PHYSICAL_MEMORY_OBJECT
DXGKCB_DESTROYPHYSICALMEMORYOBJECT