LEADTOOLS Multimedia API Help > Add-on Modules > LEADTOOLS MPEG2 Transport Module > LEADTOOLS DVR Components > DVR Component Function References > ILMDVRSource Interface > ILMDVRSource::GetAvailabilityInfo |
#include "ILMDVRSource.h"
C Syntax |
HRESULT ILMDVRSource_GetAvailabilityInfo(pILMDVRSource, pILMDVRSource, pStartOffset, pEndOffset, pTotalSize) |
C++ Syntax |
HRESULT GetAvailabilityInfo(pStartOffset, pEndOffset, pTotalSize) |
ILMDVRSource *pILMDVRSource; |
/* 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 data from the current range of playback.
Parameter |
Description |
pILMDVRSource |
Pointer to an ILMDVRSource interface. |
pStartOffset |
Pointer to a double type that receives the first offset of available video. |
pEndOffset |
Pointer to a double type that receives the last offset of available video. |
pTotalSize |
Pointer to 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
Use this function to get the availability data information for the current playback range.
Required DLLs and Libraries
ILMDVRSource 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 ILMDVRSource::GetAvailabilityInfo Example For C
For a C++ example, refer to ILMDVRSource::GetAvailabilityInfo Example For C++