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: Int32The requested property result value (use BASS_DSHOW_ErrorGetCode to get the error code).
Remarks
Properties:
BASS_DSHOW_DVDTitles | Gets the number of titles from a DVD stream.
nothing: the value parameter should always be 0(zero). |
BASS_DSHOW_DVDTitleChapters | Gets the number of chapters from the title.
title (int): the title ID you want to get the number of chapters from. |
BASS_DSHOW_CurentDVDTitle | Gets 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