nn::fs::GetArchiveFreeBytes Function| Name | Description | |
|---|---|---|
| out | pOut | Returns the amount of free archive space. |
| in | archiveName | Specifies the archive name. |
| Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultNotFound |
The specified archive has not been mounted. You must not allow this error to occur in retail products. |
| A value other than the above. | An application bug or some other unexpected error. |
Gets the amount of free space in the archive.
This function can only be used on save data archives.
The save data region manages data with a fixed size of 512 bytes. As a result, this function's return value is always a multiple of 512 bytes. When this function returns 1024, that means you can create two files of 512 bytes. If you create one file of 513 bytes, the remaining available space goes to 0.
wchar_t* to const char*.CONFIDENTIAL