nn::fs::GetExtSaveDataFormatInfo FunctionResult GetExtSaveDataFormatInfo( u32 * entryDirectory, u32 * entryFile, nn::fs::ExtSaveDataId id );
| Name | Description | |
|---|---|---|
| out | entryDirectory | The maximum number of directories. |
| out | entryFile | The maximum number of files. |
| in | id | Specifies the ID of the expanded save data. |
| Value | Description |
|---|---|
ResultMediaNotFound |
An SD Card could not be found or recognized. |
ResultOperationDenied |
An operation was denied. This error is returned only when recovery was performed internally. |
ResultWriteProtected |
The SD Card is write-protected. This error is returned only when recovery was performed internally. |
ResultMediaAccessError |
An error occurred while accessing the SD Card due to some cause such as a loose connection. |
ResultBadFormat |
The SD Card has an invalid format. You must format the SD Card. |
| A value other than the above. | An unexpected or fatal error occurred. |
Gets the format parameter for the extended save data region.
This function executes recovery internally if any discrepancy arises between metadata and actual data. ResultWriteProtected is returned as an error at this time if the SD Card has been write-protected. In addition, ResultOperationDenied is returned as an error if the read-only attribute has been set for the file on the SD Card.
ResultArchiveInvalidated from Return Values based on API revision.CONFIDENTIAL