Subversion Repositories Kolibri OS

Rev

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

Rev 6402 Rev 6427
Line 4119... Line 4119...
4119
  * eax = 70 - function number
4119
  * eax = 70 - function number
4120
  * ebx = pointer to the information structure
4120
  * ebx = pointer to the information structure
4121
Format of the information structure:
4121
Format of the information structure:
4122
  * +0: dword: 5 = subfunction number
4122
  * +0: dword: 5 = subfunction number
4123
  * +4: dword: 0 (reserved)
4123
  * +4: dword: 0 (reserved)
4124
  * +8: dword: 0 (reserved)
4124
  * +8: dword: 0 or flags (for the root folder)
4125
  * +12 = +0xC: dword: 0 (reserved)
4125
  * +12 = +0xC: dword: 0 (reserved)
4126
  * +16 = +0x10: dword: pointer to buffer for data (40 bytes)
4126
  * +16 = +0x10: dword: pointer to buffer for data (40 bytes)
4127
  * +20 = +0x14: ASCIIZ-name of file, the rules of names forming are
4127
  * +20 = +0x14: ASCIIZ-name of file, the rules of names forming are
4128
    given in the general description
4128
    given in the general description
4129
    or
4129
    or
Line 4131... Line 4131...
4131
  * +21 = +0x15: dd pointer to ASCIIZ-string with file name
4131
  * +21 = +0x15: dd pointer to ASCIIZ-string with file name
4132
Returned value:
4132
Returned value:
4133
  * eax = 0 - success, otherwise file system error code
4133
  * eax = 0 - success, otherwise file system error code
4134
  * ebx destroyed
4134
  * ebx destroyed
4135
Information on file is returned in the BDFE format (block of data
4135
Information on file is returned in the BDFE format (block of data
4136
for folder entry), explained in the description of
4136
for folder entry), explained in the description of subfunction 1,
4137
subfunction 1, but without filename
4137
but without filename, except the root folder.
4138
(i.e. only first 40 = 0x28 bytes).
-
 
4139
Remarks:
4138
Remarks:
-
 
4139
  * For the root folder returns size and name of partition.
4140
  * The function does not support virtual folders such as /, /rd and
4140
  * The function does not support virtual folders such as / and /rd.
4141
    root folders like /rd/1.
-
 
Line 4142... Line 4141...
4142
 
4141
 
4143
---------------------- Constants for registers: ----------------------
4142
---------------------- Constants for registers: ----------------------
4144
  eax - SF_FILE (70)
4143
  eax - SF_FILE (70)
4145
 [ebx] - SSF_GET_INFO (5)
4144
 [ebx] - SSF_GET_INFO (5)