BASS.NET API for the Un4seen BASS Audio LibraryBassDShowBASS_DSHOW_DVDGetProperty Method BASS.NET API for the Un4seen BASS Audio Library
Gets DVD properties.

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

[DllImportAttribute("xVideo", EntryPoint = "xVideo_DVDGetProperty")]
public static int BASS_DSHOW_DVDGetProperty(
	int handle,
	BASSDSHOWDVDGetProperty prop,
	int value
)

Parameters

handle
Type: SystemInt32
The DVD stream handle (as returned by BASS_DSHOW_StreamCreateDVD(String, IntPtr, BASSFlag)).
prop
Type: Un4seen.Bass.AddOn.DShowBASSDSHOWDVDGetProperty
One of the BASSDSHOWDVDGetProperty values.
value
Type: SystemInt32
The value to get (see remarks below).

Return Value

Type: Int32
The requested property result value (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks

See the BASSDSHOWDVDGetProperty options to know what parameters apply to value.

Properties:

BASS_DSHOW_DVDTitlesGets the number of titles from a DVD stream.

nothing: the value parameter should always be 0(zero).

BASS_DSHOW_DVDTitleChaptersGets the number of chapters from the title.

title (int): the title ID you want to get the number of chapters from.

BASS_DSHOW_CurentDVDTitleGets either the current title duration or position.

flag (int): use either the BASS_DSHOW_DVDCurrentTitleDuration or the BASS_DSHOW_DVDCurrentTitlePosition as the 'value' parameter.

BASS_DSHOW_DVDCurrentTitleDuration: gets the current title duration.

BASS_DSHOW_DVDCurrentTitlePosition: gets the current title position.

See Also

Reference