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. |
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:
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_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
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:
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
AAFRESULT_NULL_PARAM
AAFRESULT_BAD_PROP
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:
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
AAFRESULT_NULLOBJECT
AAFRESULT_NULL_PARAM
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:
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
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pSourceRef | [out] Source Reference |