Fonction MFRemovePeriodicCallback (mfapi.h)

Annule une fonction de rappel qui a été définie par la fonction MFAddPeriodicCallback .

Syntaxe

HRESULT MFRemovePeriodicCallback(
  [in] DWORD dwKey
);

Paramètres

[in] dwKey

Clé qui identifie le rappel. Cette valeur est récupérée par la fonction MFAddPeriodicCallback .

Valeur retournée

La fonction retourne un HRESULT. Les valeurs possibles sont notamment celles figurant dans le tableau suivant.

Code de retour Description
S_OK
La fonction a réussi.

Notes

Le rappel est distribué sur un autre thread, et cette fonction n’essaie pas de se synchroniser avec le thread de rappel. Par conséquent, il est possible que le rappel soit appelé après le retour de cette fonction.

Spécifications

   
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
Plateforme cible Windows
En-tête mfapi.h
Bibliothèque Mfplat.lib
DLL Mfplat.dll

Voir aussi

Fonctions Media Foundation

Files d’attente de travail