QMedia Movie preview, poster, and pict commands

QM_GetPreviewTime

QM_GetPreviewTime(movieRef; previewStart; previewDuration):error
movieRef Longint Movie reference
previewStart Longint Preview start point
previewDuration Longint Preview duration
error Longint Error result

Returns the preview time of a movie.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter previewStart receives the starting point of the movie's preview.

Parameter previewDuration receives the duration of the movie's preview.

Both previewStart and previewDuration are expressed in the movie's time scale.

Example

  `Get the preview time of movie $movieRef
 
C_LONGINT($previewStart;$previewDuration)
 
$error:=QM_GetPreviewTime ($movieRef;$previewStart;$previewDuration)
 

Related commands

QM_SetPreviewTime Sets the movie's preview time.
QM_SetTrackUsage Specifies the track's usage in the movie.
QM_GetTrackUsage Returns the track's usage in the movie.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:40:41