ILMDVRSource.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 index of the desired buffer folder.

Flags

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

DVRGetTotalSize_Actual = 0x0000

DVRGetTotalSize_Allowed = 0x0001

Files

Pointer to total number of files included in the buffer size calculation.

FileSize

Pointer to 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.

Pass flag value DVRGetTotalSize_Allowed to request the total allowable buffer file size OR pass flag value

DVRGetTotalSize_Actual to request the actual used total file size.

See Also

Functions:

ILMDVRSource.GetBufferInfo Method

Topics:

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