IStreamBufferConfigure::SetBackingFileCount 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 SetBackingFileCount method sets the maximum and minimum number of backing files.
Syntax
HRESULT SetBackingFileCount(
[in] DWORD dwMin,
[in] DWORD dwMax
);
Parameters
[in] dwMin
Specifies the backing file minimum. The valid range is from 4 to 100.
[in] dwMax
Specifies the backing file maximum. The valid range is from 6 to 102, and the value must be at least 2 greater than dwMin.
Return value
Returns an HRESULT. Possible values include those in the following table.
Return code | Description |
---|---|
|
The StreamBufferConfig object was not initialized. |
|
The method succeeded. |
Remarks
If the reader lags behind the writer by more than dwMin files, the writer starts to send STREAMBUFFER_EC_CONTENT_BECOMING_STALE events. If the reader lags behind the writer by more than dwMax files, the writer begins to overwrite files and sends an STREAMBUFFER_EC_STALE_FILE_DELETED event.
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 |