Share via


IStreamBufferConfigure::SetBackingFileDuration

 
Microsoft DirectShow 9.0

IStreamBufferConfigure::SetBackingFileDuration

This topic applies only to Windows XP Service Pack 1 or later.

The SetBackingFileDuration method sets the duration of all backing files.

Syntax

  HRESULT SetBackingFileDuration(
  DWORD  dwSeconds
);

Parameters

dwSeconds

[in]  Specifies the file duration, in seconds. The minimum value is 15.

Return Values

Returns an HRESULT. Possible values include those in the following table.

Value Description
E_UNEXPECTED The StreamBufferConfig object was not initialized.
S_OK The method succeeded.

Remarks

Before calling this method, call IStreamBufferInitialize::SetHKEY to specify a registry key where the information will be stored.

Requirements

Header: Include Sbe.h.

See Also