Microsoft DirectX 9.0

MSVidWebDVD.ButtonsAvailable Property

This topic applies to Windows XP Service Pack 1 only.

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

Syntax

VidWebDVD.ButtonsAvailable As Long

Parameters

This property takes no parameters.

Return Values

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.

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.

Example

' Returning the property.
Long = VidWebDVD.ButtonsAvailable

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

See Also