OpenDVD
Delphi
function OpenDVD: Boolean;
C++Builder
bool __fastcall OpenDVD();
C#
public bool OpenDVD();
VB.NET
Public Function OpenDVD() As Boolean
C++/Qt
BOOL OpenDVD ();
Opens a DVD in playback mode. If DVDTitle = 0, the DVD menu appears when the DVD playback opens. To directly start the playback of a DVD title, set DVDTitle to the number of the title.
The VIDEO_TS folder of the DVD is specified with PlayerFileName. E.g. the following code opens the DVD menu:
VideoGrabber.PlayerFileName = "D:\VIDEO_TS"
VideoGrabber.DVDTitle = 0
VideoGrabber.OpenDVD ()
The following code directly starts playing the 1st title:
VideoGrabber.PlayerFileName = "E:\VIDEO_TS"
VideoGrabber.DVDTitle = 1
VideoGrabber.OpenDVD ()