IMFByteStreamCacheControl2::SetCacheLimit method (mfidl.h)

Limits the cache size.

Syntax

HRESULT SetCacheLimit(
  [in] QWORD qwBytes
);

Parameters

[in] qwBytes

The maximum number of bytes to store in the cache, or ULONGLONG_MAX for no limit. The default value is no limit.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header mfidl.h

See also

IMFByteStreamCacheControl2