AVIStreamFormatSize

The AVIStreamFormatSize macro determines the buffer size, in bytes, needed to store format information for a sample in a stream.

AVIStreamFormatSize(
  pavi,  
  lPos,  
  plSize 
);
 

Parameters

pavi
Handle of an open stream.
lPos
Position of a sample in the stream.
plSize
Address to contain the buffer size.

Return Values

Returns zero if successful or an error otherwise.

Remarks

The AVIStreamFormatSize macro is defined as follows:

#define AVIStreamFormatSize(pavi, lPos, plSize) \ 
    AVIStreamReadFormat(pavi, lPos, 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