|Microsoft DirectX 9.0|
This topic applies to Windows XP Service Pack 1 only.
The GetBackingFileCount method retrieves the maximum and minimum number of backing files.
HRESULT GetBackingFileCount( DWORD* pdwMin, DWORD* pdwMax );
[out] Pointer to a variable that receives the backing file minimum.
[out] Pointer to a variable that receives the backing file maximum.
Returns an HRESULT. Possible values include those in the following table.
|S_OK||The method succeeded.|
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.