LEADTOOLS Multimedia API Help > Add-on Modules > LEADTOOLS MPEG2 Transport Module > LEADTOOLS DVR Components > DVR Component Function References > ILMDVRSink Interface > 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. |
Win32, x64
See Also
Example
For a C example, refer to ILMDVRSink::GetAvailabilityInfo Example for C
For a C++ example, refer to ILMDVRSink::GetAvailabilityInfo Example for C++