nn::fs::TryDeleteDirectory Function

Syntax

Result TryDeleteDirectory(
     const wchar_t * pathName
);

Result TryDeleteDirectory(
     const char * pathName
);

List of Overloaded Member Functions

TryDeleteDirectory ( const wchar_t * ) Deletes a directory.
TryDeleteDirectory ( const char * ) Deletes a directory.

Description of TryDeleteDirectory ( const wchar_t * )

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

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

Description of TryDeleteDirectory ( const char * )

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


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