The IAAFCommentMarker interface is implemented by objects which represent a user comment associated with a point in time. More...
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. |
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:
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:
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
AAFRESULT_NULL_PARAM
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
pAnnotation | [in] Annotation property value |