Subversion Repositories Kolibri OS

Rev

Rev 6876 | Rev 6891 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6876 Rev 6880
Line 3984... Line 3984...
3984
  * +12 = +0xC: dword: number of bytes to read
3984
  * +12 = +0xC: dword: number of bytes to read
3985
  * +16 = +0x10: dword: pointer to buffer for data
3985
  * +16 = +0x10: dword: pointer to buffer for data
3986
  * +20 = +0x14: path, general rules of names forming
3986
  * +20 = +0x14: path, general rules of names forming
3987
Returned value:
3987
Returned value:
3988
  * eax = 0 - success, otherwise file system error code
3988
  * eax = 0 - success, otherwise file system error code
3989
  * ebx = number of read bytes or -1=0xffffffff if file was not found
3989
  * ebx = number of bytes read
3990
Remarks:
3990
Remarks:
3991
  * If file was ended before last requested block was read,
3991
  * If file was ended before last requested block was read,
3992
    the function will read as many as it can, and after that return
3992
    the function will read as many as it can, and after that return
3993
    eax=6 (EOF).
3993
    eax=6 (EOF).
3994
  * The function does not allow to read folder (returns eax=10,
3994
  * The function does not allow to read folder (returns eax=10,
Line 4014... Line 4014...
4014
  * +12 = +0xC: dword: number of blocks to read
4014
  * +12 = +0xC: dword: number of blocks to read
4015
  * +16 = +0x10: dword: pointer to buffer for data
4015
  * +16 = +0x10: dword: pointer to buffer for data
4016
  * +20 = +0x14: path, general rules of names forming
4016
  * +20 = +0x14: path, general rules of names forming
4017
Returned value:
4017
Returned value:
4018
  * eax = 0 - success, otherwise file system error code
4018
  * eax = 0 - success, otherwise file system error code
4019
  * ebx = number of files, information on which was written to
4019
  * ebx = number of file information blocks, written to the buffer
4020
    the buffer, or -1=0xffffffff, if folder was not found
-
 
4021
Structure of the buffer:
4020
Structure of the buffer:
4022
  * header (32 bytes)
4021
  * header (32 bytes)
4023
  * block with information on file 1
4022
  * block with information on file 1
4024
  * block with information on file 2
4023
  * block with information on file 2
4025
  * ...
4024
  * ...