AAFA Developer Support

Public Member Functions
IAAFFindSourceInfo Interface Reference

List of all members.

Public Member Functions

HRESULT GetMob ([out] IAAFMob **ppMob)
 This function returns the mob found by the function which generated this IAAFFindSourceInfo as a result.
HRESULT GetSourceReference ([out] aafSourceRef_t *pSourceRef)
 This function returns the source reference found by the function which generated this IAAFFindSourceInfo as a result.
HRESULT GetLength ([retval][out] aafLength_t *pLength)
 Gets the length of this component.
HRESULT GetEditRate ([out, retval] aafRational_t *pEditRate)
 This method will get the edit rate for this result.

Detailed Description

Definition at line 10700 of file AAF.idl.


Member Function Documentation

HRESULT IAAFFindSourceInfo::GetEditRate ( [out, retval] aafRational_t *  pEditRate)

This method will get the edit rate for this result.

Succeeds if all of the following are true:

  • the pEditRate pointer is valid.

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_NOT_INITIALIZED

  • This object has not yet had Initialize() called on it.

AAFRESULT_NULL_PARAM

  • pEditRate arg is NULL.
Parameters:
pEditRate[out,retval] Edit rate property value
HRESULT IAAFFindSourceInfo::GetLength ( [out] aafLength_t *  pLength)

Gets the length of this component.

This function returns the duration in edit units of the result.

Succeeds if all of the following are true:

  • the pLength pointer is valid.
  • the optional length property is present for this object.

This method deals with an optional property, which will only be present for time-varying media.

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

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

  • pLength arg is NULL.

AAFRESULT_BAD_PROP

  • the optional length property is not present for this object.
Parameters:
pLength[retval][out] Length of this component
HRESULT IAAFFindSourceInfo::GetMob ( [out] IAAFMob **  ppMob)

This function returns the mob found by the function which generated this IAAFFindSourceInfo as a result.

Succeeds if all of the following are true:

  • the ppMob pointer is valid.

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

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_NULLOBJECT

  • There is no valid mob referenced

AAFRESULT_NULL_PARAM

  • ppMob arg is NULL.
Parameters:
ppMob[out] The final media object referenced
HRESULT IAAFFindSourceInfo::GetSourceReference ( [out] aafSourceRef_t *  pSourceRef)

This function returns the source reference found by the function which generated this IAAFFindSourceInfo as a result.

Note: the 3 properties that make up the "source reference" are sourceID, sourceTrackID, and startTime.

Succeeds if all of the following are true:

  • This object has already been Initialize()d.
  • the pSourceRef pointer is valid.

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

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_NOT_INITIALIZED

  • This object has not yet had Initialize() called on it.

AAFRESULT_NULL_PARAM

  • pSourceRef arg is NULL.
Parameters:
pSourceRef[out] Source Reference

Generated on Wed Jul 4 2012 22:13:28 for AAF COM API by doxygen 1.7.4