AVIStreamBeginStreaming function (vfw.h)

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

Syntax

HRESULT 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 value

Returns zero if successful or an error otherwise.

Remarks

The argument pavi is a pointer to an IAVIStream interface.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib
DLL Avifil32.dll

See also

AVIFile Functions

AVIFile Functions and Macros