fg_aviplay()Win32 DirectX Fastgraph/Light Prototype int fg_aviplay (void *context, int frames, int flags); Function fg_aviplay (context() As Any, ByVal frames As Long, ByVal flags As Long) As Long function fg_aviplay (var context; frames, flags : integer) : integer; Description The fg_aviplay() function plays the next one or more individual frames in an AVI file that was previously opened with fg_aviopen(). Parameters context is the name of a 48-byte buffer containing the AVI file context descriptor. frames is the number of frames to play from the AVI file, starting from the current file position. flags is a series of flags that controls how the AVI is played:
Return value The number of frames played. This value may be less than the value of frames if the end-of-file is reached before playing the requested number of frames. Restrictions none See also fg_aviopen(), fg_aviskip(), fg_showavi() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.