Stops any buffering that is in progress.
public:
HRESULT StopBuffering()
Type: HRESULTÂ
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
| S_OK | The byte stream successfully stopped buffering. |
| S_FALSE | No buffering was in progress. |
Refer to Media Foundation return codes.
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.
Header: Declared in mfidl.h.
Library: Use mfuuid.lib.