Solar_OS API Reference
You are here: ->
Main ->
File API ->
API_File_Get_Size PROC STDCALL
ARG file_handle:dword
This function retrives file SIZE information for a given handle.
Arguments:
Argument |
Type |
Description |
file_handle |
dword |
Handle of the file to get size information
|
Returns:
- EAX = Size of file in bytes if succesful
- EAX = -1 (0xFFFFFFFF) if an error occured
Errors:
- file handle is out of range
- file handle is closed
Remarks:
-
The maximal file size supported is 0xFFFFFFFE = 4G - 2
-
It is fair to assume that future versions will return
64bits filesize in eax:edx