IltmmDVDControl::ShowMenu

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDControl_ShowMenu(pDVD, Menu)

C++ Syntax

HRESULT ShowMenu(Menu)

 

IltmmDVDControl *pDVD;

/* pointer to an interface */

long Menu;

/* menu */

Displays the specified menu, if available.

Parameter

Description

pDVD

Pointer to an IltmmDVDControl interface.

Menu

Value that indicates the menu to display. For a list of possible values, refer to the ltmmDVD_MENU_ID constants.

Returns

S_OK

The function ran successfully.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

This function does not support command synchronization.

For more detailed information, refer to the Microsoft documentation for IDvdControl2::ShowMenu at http://msdn.microsoft.com/archive/default.asp?url=/library/en-us/directshow/htm/idvdcontrol2showmenu.asp.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files You Must Include With Your Application.

See Also

Elements:

IltmmDVDControl interface, IltmmDVDControl::get_DefaultMenuLanguage, IltmmDVDControl::put_DefaultMenuLanguage, IltmmDVDControl::ReturnFromSubmenu

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmDVDControl::GetButtonAtPosition Example for C.

For a C++ example, refer to IltmmDVDControl::GetButtonAtPosition Example for C++.