LEADTOOLS Multimedia API Help > LEADTOOLS Multimedia Features > Multimedia Function References > IltmmDVDChapter > IltmmDVDChapter::get_Duration |
The name for each individual video file on a DVD. For example, under the title "Water Skiing", you might have the chapters "My first try," "My first wreck," and "My first jump."
#include "ltmm.h"
C Syntax |
HRESULT IltmmDVDChapter_get_Duration(pDVDChapter, pVal) |
C++ Syntax |
HRESULT get_Duration(pVal) |
IltmmDVDChapter *pDVDChapter; |
/* pointer to an interface */ |
double * pVal; |
/* pointer to a variable */ |
Gets the chapter duration in seconds.
Parameter |
Description |
pDVDChapter |
Pointer to an IltmmDVDChapter interface. |
pVal |
Pointer to a variable to be updated with the chapter duration in seconds. |
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 property will return the chapter duration in seconds.
Required DLLs and Libraries
LTMM 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
Functions: |
IltmmDVDChapter::put_Selected, IltmmDVDChapter::get_Selected |
Topics: |
Example
For a C example, refer to DVD Source for C.
For a C++ example, refer to DVD Source for C++.