fg_flicplay()

Win32 DirectX Fastgraph/Light

Prototype

int fg_flicplay (void *context, int frames, int flags);

Function fg_flicplay (context() As Any, ByVal frames As Long, ByVal flags As Long) As Long

function fg_flicplay (var context; frames, flags : integer) : integer;

Description

The fg_flicplay() function plays the next one or more individual frames in a flic file that was previously opened with fg_flicopen().

Parameters

context is the name of a 16-byte buffer containing the flic file context descriptor.

frames is the number of frames to play from the flic file, starting from the current file position.

flags is a series of flags that controls how the frames are played. Refer to the description of fg_showflic() for the meanings of the flags.

Return value

The number of frames played. This value may be less than frames if the end-of-file is reached before playing the requested number of frames.

Restrictions

none

See also

fg_flicopen(), fg_flicskip(), fg_showflic()

Examples

AVImake, Image

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.