IWMDRMEventGenerator :: CancelAsyncOperation, méthode

La méthode CancelAsyncOperation annule une opération asynchrone.

Syntaxe

HRESULT CancelAsyncOperation(
  [in] IUnknown *punkCancelationCookie
);

Paramètres

punkCancelationCookie [ dans]

Pointeur vers le cookie d’annulation qui identifie l’opération asynchrone à annuler. Ce cookie est fourni par la méthode utilisée pour démarrer l’opération.

Valeur de retour

Cette méthode retourne un code HRESULT. Les valeurs possibles sont notamment celles figurant dans le tableau suivant.

Code de retour Description
_OK
S_OK

Notes

Aucun.

Spécifications

Condition requise Valeur
En-tête
Wmdrmsdk. h
Bibliothèque
Wmdrmsdk. lib

Voir aussi

Interface IWMDRMEventGenerator