nn::fs::TryDeleteFile Function

Syntax

Result TryDeleteFile(
     const wchar_t * pathName
);

Result TryDeleteFile(
     const char * pathName
);

List of Overloaded Member Functions

TryDeleteFile ( const wchar_t * ) Deletes a file.
TryDeleteFile ( const char * ) Deletes a file.

Description of TryDeleteFile(const wchar_t *)

This function returns any error that occurs while it is deleting the file.

Which Result values need handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.

Description of TryDeleteFile(const char *)

This function returns any error that occurs while it is deleting the file.


Note: This function uses a large amount of buffer space on the stack because it converts the path name from a multibyte string into a wide string. Pay careful attention to the stack size.

Which Result values need handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.


CONFIDENTIAL