Skip to main content
IMFByteStreamCacheControl2::SetCacheLimit method

Limits the cache size.

Syntax


HRESULT SetCacheLimit(
  [in]  QWORD qwBytes
);

Parameters

qwBytes [in]

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

None supported [desktop apps | Windows Store apps]

Header

Mfidl.h

See also

IMFByteStreamCacheControl2