fgi_filesize() (Fastgraph/Image)Win32 DirectX Fastgraph/Light Prototype long fgi_filesize (char *filename, int handle); Function fgi_filesize (ByVal filename As String, ByVal handle As Long) As Long function fgi_filesize (filename : string; handle : integer) : longint; Description The fgi_filesize() function returns the size in bytes of a file stored in an FGI library. If successful, fgi_filesize() leaves the FGI file pointer positioned at the start of the requested file. Parameters filename is the name of the file of interest. It may only include a file name and extension (such as PICTURE.PCX) and must be terminated by a null character (that is, a zero byte). handle is the file handle for the FGI library containing filename. Return value >0 = The size of the requested file in bytes -1 = Error reading the FGI library -2 = The requested file is not in the FGI library Restrictions none See also fgi_read(), fgi_readnext(), fgi_seek() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.