nn::fs::TryCreateDirectory Function

Syntax

Result TryCreateDirectory(
     const wchar_t * pathName
);

Result TryCreateDirectory(
     const char * pathName
);

List of Overloaded Member Functions

TryCreateDirectory ( const wchar_t * ) Creates a directory.
TryCreateDirectory ( const char * ) Creates a directory.

Description of TryCreateDirectory ( const wchar_t * )

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

Error handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.

Description of TryCreateDirectory ( const char * )

This function returns any error that occurs while it is creating 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.

Error handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.


CONFIDENTIAL