#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.
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. |
Win32, x64
See Also
Example
For a C example, refer to IltmmDVDControl::GetButtonAtPosition Example for C.
For a C++ example, refer to IltmmDVDControl::GetButtonAtPosition Example for C++.