Condividi tramite


DXGKCB_DESTROYPHYSICALMEMORYOBJECT funzione di callback (d3dkmddi.h)

DXGKCB_DESTROYPHYSICALMEMORYOBJECT distrugge la memoria fisica per il driver.

Sintassi

DXGKCB_DESTROYPHYSICALMEMORYOBJECT DxgkcbDestroyphysicalmemoryobject;

void DxgkcbDestroyphysicalmemoryobject(
  [in] IN_CONST_PDXGKARGCB_DESTROY_PHYSICAL_MEMORY_OBJECT pArgs
)
{...}

Parametri

[in] pArgs

Puntatore a una struttura DXGKARGCB_DESTROY_PHYSICAL_MEMORY_OBJECT contenente informazioni sulla memoria fisica da eliminare.

Valore restituito

nessuno

Osservazioni

DXGKCB_CREATEPHYSICALMEMORYOBJECT e DXGKCB_DESTROYPHYSICALMEMORYOBJECT creare ed eliminare definitivamente la memoria fisica per il driver. Questa memoria può essere rappresentata internamente in forme diverse, ma sarà conforme ai requisiti e al tipo di memorizzazione nella cache specificati negli argomenti forniti in DXGKARGCB_CREATE_PHYSICAL_MEMORY_OBJECT.

Per altre informazioni, vedere Il mapping DMA di IOMMU .

DXGKCB_XXX funzioni vengono implementate da Dxgkrnl. Per usare questa funzione di callback, impostare i membri di DXGKARGCB_DESTROY_PHYSICAL_MEMORY_OBJECT e quindi chiamare DxgkCbDestroyPhysicalMemoryObject tramite il DXGKRNL_INTERFACE.

Requisiti

Requisito Valore
Server minimo supportato Windows Server 2022 (WDDM 2.9)
Intestazione d3dkmddi.h
IRQL PASSIVE_LEVEL

Vedi anche

DXGKARGCB_CREATE_PHYSICAL_MEMORY_OBJECT

DXGKARGCB_DESTROY_PHYSICAL_MEMORY_OBJECT

DXGKCB_CREATEPHYSICALMEMORYOBJECT

DXGKRNL_INTERFACE