nn::fs::DeleteExtSaveData Function

Syntax

Result DeleteExtSaveData(
     ExtSaveDataId id
);

Parameters

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

Return Values

Returns the result of the operation.
Value Description
Result::IsSuccess Process was successful.
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.
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/03/07
Removed ResultArchiveInvalidated from Return Values based on API revision.
2011/01/05
Revised the description of ResultMediaAccessError.
2010/12/14
Added return values.
2010/11/13
Initial version.

CONFIDENTIAL