Fonction D3DKMTDestroyAllocation2 (d3dkmthk.h)

La fonction D3DKMTDestroyAllocation2 libère une ressource, une liste d’allocations ou les deux.

Syntaxe

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

Paramètres

[in] unnamedParam1

Pointeur vers une structure de D3DKMT_DESTROYALLOCATION2 qui contient des informations pour libérer les allocations.

Valeur retournée

D3DKMTDestroyAllocation2 retourne l’une des valeurs suivantes :

Code de retour Description
STATUS_SUCCESS Les allocations ont été libérées avec succès.
STATUS_INVALID_PARAMETER Les paramètres ont été validés et déterminés comme incorrects.

Cette fonction peut également retourner d’autres valeurs NTSTATUS .

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 10
Serveur minimal pris en charge Windows Server 2016
Plateforme cible Universal
En-tête d3dkmthk.h (inclure D3dkmthk.h)
Bibliothèque Gdi32.lib
DLL Gdi32.dll

Voir aussi

D3DKMT_DESTROYALLOCATION2