IMFByteStreamCacheControl2::GetByteRanges method (mfidl.h)
Gets the ranges of bytes that are currently stored in the cache.
Syntax
HRESULT GetByteRanges(
[out] DWORD *pcRanges,
[out] MF_BYTE_STREAM_CACHE_RANGE **ppRanges
);
Parameters
[out] pcRanges
Receives the number of ranges returned in the ppRanges array.
[out] ppRanges
Receives an array of MF_BYTE_STREAM_CACHE_RANGE structures. Each structure specifies a range of bytes stored in the cache. The caller must free the array by calling CoTaskMemFree.
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 |