This interface is used by the toolkit. More...
Public Member Functions | |
HRESULT | WriteStream ([in] IAAFPropertyValue *propertyValue,[in] aafMemPtr_t pUserData) |
This method is called back by the AAF toolkit when a previously defined stream property is actually being written, so that you may write the data. |
This interface is used by the toolkit.
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
HRESULT IAAFStreamAccess::WriteStream | ( | [in] IAAFPropertyValue * | propertyValue, |
[in] aafMemPtr_t | pUserData | ||
) |
This method is called back by the AAF toolkit when a previously defined stream property is actually being written, so that you may write the data.
IAAFTypeDef *pTypeDef; IAAFTypeDefStream *pTypeDefStream;
propertyValue->GetType(&pTypeDef)); pTypeDef->QueryInterface(IID_IAAFTypeDefStream,(void **)&pTypeDefStream)); pTypeDefStream->Write(pStreamPropertyValue, ...);
propertyValue | [in] One which will this data be written |
pUserData | [in] A client-supplied pointer used to extract the data |