IAVIStream
The IAVIStream interface supports creating and manipulating data streams within a file. Uses IUnknown::QueryInterface, IUnknown::AddRef, IUnknown::Release in addition to the following custom methods:
Method | Description |
Create | Initializes a stream handler that is not associated with any file. |
Delete | Deletes data from a stream. |
Info | Fills and returns an AVISTREAMINFO structure with information about a stream. |
FindSample | Obtains the position in a stream of a key frame or a nonempty frame. |
Read | Reads data from a stream and copies it to an application-defined buffer. |
ReadData | Reads data headers, format data, or nonaudio and nonvideo data. (Use the Read method to read audio and video data.) |
ReadFormat | Obtains format information from a stream. |
SetFormat | Sets format information in a stream. |
Write | Writes data to a stream. |
WriteData | Writes data headers, format data, or nonaudio and nonvideo data. (Use the Write method to write audio and video data.) |
Requirements
** Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
** Windows 95/98/Me:** Included in Windows 95 and later.
** Header:** Declared in Vfw.h.
** Library:** Use Vfw32.lib.
See Also
Custom File and Stream Handlers, Custom File and Stream Handler Interfaces