Solar_OS API Reference

You are here: -> Main -> File API ->


API_File_Read
API_File_Read PROC STDCALL
	ARG	@@file_handle: dword, @@read_size: dword, @@dest_buff_ptr: dword
	ARG	@@read_flags: dword, @@callback_ptr: dword


This function will try to read some bytes form a file into a destination buffer.

Arguments:

Argument Type Description
file_handle dword Handle of the open file to read from
read_size dword How many bytes to read
dest_buff_ptr dword Pointer to the destination buffer
read_flags dword flags about this read - not used for now
callback_ptr dword callback to be executed when a defered read has finished - not used for now

Returns:

Errors:

Remarks:

See Also

API_File_Get_Size