ILMDVRSource.GetBufferInfo Method
Object.GetBufferInfo(BufferIndex As Long, ByRef FileName As String, ByRef UsefulSize As Double, ByRef FileSize As Double, ByRef PlayIndex As Long, ByRef Flags As Long) |
Parameter |
Description |
BufferIndex |
The 0-based index of the buffer file for which to get information. |
FileName |
A pointer to a string type that will receive the filename of the related buffer recording file. |
UsefulSize |
A pointer to a double type that will receive the used file size of the current recording chunk file. |
FileSize |
A pointer to a double type that will receive the physical file size of the current recording chunk file. |
PlayIndex |
A pointer to a long type that will receive the index in playing order (the first index might not be 0, but all files should have sequential and incrementing indexes after the first index value). |
Flags |
A pointer to a long type that will receive a DVRBufferFlagConstant setting. Value can be: DVRBuffer_Empty = 0x0001, DVRBuffer_Writing = 0x0002, DVRBuffer_Finished = 0x0004
|
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.
E_INVALIDARG Buffer index supplied is outside the range of currently valid indexes. LTMM_E_DVR_NO_RECORDINGS No .LRC recording files exist. E_OUTOFMEMORY A memory allocation error occurred. Either the number of files or file size specified is not valid.
|
Remarks
Gets the DVRSource Buffer information associated with the specified buffer file index.
See Also
Functions: |
|
Topics: |
Multimedia Properties, Methods and Events , DVR Module Properties, Methods and Events |