nn::fs::Directory::TryInitialize Member Function

Syntax

Result TryInitialize(
     const char * pathName
);

Arguments

Name Description
in pathName Path of the directory to open

Return Values

The result of opening the directory.

Description

Tries to open the specified directory.

Opens the directory in the specified path. This function returns an error when this object already has a directory open.

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.


CONFIDENTIAL