fg_avihead()

Win32 DirectX Fastgraph/Light

Prototype

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

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

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

Description

The fg_avihead() function reads an AVI file header into a 56-byte buffer.

Parameters

filename is the name of the AVI file. It may include a path specification and must be terminated by a zero byte.

header is the name of the buffer to receive the AVI file header. Its size must be at least 56 bytes.

Return value

0 = Success

-1 = The specified file does not exist

-2 = The specified file is not an AVI file

Restrictions

none

See also

fg_avipal(), fg_aviplay(), fg_avisize(), fg_showavi()

Examples

Image

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.