Freigeben über


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

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