fg_flichead()

Win32 DirectX Fastgraph/Light

Prototype

int fg_flichead (char *filename, void *header);

Function fg_flichead (ByVal filename As String, header() As Any) As Long

function fg_flichead (filename : string; var header) : integer;

Description

The fg_flichead() function reads an FLI or FLC file header into a 128-byte buffer.

Parameters

filename is the name of the FLI/FLC file, terminated by 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.

Return value

0 = Success

-1 = The specified file does not exist

-2 = The specified file is not an FLI or FLC file

Restrictions

none

See also

fg_flicplay(), fg_flicsize(), fg_showflic()

Examples

AVImake, Image

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.