次の方法で共有


IStreamBufferConfigure::GetBackingFileCount 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 GetBackingFileCount method retrieves the maximum and minimum number of backing files.

Syntax

HRESULT GetBackingFileCount(
  [out] DWORD *pdwMin,
  [out] DWORD *pdwMax
);

Parameters

[out] pdwMin

Pointer to a variable that receives the backing file minimum.

[out] pdwMax

Pointer to a variable that receives the backing file maximum.

Return value

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

Return code Description
S_OK
The method succeeded.

Remarks

If the reader lags behind the writer by more than pdwMin files, the writer starts to send STREAMBUFFER_EC_CONTENT_BECOMING_STALE events. If the reader lags behind the writer by more than pdwMax files, the writer begins to overwrite files and sends an STREAMBUFFER_EC_STALE_FILE_DELETED event.

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