Partager via


Méthode IMFByteStreamCacheControl2 ::SetCacheLimit (mfidl.h)

Limite la taille du cache.

Syntaxe

HRESULT SetCacheLimit(
  [in] QWORD qwBytes
);

Paramètres

[in] qwBytes

Nombre maximal d’octets à stocker dans le cache ou ULONGLONG_MAX sans limite. La valeur par défaut n’est pas de limite.

Valeur retournée

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
Client minimal pris en charge Windows 8 [applications de bureau | Applications UWP]
Serveur minimal pris en charge Aucun pris en charge
Plateforme cible Windows
En-tête mfidl.h

Voir aussi

IMFByteStreamCacheControl2