extern ReFileHandle XXX_API re_openimagefile (const char *file_title, const char *mode); extern ReFileHandle XXX_API re_wopenimagefile (const wchar_t *file_title, const char *mode);
file_title
mode
mode
can be filled as follows:r
Open file to readw
Open a file to writea
Open file to continue writing.
Handle of the file, NULL
in case of error.
ReFileHandle
is defined as void *
. With these two functions will be an image file
open. If the file is to be opened for reading, occupy mode
with "r
".
For writing occupy mode
with "w
". If the file is to be continued set
mode
with "a
".