Freigeben über


IMFByteStreamBuffering::EnableBuffering Method

Enables or disables buffering.

Syntax

HRESULT EnableBuffering(
  [in]  BOOL fEnable
);

Parameter

  • fEnable [in]
    Specifies whether the byte stream buffers data. If TRUE, buffering is enabled. If FALSE, buffering is disabled.

Rückgabewert

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

Rückgabecode Beschreibung
S_OK

The method succeeded.

 

Hinweise

Before calling this method, call IMFByteStreamBuffering::SetBufferingParams to set the buffering parameters on the byte stream.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mfidl.h

Bibliothek

Mfuuid.lib

Siehe auch

IMFByteStreamBuffering