Fonction D3DKMTDestroyAllocation (d3dkmthk.h)

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

Syntaxe

NTSTATUS D3DKMTDestroyAllocation(
  [in] const D3DKMT_DESTROYALLOCATION *unnamedParam1
);

Paramètres

[in] unnamedParam1

Pointeur vers une structure D3DKMT_DESTROYALLOCATION qui contient des informations pour libérer des allocations.

Valeur retournée

D3DKMTDestroyAllocation 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 Vista
Plateforme cible Universal
En-tête d3dkmthk.h (include D3dkmthk.h)
Bibliothèque Gdi32.lib
DLL Gdi32.dll

Voir aussi

D3DKMT_DESTROYALLOCATION