Funzione D3DKMTDestroyAllocation2 (d3dkmthk.h)

La funzione D3DKMTDestroyAllocation2 rilascia una risorsa, un elenco di allocazioni o entrambi.

Sintassi

NTSTATUS D3DKMTDestroyAllocation2(
  [in] const D3DKMT_DESTROYALLOCATION2 *unnamedParam1
);

Parametri

[in] unnamedParam1

Puntatore a una struttura D3DKMT_DESTROYALLOCATION2 che contiene informazioni per il rilascio delle allocazioni.

Valore restituito

D3DKMTDestroyAllocation2 restituisce uno dei valori seguenti:

Codice restituito Descrizione
STATUS_SUCCESS Le allocazioni sono state rilasciate correttamente.
STATUS_INVALID_PARAMETER I parametri sono stati convalidati e sono stati determinati in modo che non siano corretti.

Questa funzione potrebbe restituire anche altri valori NTSTATUS.

Fabbisogno

Requisito Valore
client minimo supportato Windows 10
server minimo supportato Windows Server 2016
piattaforma di destinazione Universale
intestazione d3dkmthk.h (include D3dkmthk.h)
libreria Gdi32.lib
dll Gdi32.dll

Vedere anche

D3DKMT_DESTROYALLOCATION2