IltmmDVDControl::PlayForwards

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDControl_PlayForwards(pDVD, Speed)

C++ Syntax

HRESULT PlayForwards(Speed)

 

IltmmDVDControl *pDVD;

/* pointer to an interface */

double Speed;

/* speed */

Plays the DVD forward at the specified speed from the current location.

Parameter

Description

pDVD

Pointer to an IltmmDVDControl interface.

Speed

The playback speed. This is a multiplier value, where 1.0 means the original speed, 2.0 means twice the original speed, and 0.5 means half the original speed.

Returns

S_OK

The function ran successfully.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

This function does not support command synchronization.

For more information on the options available when playing DVDs in LEADTOOLS Multimedia, refer to Playback Options.

For more detailed information, refer to the Microsoft documentation for IDvdControl2::PlayForwards at http://msdn.microsoft.com/archive/default.asp?url=/library/en-us/directshow/htm/idvdcontrol2playforwards.asp.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Elements:

IltmmDVDControl interface, IltmmDVDControl::Pause, IltmmDVDControl::Stop, IltmmDVDControl::Resume, IltmmDVDControl::PlayAtTime, IltmmDVDControl::PlayAtTimeInTitle, IltmmDVDControl::PlayBackwards, IltmmDVDControl::PlayChapter, IltmmDVDControl::PlayChapterInTitle, IltmmDVDControl::PlayChaptersAutoStop, IltmmDVDControl::PlayNextChapter, IltmmDVDControl::PlayPeriodInTitleAutoStop, IltmmDVDControl::PlayPrevChapter, IltmmDVDControl::PlayTitle, IltmmDVDControl::ReplayChapter, IltmmDVDControl::StillOff

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmDVDControl::GetButtonAtPosition Example for C.

For a C++ example, refer to IltmmDVDControl::GetButtonAtPosition Example for C++.