ID3DDestructionNotifier::UnregisterDestructionCallback, méthode (d3dcommon.h)

Annule l’inscription d’un rappel qui a été inscrit auprès de RegisterDestructionCallback.

Syntaxe

HRESULT UnregisterDestructionCallback(
  UINT callbackID
);

Paramètres

callbackID

Type : UINT

UINT qui a été créé par l’argument pCallbackID à ID3DDestructionNotifier::RegisterDestructionCallback.

Valeur retournée

Type : HRESULT

Si cette fonction réussit, elle retourne S_OK.

Configuration requise

   
Plateforme cible Windows
En-tête d3dcommon.h

Voir aussi

ID3DDestructionNotifier

ID3DDestructionNotifier::RegisterDestructionCallback