Can anyone show me a example how to use these functions
ERR_CODE GpFileOpen (const char * p_file_name, ulong fopen_mode, F_HANDLE *p_handle);
ERR_CODE GpFileRead (F_HANDLE h_file, void * p_buf, ulong buf_size, ulong * p_read_count);
is it like this:
F_HANDLE myhandle;
GpFileOpen('filename', OPEN_R, myhandle);
GpFileRead(myhandle, &buffer, 360*240,
but what is p_read_count for?
ERR_CODE GpFileOpen (const char * p_file_name, ulong fopen_mode, F_HANDLE *p_handle);
ERR_CODE GpFileRead (F_HANDLE h_file, void * p_buf, ulong buf_size, ulong * p_read_count);
is it like this:
F_HANDLE myhandle;
GpFileOpen('filename', OPEN_R, myhandle);
GpFileRead(myhandle, &buffer, 360*240,
but what is p_read_count for?