ILMDVRSink::GetAvailabilityInfo

#include "ILMDVRSink.h"

C Syntax

HRESULT ILMDVRSink__GetAvailabilityInfo(pILMVDRSink, pStartOffset, pEndOffset, pTotalSize)

C++ Syntax

HRESULT GetAvailabilityInfopStartOffset, pEndOffset, pTotalSize)

 

ILMDVRSink *pILMDVRSink ;

/* pointer to an interface */

double * pStartOffset;

/* pointer to start offset */

double * pEndOffset;

/* pointer to ending offset */

double * pTotalSize;

/* pointer to total size available */

Gets the availability information for the current playback range data.

Parameter

Description

pILMDVRSink

Pointer to an ILMDVRSink interface.

pStartOffset

A pointer to a double type that receives the first offset of available video.

pEndOffset

A pointer to a double type that receives the last offset of available video.

pTotalSize

Total size of all video data available.

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.

Comments

This function gets the availability information for the current playback range data. The values returned indicate the starting and ending positions of the currently buffered data on disk.

Required DLLs and Libraries

LTMDVRSink

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Elements:

ILMDVRSink::GetStatus, ILMDVRSink::GetBufferInfo,

Topics:

Multimedia Function Group, DVR Function Groups, Introduction to the LEADTOOLS DVR Module, DVR Module FAQs, LEAD DVR Sink Filter, Accessing the DVR Sink Object,How to Use the DVR Sink Object to Control Capture Buffer Settings (C++), How to Set Capture Buffers on More Than One Physical Disk, How to Copy Buffered DVR Data to a New File

Example

For a C example, refer to ILMDVRSink__GetAvailabilityInfo Example for C

For a C++ example, refer to ILMDVRSink::GetAvailabilityInfo Example for C++