_t_AIPluginStream Struct Reference
This structure allows a plug-in to implement a stream by supplying the stream methods.
More...
#include <AIDataFilter.h>
List of all members.
Detailed Description
This structure allows a plug-in to implement a stream by supplying the stream methods.
A method can be NULL
. If a null method is invoked, the calling function returns kDataFilterErr
.
Member Data Documentation
Marks the current position in a stream.
- Parameters:
-
| stream | The stream. |
| count | [out] A buffer in which to return the offset into the stream. |
Reads data from a stream.
Reads up to count
bytes into buffer
, returning the number of bytes that were read.
- Parameters:
-
| stream | The stream. |
| buffer | [out] A buffer in which to return the data. |
| count | [in, out] A pointer to the maximum number of bytes to read. Returns the number of bytes actually read. |
Seeks to a position in a stream.
- Parameters:
-
| stream | The stream. |
| count | The offset into the stream. |
Terminates a stream.
- Parameters:
-
Writes data to a stream.
- Parameters:
-
| stream | The stream. |
| buffer | A buffer containing the data. |
| count | The number of bytes in buffer . |
The documentation for this struct was generated from the following file: