Microsoft DirectX 9.0

IStreamBufferConfigure::SetBackingFileDuration

This topic applies to Windows XP Service Pack 1 only.

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

Include Sbe.h.

See Also