BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_DVDChannelMenu Method BASS.NET API for the Un4seen BASS Audio Library
Sets DVD MENU options.

Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[DllImportAttribute("xVideo.dll", EntryPoint = "xVideo_DVDChannelMenu", 
	CharSet = CharSet.Auto)]
public static bool BASS_DSHOW_DVDChannelMenu(
	int handle,
	BASSDSHOWDVDMenu option,
	int value1,
	int value2
)

Parameters

handle
Type: SystemInt32
The DVD stream handle (as returned by BASS_DSHOW_StreamCreateDVD(String, IntPtr, BASSFlag)).
option
Type: Un4seen.Bass.AddOn.DShowBASSDSHOWDVDMenu
One of the BASSDSHOWDVDMenu values.
value1
Type: SystemInt32
The 1st value to set (see remarks below).
value2
Type: SystemInt32
The 2nd value to set (see remarks below).

Return Value

Type: Boolean
If an error occurred then is returned, else is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks

See the BASSDSHOWDVDMenu options to know what parameters apply to value1 and value2.

Menu Options:

BASS_DSHOW_DVDSelectAtPosSelect MENU from point.

value1 parameter should be the x coordonate.

value2 parameter should be the y coordonate.

BASS_DSHOW_DVDActionAtPosActivate Button from point.

value1 parameter should be the x coordonate.

value2 parameter should be the y coordonate.

BASS_DSHOW_DVDActivateButtonHandle the enter key event.

value1 parameter is ignored (should be 0).

value2 parameter is ignored (should be 0).

BASS_DSHOW_DVDSelectButtonHandle the arrow key events.

value1: 0=VK_LEFT, -1=VK_RIGHT, -2=VK_UP, -3=VK_DOWN.

value2 parameter is ignored (should be 0).

See Also

Reference