ILTDvdWriter::GetMenuTitle

#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 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. 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
DSKernel

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

Platforms

Win32, x64

See Also

Functions:

ILTDvdWriter::AddMenuTitle, ILTDvdWriter::RemoveMenuTitle, ILTDvdWriter::RemoveAllMenuTitles, ILTDvdWriter::get_MenuTitleCount

Topics:

Video Streaming Function Groups, Multimedia Function Group, DVD Function Groups, The LEAD DVD Writer and Menus Titles and Chapters

Example

For a C example, refer to Creating DVD Images for C.

For a C++ example, refer to Creating DVD Images for C++.