// d3dkmddi.h
typedef struct _DXGKARGCB_DESTROY_PHYSICAL_MEMORY_OBJECT {
[in] HANDLE hPhysicalMemoryObject;
[in] HANDLE hAdapterMemoryObject;
} DXGKARGCB_DESTROY_PHYSICAL_MEMORY_OBJECT;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKARGCB_DESTROY_PHYSICAL_MEMORY_OBJECT structure contains the information used by the DXGKCB_DESTROYPHYSICALMEMORYOBJECT callback function to destroy physical memory.
hPhysicalMemoryObject [in]Handle to the physical memory object created via DXGKCB_CREATEPHYSICALMEMORYOBJECT to destroy.
hAdapterMemoryObject [in]Optional handle to an adapter memory object to close at the same time. This handle is provided for the purpose of creating a convenient mirror mapping with destroy. If hAdapterMemoryObject is not NULL, the driver must not also call DXGKCB_CLOSEPHYSICALMEMORYOBJECT.
If the driver attempts to destroy a physical object that still has an existing ADL created against it, the call will bugcheck the machine since the driver is leaking locked pages.
See IOMMU DMA remapping for more information.
DXGKCB_CLOSEPHYSICALMEMORYOBJECT
DXGKCB_CREATEPHYSICALMEMORYOBJECT
DXGKCB_DESTROYPHYSICALMEMORYOBJECT