fgi_flichead() (Fastgraph/Image)

Win32 DirectX Fastgraph/Light

Prototype

int fgi_flichead (char *filename, void *header, int handle);

Function fgi_flichead (ByVal filename As String, header() As Any, ByVal handle As Long) As Long

function fgi_flichead (filename : string; var header; handle : integer) : integer;

Description

The fgi_flichead() function reads the header of an FLI or FLC file stored in an FGI library.

Parameters

filename is the name of the FLI/FLC file. It may only include a file name and extension (such as MOVIE.FLI) and must be terminated by a null character (that is, a zero byte).

header is the name of the buffer to receive the FLI/FLC file header. Its size must be at least 128 bytes.

handle is the file handle for the FGI library containing filename.

Return value

0 = Success

-1 = Error reading the FGI library

-2 = The requested file is not in the FGI library

-3 = The requested file is not an FLI or FLC file

Restrictions

none

See also

fg_flicplay(), fg_flicsize(), fgi_showflic()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.