Condividi tramite


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 rilasciare le 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 determinati per essere non corretti.

Questa funzione potrebbe anche restituire altri valori NTSTATUS .

Requisiti

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

Vedi anche

D3DKMT_DESTROYALLOCATION2