nn::fs::DeleteExtSaveData Function

Syntax

Result DeleteExtSaveData(
ExtSaveDataId id
);

Arguments

Name Description
in id Specifies the ID of the expanded save data to delete.

Return Values

Returns the result of the operation.
Value Description
Success. Process was successful. The return value's IsSuccess function returns true in this state.
ResultNotFound Expanded save data not found. Create it by calling the CreateExtSaveData function. Confirm that ExtSaveData is correct during development.
ResultMediaNotFound An SD Card could not be found or recognized.
ResultArchiveInvalidated The SD Card may have been removed while data was being deleted.
ResultOperationDenied The operation failed before it could finish because the specified expanded save data is currently being mounted.
ResultWriteProtected The SD Card is write-protected.
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 application bug or some other unexpected error.

Description

Deletes expanded save data.

Include the expanded save data ID (specified in the RSF file) as an argument.

Revision History

2011/01/05
Revised the description of ResultMediaAccessError.
2010/12/14
Added return values.
2010/11/13
Initial version.