Export (0) Print
Expand All

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 [desktop apps | Windows Store apps]

Header

Mfidl.h

See also

IMFByteStreamCacheControl2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft