This function obtains a list of identifiers of the annotations that are of the type specified by the parameter Annotation_type and are attached to the object identified by its tag, Object_tag, and its reference number, Object_ref.
Result = HDF_AN_ANNLIST(Annotation_id, Annotation_type, Object_tag, Object_ref, Annotation_list)
Returns SUCCEED (0) or FAIL (-1) otherwise.
HDF AN interface identifier returned by HDF_AN_START.
Type of the annotation. Since this routine is implemented only to obtain the identifiers of data annotations and not file annotations, the valid values of Annotation_type are:
HDF tag of the object.
HDF reference number of the object.
A named variable that will contain the annotation identifiers.