The AVIStreamReadFormat function reads the stream format data.
STDAPI AVIStreamReadFormat(
PAVISTREAM pavi,
LONG lPos,
LPVOID lpFormat,
LONG * lpcbFormat
);
Returns zero if successful or an error otherwise.
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