AAFA Developer Support

Public Member Functions
IAAFTypeDefStreamEx Interface Reference

This interface is an extension to the previously definined TypeDefStream interface. More...

List of all members.

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.

Detailed Description

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:

Definition at line 51307 of file AAF.idl.


Member Function Documentation

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:

  • Initialize() has already been called on this object.
  • pPropertyValue pointer is valid.
  • pCallbackIF pointer is valid.
  • pUserData 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_NULL_PARAM

  • either pPropertyValue or pCallbackIF or pUserData arg is NULL.
Parameters:
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

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