IMFByteStreamBuffering::StopBuffering Method

Stops any buffering that is in progress.

Syntax

public:
HRESULT StopBuffering()  

Return value

Type: HRESULT 

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codes
Return code Description
S_OK The byte stream successfully stopped buffering.
S_FALSE No buffering was in progress.

Refer to Media Foundation return codes.

Remarks

If the byte stream is currently buffering data, it stops and sends an MEBufferingStopped event. If the byte stream is not currently buffering, this method has no effect.

Requirements

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.