AVIStreamBeginStreaming

The AVIStreamBeginStreaming function specifies the parameters used in streaming and lets a stream handler prepare for streaming.

STDAPI AVIStreamBeginStreaming(
  PAVISTREAM pavi,  
  LONG lStart,      
  LONG lEnd,        
  LONG lRate        
);

Parameters

pavi

Pointer to a stream.

lStart

Starting frame for streaming.

lEnd

Ending frame for streaming.

lRate

Speed at which the file is read relative to its natural speed.  Specify 1000 for the normal speed. Values less than 1000 indicate a slower-than-normal speed; values greater than 1000 indicate a faster-than-normal speed.

Return Values

Returns zero if successful or an error otherwise.

Remarks

The argument pavi is a pointer to an IAVIStream interface.

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.
**  Library:** Use Vfw32.lib.

See Also

AVIFile Functions and Macros, AVIFile Functions