Enables or disables buffering.
public:
HRESULT EnableBuffering(
BOOL fEnable
)
fEnable
Type: BOOLÂ
Specifies whether the byte stream buffers data. If TRUE, buffering is enabled. If FALSE, buffering is disabled.
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 method succeeded. |
Refer to Media Foundation return codes.
Before calling this method, call IMFByteStreamBuffering::SetBufferingParams to set the buffering parameters on the byte stream.
Header: Declared in mfidl.h.
Library: Use mfuuid.lib.