This interface is an extension to the previously definined TypeDefStream interface. More...
Public Member Functions | |
HRESULT | SetCallback ([in] IAAFPropertyValue *pPropertyValue,[in] IAAFStreamAccess *pCallbackIF,[in] aafMemPtr_t pUserData) |
Sets a callback interface to be called when a stream is written to or read from the file. |
This interface is an extension to the previously definined TypeDefStream interface.
Hence the suffix "Ex" to the name. Additional methods are now included.
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
Objects that implement IAAFTypeDefStreamEx also implement the following interfaces:
HRESULT IAAFTypeDefStreamEx::SetCallback | ( | [in] IAAFPropertyValue * | pPropertyValue, |
[in] IAAFStreamAccess * | pCallbackIF, | ||
[in] aafMemPtr_t | pUserData | ||
) |
Sets a callback interface to be called when a stream is written to or read from the file.
This allows the stream property to be built bottom up.
Succeeds if:
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
pPropertyValue | [in] Issue the callback for this property |
pCallbackIF | [in] Interface of the callback object |
pUserData | [in] Client-specific data passed through to the callback |