Share via


MSVidWebDVD.ButtonsAvailable Property

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

The ButtonsAvailable property retrieves the total number of buttons on the current menu.

VidWebDVD.ButtonsAvailable As Long

Parameters

This property takes no parameters.

Return Value

When getting the value, this property returns a Long representing the number of buttons.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
E_NO_IDVD2_PRESENT Unspecified internal error.
E_NO_DVD_VOLUME No DVD available.
E_REGION_CHANGE_FAIL The DVD has the wrong region code for this machine.

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
Button_Select DVD_DOMAIN_VideoManagerMenu

DVD_DOMAIN_VideoTitleSetMenu

DVD_DOMAIN_Title

Remarks

This property is read-only. The buttons checked by this method are the DVD's onscreen buttons, not the surrounding HTML page or form buttons.

Examples

' Returning the property.
Long = VidWebDVD.ButtonsAvailable

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