Note that this and the IAAFSetFileBits interfaces are different than the IAAFRawStorage interfaces in that those are implemented by clients to provide access to the desired media; these are provided by the toolkit to provide read OR write (but not both simultaneously) access to the raw bits.
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
Definition at line 33497 of file AAF.idl.
Public Member Functions | |
| HRESULT | ReadAt ([out, size_is(bufSize)] aafMemPtr_t buf,[in] aafUInt32 bufSize,[in] aafUInt64 position) |
| Attempts to read bufsize bytes from this stream at the given byte offset. | |
| HRESULT | GetSize ([out] aafUInt64 *pSize) |
| Returns the size of this file, in bytes, in *pSize. | |
|
|
Returns the size of this file, in bytes, in *pSize. 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
|
|
||||||||||||||||
|
Attempts to read bufsize bytes from this stream at the given byte offset. Places the data into buf. Any attempt to read beyond the size of this file, as reported by GetSize(), will be considered an error. A value of zero for position indicates the beginning of the stream. 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
AAFRESULT_OFFSET_SIZE
|
1.4.1