imgdb::util::DeletePicture Function

Syntax

Result DeletePicture(
     const wchar_t * pPath,
     u32 nUId
);

Parameters

Name Description
in pPath The picture path.
in nUId Unique ID of title.

Return Values

Result.

Description

Deletes a picture.

The pPath parameter specifies the path obtained by JpegSaver, MpSaver, or the Photo Selector Applet.
Operation is not supported if a different path is specified. The nUId parameter specifies the unique ID of the application title.
A picture is deleted only when this ID and the picture (which has been determined to have been taken by the application) are compared and match.
If they do not match, the function returns ResultErrorPermissionDenied and deletion fails.

When running, this function temporarily uses up to 138 KB of memory.


CONFIDENTIAL