The AVIStreamReadData function reads optional header data from a stream.
STDAPI AVIStreamReadData(
PAVISTREAM pavi,
DWORD ckid,
LPVOID lpData,
LONG * lpcbData
);
Returns zero if successful or an error otherwise. The return value AVIERR_NODATA indicates the system could not find any data with the specified chunk identifier.
This function retrieves only optional header information from the stream. This information is custom and does not have a set format.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Import Library: Use vfw32.lib.
AVIFile Functions and Macros Overview, AVIFile Functions