amfIMovie GetMarkerHandleByIndex

Gets a handle to the specified marker, to be used to access the APIs available to markers.

Syntax

movie_handle GetMarkerHandleByIndex marker_handle idx

Application

Tcl Query

Description

Returns a handle to the specified marker.

Inputs

marker_handle
The name to be assigned to the returned handle.
idx
The index (1-based) of the marker in the video specified by the video_handle.

Example

video_handle GetMarkerHandleByIndex marker_handle 1

Error

Standard hwResult error codes:
  • 1 = HW_Error
  • 3 = HW_InvalidHandle
  • 4 = HW_InvalidArgs