Share via


MSVidWebDVD.ShowMenu Method

Note  This topic applies to Windows XP Service Pack 1 or later.

The ShowMenu method displays the specified menu on the screen.

VidWebDVD.ShowMenu(
   MenuID As DVDMenuIDConstants
)

Parameters

  • MenuID
    Specifies which menu has been enabled or disabled. For a list of possible values, see DVDMenuID Constants.

Return Value

This method does not return a value.

Error Codes

If the property fails, Err.Number may be set to one of the following values.

Value Description
E_UNEXPECTED Unspecified error.
E_INVALIDARG Invalid menu ID number.
VFW_E_DVD_INVALIDDOMAIN Invalid domain for this method.
VFW_E_DVD_OPERATION_INHIBITED UOP control prohibits the operation.

Valid Domains

The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.

Annex J Command Name Valid Domains
Menu_Call All

Remarks

DVD menu names can be somewhat confusing. The Title menu is another name for the Video Manager Menu, the main menu for the entire disc; it generally lists all the video title sets available on the disc. The root menu is the menu for one video title set, which can contain one title or a group of titles. All the titles in a title set share the same Subpicture, Audio, and Angle menus.

Examples

oVidWebDVD.ShowMenu(MenuID)

Requirements

Type Library Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.
DLL Requires Quartz.dll.

See Also

MSVidWebDVD Object

Send comments about this topic to Microsoft

Build date: 12/4/2008