LEADTOOLS Multimedia API Help > Add-on Modules > LEADTOOLS DVD Module > DVD Module Function References > ILTDvdWriter Interface > IltDvdWriter::GetMenuTitle |
The name for a group of related video files (called "Chapters") on your DVD. For example, for a DVD called "My Summer Vacation," you might have the titles "Water Skiing," "New Friends," and "Hiking." For each of those titles, you might have one or more different video files.
#include "ILTDvdWriter2.h"
C Syntax |
HRESULT ILTDvdWriter_getMenuTitle(pDVDWriter, Index, pVal) |
C++ Syntax |
HRESULT GetMenuTitle(Index, pVal) |
ILTDvdWriter *pDVDWriter; |
/* pointer to an interface */ |
long Index; |
/* title index */ |
BSTR *pVal; |
/* pointer to a string */ |
Retrieves the text of the menu title at the specified index.
Parameter |
Description |
pDVDWriter |
Pointer to an ILTDvdWriter interface. |
Index |
A zero-based index of the title for which to retrieve the text. |
pVal |
Pointer to a character string to be updated with the text of the menu title at the specified index. |
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
If the function succeeds, the user is responsible for freeing the retrieved title string by calling SysFreeString.
Required DLLs and Libraries
LTDVDWRT 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 Creating DVD Images for C.
For a C++ example, refer to Creating DVD Images for C++.