gflGetFileInformation

GFL SDK

gflGetFileInformation

The gflGetFileInformation function retrieves all informations about a picture file.

GFL_ERROR gflGetFileInformation(
  const char * filename,  

GFL_INT32 index,
GFL_FILE_INFORMATION * information );

Parameters

    filename
    Pointer to a null-terminated string that contains the filename.
    index
    Index of format. -1 for automatic recognition.
    information
    Pointer to a GFL_FILE_INFORMATION structure.
    You must use gflFreeFileInformation to free his content.

Return value

    The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

See also