Skip to main content
IMFByteStreamCacheControl2::IsBackgroundTransferActive method

Queries whether background transfer is active.

Syntax


HRESULT IsBackgroundTransferActive(
  [out]  BOOL *pfActive
);

Parameters

pfActive [out]

Receives the value TRUE if background transfer is currently active, or FALSE otherwise.

Return value

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

Remarks

Background transfer might stop because the cache limit was reached (see IMFByteStreamCacheControl2::SetCacheLimit) or because the IMFByteStreamCacheControl::StopBackgroundTransfer method was called.

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