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 of 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) 
 

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

AVIFile Functions and Macros Overview, AVIFile Macros