NCM services: Difference between revisions
No edit summary |
IContentManager for 1.0.0 |
||
Line 98: | Line 98: | ||
! Cmd || Name || Notes | ! Cmd || Name || Notes | ||
|- | |- | ||
| 0 || | | 0 || CreatePlaceholderAndRegisteredDirectoriesForMediaId || Takes a [[Filesystem_services#StorageId|StorageID]]. | ||
|- | |- | ||
| 1 || | | 1 || CreateSaveDataDirectoryForMediaId || Takes a [[Filesystem_services#StorageId|StorageID]]. | ||
|- | |- | ||
| 2 || | | 2 || GetExistsPlaceholderAndRegisteredDirectoriesForMediaId || Takes a [[Filesystem_services#StorageId|StorageID]]. | ||
|- | |- | ||
| 3 || | | 3 || GetExistsSaveDataDirectoryForMediaId || Takes a [[Filesystem_services#StorageId|StorageID]]. | ||
|- | |- | ||
| 4 || GetIContentStorage || Takes a [[Filesystem_services#StorageId|StorageID]]. | | 4 || GetIContentStorage || Takes a [[Filesystem_services#StorageId|StorageID]]. | ||
Line 110: | Line 110: | ||
| 5 || GetIContentMetaDatabase || Takes a [[Filesystem_services#StorageId|StorageID]]. | | 5 || GetIContentMetaDatabase || Takes a [[Filesystem_services#StorageId|StorageID]]. | ||
|- | |- | ||
| | | ([[1.0.0]]) 6 || CloseAndLockIContentStorage || Takes a [[Filesystem_services#StorageId|StorageID]]. Calls IContentStorage->CloseStorage(). | ||
|- | |- | ||
| | | ([[1.0.0]]) 7 || CloseAndLockIContentMetaDatabase || Takes a [[Filesystem_services#StorageId|StorageID]]. Calls IContentMetaDatabase->CloseMetaDatabase(). | ||
|- | |- | ||
| | | 8 || DeleteSaveDataForMediaId || Takes a [[Filesystem_services#StorageId|StorageID]], and deletes the associated savedata. | ||
|- | |- | ||
| | | (2.0.0+?) 9 || MountStorageForMediaId || | ||
|- | |- | ||
| 12 || UnmountDatabaseForMediaId || | | (2.0.0+?) 10 || UnmountStorageForMediaId || | ||
|- | |||
| (2.0.0+?) 11 || MountDatabaseForMediaId || | |||
|- | |||
| (2.0.0+?) 12 || UnmountDatabaseForMediaId || | |||
|} | |} | ||
Line 246: | Line 250: | ||
| 12 || || Takes a 0x10-sized entry. Returns a u64. | | 12 || || Takes a 0x10-sized entry. Returns a u64. | ||
|- | |- | ||
| 13 || || | | 13 || CloseMetaDatabase || Closes/Flushes all resources for the meta database, and causes all future IPC commands to the current session to return error 0xDC05. | ||
|- | |- | ||
| 14 || || Takes a type-6 byte buffer, and a type-5 buffer with each entry being 16 bytes. | | 14 || || Takes a type-6 byte buffer, and a type-5 buffer with each entry being 16 bytes. |