The AVIFileReadData function reads optional header data that applies to the entire file, such as author or copyright information.
STDAPI AVIFileReadData(
PAVIFILE pfile,
DWORD ckid,
LPVOID lpData,
LONG * lpcbData
);
Returns zero if successful or an error otherwise. The return value AVIERR_NODATA indicates that data with the requested chunk identifier does not exist.
The optional header 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