fg_aviskip()

Win32 DirectX Fastgraph/Light

Prototype

int fg_aviskip (void *context, int frames);

Function fg_aviskip (context() As Any, ByVal frames As Long) As Long

function fg_aviskip (var context; frames : integer) : integer;

Description

The fg_aviskip() function advances one or more 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 skip in the AVI file, starting from the current file position. If frames is negative, the AVI file position will be set to the first frame.

Return value

The number of frames skipped. This value may be less than the value of frames if the end-of-file is reached before skipping the requested number of frames. If frames is negative, the return value will be zero.

Restrictions

none

See also

fg_aviopen(), fg_aviplay()

Examples

Image

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.