YedFileMan - Load
UCHAR *Load(void *pvO,SCHAR *pscFile,SINT *psiSize);
The method loads in heap memory the content of pscFile file and returns a pointer to this memory. The size of allocated buffer is put in psiSize. pvO is the instance of the object invoking the method.
WARNING: remember to free the memory after use with the 'free' system call.
The method returns a pointer to heap memory with file content, or NULL, in case of an error. The size of this memory is put in the content of the pointer psiSize.
Possible errors are: