Filesystem services: Difference between revisions
No edit summary |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 540: | Line 540: | ||
Takes a [[#ContentStorageId]]. Invalid values return 0x2EE202. | Takes a [[#ContentStorageId]]. Invalid values return 0x2EE202. | ||
Returns an [[#IFileSystem]] with NCA files. The read data from these files is identical to the data read by [[ | Returns an [[#IFileSystem]] with NCA files. The read data from these files is identical to the data read by [[NCM_services#ReadContentIdFile]]. | ||
== OpenDataStorageByDataId == | == OpenDataStorageByDataId == | ||
Line 861: | Line 861: | ||
| 0 || GetEventHandle | | 0 || GetEventHandle | ||
|} | |} | ||
= ISaveDataTransferManager = | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || [[#GetChallenge]] | |||
|- | |||
| 16 || [[#SetToken]] | |||
|- | |||
| 32 || [[#OpenSaveDataExporter]] | |||
|- | |||
| 64 || [[#OpenSaveDataImporter]] | |||
|} | |||
This was added with [[4.0.0]]. | |||
== GetChallenge == | |||
No input/output, takes a type-0x6 output buffer. | |||
== SetToken == | |||
No input/output, takes a type-0x5 input buffer. | |||
== OpenSaveDataExporter == | |||
Takes an input u8 [[#SaveDataSpaceId]] and u64, returns an [[#ISaveDataExporter]]. | |||
== OpenSaveDataImporter == | |||
Takes an input u8 [[#SaveDataSpaceId]] and a 0x10-byte userID, and a type-0x5 input buffer. Returns an output u64 and an [[#ISaveDataImporter]]. | |||
= ISaveDataTransferManagerWithDivision = | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || ? (No input/output, takes a type-0x6 output buffer) | |||
|- | |||
| 16 || ? (No input/output, takes a type-0x5 input buffer) | |||
|- | |||
| 32 || ? (Takes a total of 0x10-bytes of input, returns an unknown output interface) | |||
|- | |||
| 33 || ? (Takes a total of 0x10-bytes of input and a type-0x5 input buffer, returns an unknown output interface) | |||
|- | |||
| 34 || [6.0.0+] ? (No input/output, takes a type-0x5 input buffer, returns an unknown output interface) | |||
|- | |||
| 64 || ? (Takes a total of 0x18-bytes of input and a type-0x5 input buffer, returns an unknown output interface) | |||
|- | |||
| 65 || ? (Takes a total of 0x10-bytes of input and a type-0x5 input buffer, returns an unknown output interface) | |||
|- | |||
| 66 || [6.0.0+] ? (Takes a total of 0x10-bytes of input and a type-0x5 input buffer, returns an unknown output interface) | |||
|- | |||
| 67 || [6.0.0+] ? (Takes a total of 0x18-bytes of input and a type-0x5 input buffer, returns an unknown output interface) | |||
|- | |||
| 68 || [6.0.0+] ? (No input/output, takes a type-0x5 input buffer, returns an unknown output interface) | |||
|- | |||
| 69 || [6.0.0+] ? (Takes a total of 0x18-bytes of input, no output) | |||
|} | |||
This was added with [[5.0.0]]. | |||
Cmd32-34 return the same interface. Cmd64-69 return the same interface. | |||
= ISaveDataTransferProhibiter = | = ISaveDataTransferProhibiter = |