IStreamBufferConfigure::SetBackingFileDuration Method
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(
[in] DWORD dwSeconds
);
Parameters
- dwSeconds [in]
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
Header | Declared in Sbe.h. |
See Also
IStreamBufferConfigure Interface
Send comments about this topic to Microsoft
Build date: 12/4/2008