AVIStreamDataSize

The AVIStreamDataSize macro determines the buffer size, in bytes, needed to retrieve optional header data for a specified stream.

AVIStreamDataSize(
  pavi,  
  fcc,   
  plSize 
);

Parameters

pavi

Handle to an open stream.

fcc

Four-character code specifying the stream type.

plSize

Address to contain the buffer size for the optional header data.

Return Values

Returns zero if successful or an error otherwise. The return value AVIERR_NODATA indicates the system could not find any data with the specified four-character code.

Remarks

The AVIStreamDataSize macro is defined as follows:

#define AVIStreamDataSize(pavi, fcc, plSize) \ 
    AVIStreamReadData(pavi, fcc, NULL, plSize) 
 

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.

See Also

AVIFile Functions and Macros, AVIFile Macros