gflGetFileInformationFromHandle

GFL SDK

gflGetFileInformationFromHandle

The gflGetFileInformationFromHandle function retrieves all informations about a picture with the use of read callback functions.

GFL_ERROR gflGetFileInformationFromHandle(
  GFL_HANDLE handle,  

GFL_INT32 index,
const GFL_LOAD_CALLBACKS * callbacks,
GFL_FILE_INFORMATION * information );

Parameters

    handle
    User handle.
    index
    Index of format. -1 for automatic recognition.
    callbacks
    Callback to access picture data.
    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