amfIMovie GetMarkerHandle (deprecated)

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

Syntax

movie_handle GetMarkerHandlemarker_handle idx

Description

This command is deprecated and has been replaced with amfIMovie GetMarkerHandleByID and amfIMovie GetMarkerHandleByIndex.

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 video_handle.

Example

video_handle GetMarkerHandle marker_handle 1

Error

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