Share via


IStreamBufferConfigure::SetBackingFileDuration method (sbe.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The SetBackingFileDuration method sets the duration of all backing files.

Syntax

HRESULT SetBackingFileDuration(
  [in] DWORD dwSeconds
);

Parameters

[in] dwSeconds

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

Return value

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

Return code 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

Requirement Value
Minimum supported client Windows�XP with SP1 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sbe.h

See also

IStreamBufferConfigure Interface