AAFA Developer Support

Main Page | Class List | File List | Class Members | File Members

IAAFCommentMarker Interface Reference

List of all members.

Detailed Description

The IAAFCommentMarker interface is implemented by objects which represent a user comment associated with a point in time.

A CommentMarker may have a SourceReference that specifies a text or audio annotation.

In addition to the specific error results listed for each method, all methods in this interface may also return one of the following values:

AAFRESULT_NOMEMORY

AAFRESULT_NOT_INITIALIZED

Objects that implement IAAFCommentMarker also implement the following interfaces:

Definition at line 1216 of file AAF.idl.

Public Member Functions

HRESULT GetAnnotation ([out, retval] IAAFSourceReference **ppResult)
 This method will get the annotation for this comment marker and place an interface for it into the **ppResult argument.
HRESULT SetAnnotation ([in] IAAFSourceReference *pAnnotation)
 This method will set the Annotation for this comment marker.


Member Function Documentation

HRESULT IAAFCommentMarker::GetAnnotation [out, retval] IAAFSourceReference **  ppResult  ) 
 

This method will get the annotation for this comment marker and place an interface for it into the **ppResult argument.

Succeeds if all of the following are true:

  • the pResult pointer is valid.

If this method fails nothing will be written to *pResult.

This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:

AAFRESULT_SUCCESS

  • succeeded. (This is the only code indicating success.)

AAFRESULT_NULL_PARAM

  • pResult arg is NULL.

Parameters:
ppResult [out,retval] Annotation property value

HRESULT IAAFCommentMarker::SetAnnotation [in] IAAFSourceReference pAnnotation  ) 
 

This method will set the Annotation for this comment marker.

If this method fails no state will be changed.

This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:

AAFRESULT_SUCCESS

  • succeeded. (This is the only code indicating success.)

Parameters:
pAnnotation [in] Annotation property value


Generated on Thu Feb 17 09:34:13 2005 for AAF COM API by doxygen 1.4.1