ILMDVRSink.GetBufferTotalSize Method

DVR Module How To Examples

 

Syntax

Object.GetBufferTotalSize(FolderIndex As Long, Flags As Long, ByRef Files As Long, ByRef FileSize As Double)

 

Parameter

Description

FolderIndex

The 0-based index of the desired buffer folder.

Flags

Flag specifying how to calculate the total size.
Values can be:

DVRGetTotalSize_Actual = 0x0000

DVRGetTotalSize_Allowed = 0x0001

Files

Total number of files included in the buffer size calculation.

FileSize

The total calculated buffer file size.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

 

Remarks

Gets the total size or actual size of all buffer (.LRC) files for the specified buffer location.

Passes the  flag value DVRGetTotalSize_Allowed to request the total allowable buffer file size OR passes the flag value

DVRGetTotalSize_Actual to request the actual used total file size.

See Also

Functions:

ILMDVRSink.SetBufferSize Method , ILMDVRSink.GetBufferInfo Method

Topics:

Multimedia Properties, Methods and Events , DVR Module Properties, Methods and Events