IMFByteStreamBuffering::SetBufferingParams Method

Sets the buffering parameters.

Syntax

public:
HRESULT SetBufferingParams(
         MFBYTESTREAM_BUFFERING_PARAMS *pParams
)  

Parameters

pParams
Type: MFBYTESTREAM_BUFFERING_PARAMS *

[in]

Pointer to an MFBYTESTREAM_BUFFERING_PARAMS structure that contains the buffering parameters. The byte stream uses this information to calculate how much data to buffer from the network.

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 method succeeded.

Refer to Media Foundation return codes.

Requirements

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.