D3DKMTOfferAllocations, fonction (d3dkmthk.h)

Offre des allocations de mémoire vidéo à réutiliser.

Syntaxe

NTSTATUS D3DKMTOfferAllocations(
  [in] const D3DKMT_OFFERALLOCATIONS *unnamedParam1
);

Paramètres

[in] unnamedParam1

Pointeur vers une structure de D3DKMT_OFFERALLOCATIONS qui définit les allocations de mémoire que le pilote propose à réutiliser.

Valeur retournée

Renvoie l'une des valeurs suivantes :

Code de retour Description
STATUS_SUCCESS Les allocations ont été offertes avec succès.
STATUS_DEVICE_REMOVED La carte graphique a été arrêtée ou le périphérique d’affichage a été réinitialisé.
STATUS_INVALID_PARAMETER Les paramètres ont été validés et déterminés comme incorrects.

Configuration requise

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

Voir aussi

D3DKMTReclaimAllocations

D3DKMT_OFFERALLOCATIONS