Changes

Jump to navigation Jump to search
1,094 bytes added ,  23:50, 5 December 2018
add file_io
Line 128: Line 128:  
| 2 || WaitUntilVariableAvailable
 
| 2 || WaitUntilVariableAvailable
 
|}
 
|}
 +
 +
= file_io =
 +
This is "nn::tma::IFileManager".
 +
 +
This service is not normally present on retail units.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name || Notes
 +
|-
 +
| 0 || OpenFile || returns an [[#IFileAccessor]]
 +
|-
 +
| 1 || FileExists ||
 +
|-
 +
| 2 || DeleteFile ||
 +
|-
 +
| 3 || RenameFile ||
 +
|-
 +
| 4 || GetIOType ||
 +
|-
 +
| 5 || OpenDirectory ||
 +
|-
 +
| 6 || DirectoryExists || returns an [[#IDirectoryAccessor]]
 +
|-
 +
| 7 || CreateDirectory ||
 +
|-
 +
| 8 || DeleteDirectory||
 +
|-
 +
| 9 || RenameDirectory ||
 +
|-
 +
| 10 || CreateFile  ||
 +
|-
 +
| 11 || GetFileTimeStamp ||
 +
|-
 +
| 12 || GetCaseSensitivePath ||
 +
|}
 +
 +
== IFileAccessor ==
 +
This is "nn::tma::IFileAccessor".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || ReadFile
 +
|-
 +
| 1 || WriteFile
 +
|-
 +
| 2 || GetFileSize
 +
|-
 +
| 3 || SetFileSize
 +
|-
 +
| 4 || FlushFile
 +
|-
 +
| 5 || SetPriorityForFile
 +
|-
 +
| 6 || GetPriorityForFile
 +
|}
 +
 +
== IDirectoryAccessor ==
 +
This is "nn::tma::IDirectoryAccessor".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || GetEntryCount
 +
|-
 +
| 1 || ReadDirectory
 +
|-
 +
| 2 || SetPriorityForDirectory
 +
|-
 +
| 3 || GetPriorityForDirectory
 +
|}
 +
    
[[Category:Services]]
 
[[Category:Services]]

Navigation menu