Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMFByteStreamCacheControl2::GetByteRanges method

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

pcRanges [out]

Receives the number of ranges returned in the ppRanges array.

ppRanges [out]

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

Mfidl.h

See also

IMFByteStreamCacheControl2

 

 

Show:
© 2017 Microsoft