fgi_avihead() (Fastgraph/Image)

Win32 DirectX Fastgraph/Light

Prototype

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

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

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

Description

The fgi_avihead() function reads the header of an AVI file stored in an FGI library.

Parameters

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

header is the name of the buffer to receive the AVI file header. Its size must be at least 56 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 AVI file

Restrictions

none

See also

fgi_avipal(), fg_aviplay(), fg_avisize(), fg_showavi()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.